[Coin-lpsolver] Initializing Clp to a known solution

Jean-Sebastien Roy js at jeannot.org
Wed Aug 4 18:10:27 EDT 2004


Hi !

I set up a problem for Clp for which I know an optimum solution, and I 
would like to initialize Clp so that doing initialSolve() (or resolve()) 
will not change the solution from the one I know.

(I do this to generate cutting planes that cut off this particular solution)

I specified my solution using setColSolution() and tried for a few days 
to use setBasis() and setRowPrice() to set up a "reasonnable" basis, but 
did not succeed (it works in most case but not all : in a few cases Clp 
moves to another optimal solution).

Is there a simple solution to make Clp accept a known solution and not 
move away from it ?

Thank you very much in advance !

Regards,

Jean-Sébastien




More information about the Clp mailing list