Export to GitHub

lagrange - issue #5

Convergence Error


Posted on Dec 15, 2011 by Swift Wombat

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

Comment #1

Posted on Jan 3, 2012 by Massive Lion

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)

Comment #2

Posted on Oct 2, 2014 by Happy Dog

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

Status: New

Labels:
Type-Defect Priority-Medium