-
Notifications
You must be signed in to change notification settings - Fork 280
Description
Hi everyone,
so I might be missing something, but it seems to me as if the interface is lacking functionality to make use of addConsNode.
To implement some custom branching rules I want to use makeChild and addConsNode. The later expects a constraint as a Constraint object as input (next to a node to add the constraint to). But I can not wrap my head around how to transform my constraint of type ExprCons into a constraint. I tried adding it to the model via addCons, but this lead to problems, as I don't want the constraint to be part of the model in general, but just stick to one child (and it's children).
I might be misunderstanding something as my SCIP knowledge is fairly limited, but the constraint handlers make use of the createCons method, to generate special constraints. Do the branching rules need something similar, or am I doing something wrong?
I appreciate any help and/or comment.