Originally posted by: clemsonmacrone
Hello I am trying to write two different programs each using a unique branch
and bound technique to solve an integer program.
First program, I need to be able to set multiple variables to zero.(I am
using boolean variables)
Second program, I need to be able to add a new constraint to the relaxed lp
such that a specified sum of a specific set of variables is less than or equal to zero
(greater than or equal to 1 for second branch).
From the Iloadmipex1.cpp example they used
makeBranch(vars
bestj, x
bestj, IloCplex::BranchUp, getObjValue());
makeBranch(vars
bestj, x
bestj, IloCplex::BranchDown, getObjValue());
but his only shows how to add a constraint that branches a single variable up
or down.
Any help would be greatly appreciated!
thanks
Cam
#DecisionOptimization#MathematicalProgramming-General