help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Re: Time outs


From: Andrew Makhorin
Subject: [Help-glpk] Re: Time outs
Date: Mon, 13 Sep 2004 20:48:25 +0400

>Are there any possibilities to set time outs for MIP computations with GLPK,
>i.e. "try to solve optimally, but return after at most 30s with the best you
>have got"?

The solution time can be limited either on API level:

   lpx_set_real_parm(lp, LPX_K_TMLIM, time-limit-in-seconds);

or by specifying the option '--tmlim':

   glpsol ... --tmlim time-limit-in-seconds

For more details see the reference manual.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]