[Cbc] Incumbent solution
Stefan Vigerske
stefan at math.hu-berlin.de
Mon Jul 14 05:01:12 EDT 2008
Hi,
> Right now I use CBC via OSI and would like to pass an incumbent solution to the
> B&B (a single solution vector at the start of the run).
> Does anyone know of an easy and tested way to do it? Do I need to go through
> CbcModel & setBestSolution() or definition of a new heuristic, etc?
I think going through CbcModel is the easiest solution.
John recently added another function CbcModel::setBestSolution(...)
which you can give a primal solution and then it checks whether it is
feasible and keeps it if so.
Stefan
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Cbc
mailing list