-
Notifications
You must be signed in to change notification settings - Fork 7
/
test2.lp
39 lines (39 loc) · 1.99 KB
/
test2.lp
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
\* classroomAssignmentSP *\
Maximize
OBJ: - 0.666666666667 x_0_0_10 - 0.666666666667 x_0_0_11
- 0.666666666667 x_0_0_5 - 0.666666666667 x_0_0_6 - 0.666666666667 x_0_0_7
- 0.666666666667 x_0_0_8 - 0.666666666667 x_0_0_9 - 0.666666666667 x_0_1_10
- 0.333333333333 x_9_5_8 - 0.333333333333 x_9_5_9
Subject To
c1_0_0_0: __dummy <= 1
c1_0_0_1: x_11_0_0 + x_11_3_0 + x_11_4_0 + x_11_6_0 + x_15_0_0 + x_15_3_0
+ x_15_4_0 + x_15_6_0 + x_32_0_0 + x_32_3_0 + x_32_4_0 + x_32_6_0 + x_54_0_0
+ x_54_15_0 + x_54_16_0 + x_54_17_0 + x_54_18_0 + x_54_19_0 + x_54_20_0
+ x_54_25_0 + x_54_26_0 + x_54_27_0 + x_54_28_0 + x_54_30_0 + x_54_5_0
+ x_54_6_0 + x_54_7_0 + x_54_8_0 + x_56_0_0 + x_56_15_0 + x_56_16_0
+ x_56_17_0 + x_56_18_0 + x_56_19_0 + x_56_20_0 + x_56_25_0 + x_56_26_0
+ x_56_27_0 + x_56_28_0 + x_56_30_0 + x_56_5_0 + x_56_6_0 + x_56_7_0
+ x_56_8_0 + x_59_0_0 + x_59_3_0 + x_59_4_0 + x_59_6_0 <= 1
c1_9_4_4: x_3_2_9 + x_3_4_9 + x_3_5_9 + x_3_6_9 + x_48_2_9 + x_48_4_9
+ x_48_5_9 + x_48_6_9 + x_5_2_9 + x_5_4_9 + x_5_5_9 + x_5_6_9 <= 1
c2_0_0: x_0_0_10 + x_0_0_11 + x_0_0_5 + x_0_0_6 + x_0_0_7 + x_0_0_8 + x_0_0_9
+ x_0_3_10 + x_0_3_11 + x_0_3_5 + x_0_3_6 + x_0_3_7 + x_0_3_8 + x_0_3_9
+ x_0_4_10 + x_0_4_11 + x_0_4_5 + x_0_4_6 + x_0_4_7 + x_0_4_8 + x_0_4_9
+ x_0_6_10 + x_0_6_11 + x_0_6_5 + x_0_6_6 + x_0_6_7 + x_0_6_8 + x_0_6_9 = 1
c2_9_2: x_9_2_10 + x_9_2_11 + x_9_2_13 + x_9_2_14 + x_9_2_15 + x_9_2_4
+ x_9_2_5 + x_9_2_6 + x_9_2_7 + x_9_2_8 + x_9_2_9 + x_9_4_10 + x_9_4_11
+ x_9_4_13 + x_9_4_14 + x_9_4_15 + x_9_4_4 + x_9_4_5 + x_9_4_6 + x_9_4_7
+ x_9_4_8 + x_9_4_9 + x_9_5_10 + x_9_5_11 + x_9_5_13 + x_9_5_14 + x_9_5_15
+ x_9_5_4 + x_9_5_5 + x_9_5_6 + x_9_5_7 + x_9_5_8 + x_9_5_9 + x_9_6_10
+ x_9_6_11 + x_9_6_13 + x_9_6_14 + x_9_6_15 + x_9_6_4 + x_9_6_5 + x_9_6_6
+ x_9_6_7 + x_9_6_8 + x_9_6_9 = 1
c3_0_10: x_0_0_10 + x_0_1_10 + x_0_2_10 + x_0_3_10 + x_0_4_10 + x_0_5_10
+ x_0_6_10 <= 1
c3_9_9: x_9_0_9 + x_9_1_9 + x_9_2_9 + x_9_3_9 + x_9_4_9 + x_9_5_9 + x_9_6_9
<= 1
Binaries
x_0_0_10
x_0_0_11
x_9_6_8
x_9_6_9
End