-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.run
39 lines (31 loc) · 844 Bytes
/
run.run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
model "Mod.mod";
data "Dados01.dat";
option solver cplex;
option display solver_msg ;
printf" \n#### Dados 01 ####\n";
printf" ## Fase 1 \n\n";
display Ti;
problem prob1:Cmax,X,Y,L2,FO,r1,r2,r3,r4,r5,r6,r7,r8;
solve prob1;
printf"\n ## Fase 2\n";
problem prob2:C,Cp,At,X,Y,L2,FO2,r1,r2,r3,r4,r5,r6,r7,r9,r10,r11;
solve prob2;
display Cp,C,At;
printf"## Heuristica construtiva";
model "hg.mod";
reset;
model "Mod.mod";
data "Dados02.dat";
option solver cplex;
option display solver_msg ;
printf" \n#### Dados 02 ####\n";
printf" ## Fase 1\n";
display Ti;
problem prob1:Cmax,X,Y,L2,FO,r1,r2,r3,r4,r5,r6,r7,r8;
solve prob1;
printf"\n ## Fase 2 \n\n";
problem prob2:C,Cp,At,X,Y,L2,FO2,r1,r2,r3,r4,r5,r6,r7,r9,r10,r11;
solve prob2;
display Cp,C,At;
printf"## Heuristica construtiva";
model "hg.mod";