Originally posted by: alfablac
I need to code a product of two sum in my problem.
The minimization function is
I'm doing like this:
IloExpr obj(env);
IloExpr obj_part(env);
for(int T = 0 ; T < 2; T++) {
for(int i = 0 ; i < n; i++) {
for(int j = 0 ; j < n; j++) {
for(int K = 0 ; K < k; K++) {
obj_part += x[T][k][i][j];
}
obj += c[T][i][j]*obj_part;
}
}
}
but CPLEX 12.4 (concert library) is stop working right in it.
thanks in advace. Any help is appreciated
#CPLEXOptimizers#DecisionOptimization