[Cbc] Is there a "command-line" timelimit option?
Ashutosh Mahajan
amahajan at iitb.ac.in
Tue Feb 23 23:56:17 EST 2016
Hi Charles
The command line option for setting a time limit is -seconds.
You may see options of cbc by doing "cbc -?" in a terminal. Get help about
specific options by typing.
cbc -seconds??? -quit
Hope it helps.
--
Regards
Ashutosh Mahajan
http://www.ieor.iitb.ac.in/amahajan
On Tue, Feb 23, 2016 at 02:59:31PM -0500, Charles Lindsay wrote:
> I use Pyomo to interface to Cbc, and I believe it uses a command-line
> invocation of Cbc.
> For some LP solvers you can pass a "--solver-options <option-name>=<option
> value>"
> Is there such an option for Cbc? I believe there is an API option
> (CbcModel::setMaximumSeconds).
>
> I am interested in getting the "best solution up to that point in time".
>
> I believe the equivalent for GLPK is "--solver-options tmlim=300"
>
> Thanks.
>
> C.
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
More information about the Cbc
mailing list