-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.txt
67 lines (59 loc) · 1.59 KB
/
run.txt
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
param pop;
param opo;
param tempo_gasto;
model "fases.txt";
data "Dados1.txt";
#data "Dados2.txt";
option solver cplex;
option display solver_msg ;
printf"Fase 1 dados 1\n\n";
let pop := time();
problem prob1:T,Zr,Wr,Zo,Wo,Ut,Dt,fo,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11;
solve prob1;
let opo := time();
let tempo_gasto := opo-pop;
printf"tempo de resolução: %.5f s\n ", tempo_gasto;
display T;
printf"Fase 2 dados 1\n\n";
let pop := time();
problem prob2:T,Zr,Wr,Zo,Wo,Ut,Dt,Dte,fo2,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r12,r13;
solve prob2;
let opo := time();
let tempo_gasto := opo-pop;
printf"tempo de resolução: %.5f s\n ", tempo_gasto;
display Dte;
reset;
#dados 2
param pop;
param opo;
param tempo_gasto;
model "fases.txt";
data "Dados2.txt";
option solver cplex;
option display solver_msg ;
printf"Fase 1 dados 2\n\n";
let pop := time();
problem prob1:T,Zr,Wr,Zo,Wo,Ut,Dt,fo,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11;
solve prob1;
let opo := time();
let tempo_gasto := opo-pop;
printf"tempo de resolução: %.5f s\n ", tempo_gasto;
display T;
printf"Fase 2 dados 2\n\n";
let pop := time();
problem prob2:T,Zr,Wr,Zo,Wo,Ut,Dt,Dte,fo2,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r12,r13;
solve prob2;
let opo := time();
let tempo_gasto := opo-pop;
printf"tempo de resolução: %.5f s\n ", tempo_gasto;
display Dte;
reset;
printf"\nHeuristica Construtiva para dados 1 fase 2 ";
model "HConstParam.txt";
data "Dados1.txt";
model "HConstrutiva.txt"
reset;
printf"\nHeuristica Construtiva para dados 2 fase 2 ";
model "HConstParam.txt";
data "Dados2.txt";
model "HConstrutiva.txt"