Originally posted by: BirolYuceoglu
Hello,
I am writing a branch-and-cut algorithm using Cplex 12.2. I have several classes of valid inequalities that I want to use. However, when I add them to the model only one of them works. I add constraints as follows (I am not sure if it is the correct way) and I know they are working:
IloExpr cutLhs(env);
cutLhs += x[i][j];
......
add(cutLhs <= lhs).end();
cutLhs.end();
However, in the main body when I add the separators only the last one is called (in this case Separator2):
cplex.use(Separator1...);
cplex.use(Separator2...);
I am a beginner in Cplex, I tried to search the forum but could not find any similar issues.
Thanks and regards,
Birol.
#CPLEXOptimizers#DecisionOptimization