[Cbc] setHotstartSolution

pedro cunha cunhapedro at yahoo.com
Thu Oct 16 12:35:09 EDT 2008


I'm trying to use the method setHotstartSolution (CbcModel class) to pass a MIP start solution to Cbc. Am I doing something wrong?

...
CbcModel model(*lp->lp);
model.solver()->setHintParam(OsiDoReducePrint, true, OsiHintTry);
model.initialSolve();
model.solver()->setIntParam(OsiMaxNumIterationHotStart,100);
model.setHotstartSolution(heurSolCols, NULL);
...

Thanks,
Pedro.


      


More information about the Cbc mailing list