Originally posted by: Bahman
Hi there,
In one of the models I am working on, I have defined a binary decision variable: dvar boolean X[<i,j> in Arcs][k in K][t in T].
What I want to do is that for each k in K such that X[a in Arcs][k][t in T] == 1, all of the arcs, a, to be displayed. so I have used an execute block as postprocessing as follows:
execute PathPerOD {
for(var k in K) {
for(var a in Arcs) {
for(var t in T) {
if(X[a][k][t]==1) {
write(a," ");
}
}
}
}
writeln();
}
but, it does not show anything!
Does anyone have any idea what the problem could be!
Regards,
Bahman
#CPLEXOptimizers#DecisionOptimization