Originally posted by: SystemAdmin
[leo said:]
[quote author=Sylvain link=topic=410.msg1184#msg1184 date=1216229163]
I think the branch callback will always be called but cplex will not create any subproblem if the current solution is integer.
If you try to use the function getNbranches() in the branch callback, you will see that no branches will be created.
I also think that no branches will be created even though the integer solution is rejected...
Do you make sure that the branch callback is always called ?
I control the branching in the branch callback. When an infeasible integer solution, I wll add a constraints in the branch callback.
If the branch callback is still called when I accept a feasible integer solution, I have to control the branching in the branch callback. I have to tell CPLEX not to branch. Do you think so?
Thanks.
Leo
#CPLEXOptimizers#DecisionOptimization