Originally posted by: SystemAdmin
[carali said:]
hello,everyone
I have a question,Thank you for your suggestion!
I define a variable X as follows
TwoDVarMatrix X(env,nbNodes);
for(i = 0; i < nbNodes; i++)<br /> {
X[i]=IloNumVarArray(env,nbNodes,0,1, ILOINT);
}
but the solution X[3][2]=-0,why ?Is the solution right? How to avoid this?Thank you very much!
#CPLEXOptimizers#DecisionOptimization