Re: [AMPL 24423] AmplNLWriter and BonminNLSolver - option for time limit is not working!

I use bonmin 1.8.8 through AMPL

This works for me:

model mymodel.mod;
data mymodel.dat;
option solver bonmin;
option bonmin_options ‘bonmin.time_limit 10.0’;
solve;

OUTPUT:

NLP0014I 2 OPT -14051.571 5 0.011158
NLP0014I 3 OPT -14051.607 5 0.011182
Cbc0020I Exiting on maximum time
Cbc0005I Partial search - best objective -14050.046 (best possible -14051.778), took 0 iterations and 0 nodes (1.83 seconds)
Cbc0032I Strong branching done 1 times (10 iterations), fathomed 0 nodes and fixed 0 variables
Cbc0035I Maximum depth 0, 0 variables fixed on reduced cost

“Not finished”

bonmin: Optimization interrupted on limit.

Hope it helps
Regards,
David