-
Notifications
You must be signed in to change notification settings - Fork 0
/
ipoints1.gms
63 lines (45 loc) · 1.03 KB
/
ipoints1.gms
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
$Title ipoints1
$Ontext
The starting points for the local solver of the water_treatment problem
is provided in this file
$Offtext
*Binary Variables
B_s_tu.fx(s,tu)=1;
B_tu_tup.fx(tu,tup)=1;
B_exit.fx(tu,sgu)=1;
B_tu.fx(tu)=1;
*s_tu
B_s_tu.fx('pw','st') = 1;
B_s_tu.fx('muw','wac') = 1;
*tu
B_tu.fx('st') = 1;
*B_tu.fx('igf') = 1;
*B_tu.fx('orf') = 1;
B_tu.fx('ls') = 1;
B_tu.fx('wac') = 1;
*tu_tup
*B_tu_tup.fx('st','igf') = 1;
*B_tu_tup.fx('st','orf') = 1;
*B_tu_tup.fx('igf','orf') = 1;
*B_tu_tup.fx('orf','ls') = 1;
*B_tu_tup.fx('ls','wac') = 1;
*exit
*B_exit.fx('igf','otsg') = 1;
*B_exit.fx('orf','otsg') = 1;
*B_exit.fx('ls','otsg') = 1;
*B_exit.fx('wac','otsg') = 1;
$ontext
B_exit.fx('igf','db') = 1;
B_exit.fx('orf','db') = 1;
B_exit.fx('ls','db') = 1;
B_exit.fx('wac','db') = 1;
B_exit.fx('igf','hrsg') = 1;
B_exit.fx('orf','hrsg') = 1;
B_exit.fx('ls','hrsg') = 1;
B_exit.fx('wac','hrsg') = 1;
$offtext
*exit sgu
B_exit_sgu.fx('otsg','wi') = 1;
B_exit_sgu.fx('otsg','eg') = 1;
*rec otsg to bbd
B_rec_otsg_bbd.fx = 1;