[Cbc] How to decide with variable to branch ?

Haroldo Gambini Santos haroldo.santos at gmail.com
Tue Dec 20 14:06:16 EST 2011


Dear All,

I would like to insert a code in my solver (built using cbc) to decide 
which variable to branch and the direction.

What should I do ? Write a callback ? To specialize some class ?

Tried to create a class derived from
CbcBranchDecision, override the method  bestBranch  and call 
cbcModel->cbcBranchingMethod for this class but apparently this method 
was not even called (put a printf inside to check).

Regards,

Haroldo




More information about the Cbc mailing list