Originally posted by: SystemAdmin
[Sylvain said:]
I noticed a strange behaviour in my program while developping a specific MIP Branching Callback to solve my problem with Cplex.
Indeed, when I get the bounds of a variable in the callback using getUB() and getLB(), I sometimes get 0 for the upperbound and 1 for the lower bound for a binary variable (Always the same).
It only happen after the binary variable has been fixed in a previous node. So, one of the bounds is inconsistent.
The continuous relaxation is solved previously to this callback with no problems (it is found feasible).
I noticed that this strange behaviour disappears if I don't create any branch (method makeBranch()) in the callback.
Does anyone have any idea that could help me understand what is wrong here ?
PS: I also noticed that indicator constraints do not work properly when I am using this callback. Probably because of this inconsistent bounds...
#CPLEXOptimizers#DecisionOptimization