[Cbc] CBC warm start
John Forrest
john.forrest at fastercoin.com
Tue Sep 1 11:29:12 EDT 2015
Babak,
Rather a broad question as you give no clue how A and B are related.
What do you mean by setWarmstart? Nothing of that name exists.
setHotStartSolution might help - the idea is that it tries to branch
towards a given solution, but gives up when infeasible - but may be
close to a solution.
John Forrest
On 01/09/15 03:00, Babak Moazzez wrote:
> Hi
>
> I am trying to do warm start for MILP problems:
>
> I solve model A, and save solution. I want to use that solution for
> model B, but model B has extra variables and constraints. Is it
> possible to use A's solution for B? If so, which method?
>
> setMIPStart and setWarmStart don't work, the only thing that works is
>
> model.setBestSolution(sol,n,obj,true);
>
> but I don't know how to do that when B has extra variables!
>
> Thanks
>
> Babak Moazzez
>
>
>
> _______________________________________________
> 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/20150901/593b6194/attachment.html>
More information about the Cbc
mailing list