google-code-export / lagrange

Automatically exported from code.google.com/p/lagrange
1 stars 0 forks source link

Convergence Error #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!

I am getting the follow error after run Lagrange. 

Optimization terminated successfully.
         Current function value: 100000000000.000000
         Iterations: 39
         Function evaluations: 975

Traceback (most recent call last):
  File "C:\Users\Mimi\Desktop\Software\Lagrange-20110117\121011_AVES_Lagrange.lagrange.py", line 1378, in <module>
    d, e = lagrange.output.optimize_dispersal_extinction(outfile, tree, model, tee=True)
  File "C:\Users\Mimi\Desktop\Software\Lagrange-20110117\lagrange\output.py", line 127, in optimize_dispersal_extinction
    d, e, nlnL = optimize.optimize_de(tree, model)
  File "C:\Users\Mimi\Desktop\Software\Lagrange-20110117\lagrange\optimize.py", line 81, in optimize_de
    raise Exception("ConvergenceError")
Exception: ConvergenceError
>>> 

I used the web-based configuration tool and run the analysis in Python 2.7 in a 
Win7 computer. 

Some ideas how I can remove this error?

Thanks!

Anyi

Original issue reported on code.google.com by bioanyim...@gmail.com on 15 Dec 2011 at 2:54

GoogleCodeExporter commented 9 years ago
Hi Anyi,

I had the same error message and it might be that when setting up your maximum 
ranges and dispersal possibilities you have been too restrictive and Lagrange 
can;t find a model that will allow your clades to have their current 
distribution.  You might want to try using less restrictive ranges and/or 
dispersal paths.

Good Luck

Mike (michael.schwarz@flinders.edu.au)

Original comment by michael....@flinders.edu.au on 3 Jan 2012 at 10:57

GoogleCodeExporter commented 9 years ago
Hello,

I got the same error after running Lagrange for 3 times (with different 
pruned-unpruned trees). And I did not use any range or dispersal constraints. 

Does anyone have any idea/ sugesstions about it?

Thanks a lot,

Deniz

Original comment by DenizAyg...@gmail.com on 2 Oct 2014 at 5:10