Skip to content

User Warning while running GADMA #109

@spilornis-ng

Description

@spilornis-ng

Hi Ekaterina,

I am trying to run GADMA to infer demographic history for 2 populations based on radseq data. While running, I am getting several warnings, and one of them is the following

UserWarning: Failed to optimise: message: The maximum number of function evaluations is exceeded.
success: False
status: 0
fun: 1114677814749395.8
x: [ 5.521e+07 4.338e+07 6.699e+07]
nit: 1000
nfev: 1031
njev: 3969
nhev: 0
cg_niter: 1010
cg_stop_cond: 2
grad: [ 4.928e+04 -9.446e+07 9.441e+07]
lagrangian_grad: [ 4.928e+04 -2.464e+04 -2.464e+04]
constr: [array([ 2.361e+07]), array([ 5.521e+07, 4.338e+07, 6.699e+07])]
jac: [array([[ 0.000e+00, -1.000e+00, 1.000e+00]]), array([[ 1.000e+00, 0.000e+00, 0.000e+00],
[ 0.000e+00, 1.000e+00, 0.000e+00],
[ 0.000e+00, 0.000e+00, 1.000e+00]])]
constr_nfev: [0, 0]
constr_njev: [0, 0]
constr_nhev: [0, 0]
v: [array([-9.443e+07]), array([ 8.172e-10, 4.685e-10, 6.680e-09])]
method: tr_interior_point
optimality: 49283.00610715232
constr_violation: 0.0
execution_time: 2.3059918880462646
tr_radius: 0.006561028271562303
constr_penalty: 6.097705629027081e+17
barrier_parameter: 0.020000000000000004
barrier_tolerance: 0.020000000000000004
niter: 1000

I am using demes engine to plot the model. I was wondering if you could help me out regarding this.

Best,
Naman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions