Open samiit opened 7 years ago
Hello, I have the same use case. Have you found out where in the code we could tweak something to make it work?
I had a quick look. It's a bit of a project, but doable. I don't think I'll get to it very soon, unfortunately. It looks like you would basically need to extend the interface to CbcModel
, modifying the files cy/CyCbcModel*
and cpp/ICbcModel*
, but I'm not actually an expert on Cython. Thiere is a function in the Cbc C interface that illustrates how to load a solution into Cbc pretty straightforwardly.
I was wondering if it is possible to ask CBC to use a constraint satisfied solution as the initial integer solution, instead of starting from the continuous (relaxed) solution.
Does CyLP offer anything for doing this? Where in CBC code can we access change in order to implement this?
Thanks, Sam