To speed up the operations, you may put the commands into a file, and run them all automatically by typing include and the filename. The following is an example batch file (routing.run):
reset;
model network.mod;
data network.dat;
option solver cplex;
solve;
display N;
display x;
So you run the optimization in AMPL command line:
ampl: include routing.run;
No comments:
Post a Comment