[Cbc] CbcMain1 returns bogus result when it cannot improve on setBestSolution

Jack Vreeken jack at vreeken.me
Tue Jun 11 07:01:14 EDT 2019


I noticed that option as well, but I'm not sure how to use it when I don't have any names whatsoever. I currently construct an OsiClpSolverInterface model, followed by a loadProblem() call passing a bunch of numeric arrays (followed by a loop of .setInteger() to set some variables to be discrete). 

1. How is setMIPStart() different setBestSolution(). Is it faster or smarter?
2. If it's somehow better, I guess I could call .setColumnName() with some string for all my integer columns, followed by a setMIPStart() call. It would still be nice to have a non-string alternative to setMIPStart() though, where one can just pass to column index as an integer.


More information about the Cbc mailing list