[Cbc] Documentation; Warmstart; Timelimit

Mona Rahn mona.rahn at gmail.com
Fri Nov 6 08:45:31 EST 2015


Hi!

I have three questions:

1) I am pretty new in using CBC with C++. Do you have a tip on a good way
to start, i.e. a documentation / tutorial / handbook for beginners? Most of
the stuff I found online was aimed at a much higher level of knowledge. The
documentation link that can be found on the COIN-OR website (
https://projects.coin-or.org/Cbc at the bottom) doesn't work.

2) I have an minimization LP that I resolve several times with different
objectives. That is, I solve it, upper bound the unique variable appearing
in my first objective function to the calculated value, and set another
variable as my objective.
Now, my question is: The solver appears to start from scratch every time I
call it, but I would like to keep the old solution and start from there. Is
there a way to do this? I have seen the warm start in
OsiCbcSolverinterface, but I am not sure how to use it.

3) I would like to have set a time limit that only stops the program if
there is already a solution found (which isn't necessarily optimal), but
not if it is still searching for a solution. The only time limit I have
found is CbcModel::setMaximumSeconds, but this stops the program no matter
what. Do you have a solution for this?

Thanks a lot in advance.

Kind regards,
Mona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20151106/fc0e64cd/attachment.html>


More information about the Cbc mailing list