Commits

Yiliang Xiong committed f41eb54

create scripts to run solvers

Comments (0)

Files changed (5)

dispatching.run

-model dispatching.mod
-data toy.dat
-
-show;
-display I;
-display E;
-display A;
-display tracktype;
-display trackleng;
-display trainspeed;
-display termtime;
-
-option solver "C:\AMPLcml\gurobi_ampl.exe";
-solve;
-
-display x;
-display y;
-display a;
-display d;
-display early, late;
-display solve_message;
-display total_cost;
+model dispatching.mod
+data toy.dat
+
+show;
+display I;
+display E;
+display A;
+display tracktype;
+display trackleng;
+display trainspeed;
+display termtime;
+
+option solver "C:\AMPLcml\gurobi_ampl.exe";
+solve;
+
+display x;
+display y;
+display a;
+display d;
+display early, late;
+display solve_message;
+display total_cost;
+
+show;
+display I;
+display E;
+display A;
+display tracktype;
+display trackleng;
+display trainspeed;
+display termtime;
+
+solve;
+
+display x;
+display y;
+display a;
+display d;
+display early, late;
+display solve_message;
+display total_cost;
+glpsol -m dispatching.mod -d toy.dat -o toy.sol
+wine ampl gurobi.run