Using C++, I have two sets of binary decision variables, y[i] and x[i][j]:
IloNumVarArray y = CreateNumVarArray(env, int1, "y", 0, 1, ILOINT);
NumVarMatrix x(env, int1);
for (IloInt i = 0; i < int1; ++s) {
x[i] = IloNumVarArray(env, int2, 0, 1, ILOINT);
}
When branching, I want y[i] variables to be branched first.
I looked for "strong branching" related topics in CPLEX Parameters Reference Manual, but could not find anything useful.
You can rely on priorities within cplex.
See OPL example https://github.com/AlexFleischerParis/zooopl/blob/master/zoopriorities.mod
You can do the same with all CPLEX apis