Originally posted by: viva0521
Hi, there,
Just curious that how can I output the optimal solutions to an external data file on linux platform.
What I include in my mod file is execute command like:
execute DISPLAY {
writeln("\n<from node, to node, , o, d, flow[i][j][o][d]>\n");
for(i in Node)for(j in Node)for(o in Ori)for( d in Dest)
if(flow[i][j][o][d] > 0)
writeln("<",i,",",j,",",o,",",d,",",flow[i][j][o][d],">");
}
From this I can only copy and paste the solutions from the screen. I am wondering is there any way I can output these solutions to a dat file automatically? Thanks in advance!
#DecisionOptimization#OPLusingCPLEXOptimizer