> when I do
> lpx_set_real_parm(model, LPX_K_TMLIM, 1e+9);

> and call some solve routine, then it ends with:
> glp_simplex: tm_lim = -2147483648; invalid parameter

> So probably the timelimit is somewhere inside GLPK converted to an 
> integer without checking whether this is possible.
> Maybe GLPK could just set the timelimit to -1 if the double number is
> too big to be converted to an integer.

Thank you for the bug report.

In fact, glp_simplex (which replaces lpx_simplex) has a local set
of control parameters, where the time limit is measured in milliseconds
and has the type int. The parameter LPX_K_TMLIM is kept for backward
compatibility.



_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to