[Cbc] Is there a "command-line" timelimit option?
David Ibarra Gómez
dibarra21 at hotmail.com
Wed Feb 24 01:47:47 EST 2016
Hello Charles,
I do use:
" -sec"
it works perfectly.
Example:
/home/cbc/Cbc-2.8.8/build/bin/cbc problem.mps -sec 300 solve -solution solution_file.txt > stdout_file.txt
Kind regards
> Date: Wed, 24 Feb 2016 10:26:17 +0530
> From: amahajan at iitb.ac.in
> To: Cbc at list.coin-or.org
> Subject: Re: [Cbc] Is there a "command-line" timelimit option?
>
> 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
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20160224/cfa38d5a/attachment.html>
More information about the Cbc
mailing list