[Cbc] Incumbent solution
Stefan Vigerske
stefan at math.hu-berlin.de
Mon Jul 14 09:53:21 EDT 2008
Hi,
> There are two functions by that name. One of them requires "CBC_Message how" as
> a first parameter. Do you know which one should be used?
It's the other one. I call it as
model.setBestSolution(point, ncols, objval, true);
where point is a double array of values, ncols is the number of columns,
and objval is the value of the objective function in this point.
> I actually tried to use them in the following manner:
>
> OsiCbcSolverInterface test;
> //....
> test.getModelPtr()->setBestSolution(...);
>
> with very strange outcomes.
What are strange outcomes?
> Would setBestObjectiveValue() achieve similar effects in terms of B&B node
> pruning behavior?
I would think so.
Stefan
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Cbc
mailing list