Commit 124437ed authored by Gerald Gamrath's avatar Gerald Gamrath

removed duplicate instances

parent 56c65b4c
\* Objective function *\
Minimize
+502 X0_1 +2033 X0_2 +1234 X0_3 +564 X0_4 +789 X0_5 +1318 X0_6 +967 X0_7 +797 X0_8 +1294 X0_9 +502 X1_0 +2079 X1_2 +1401 X1_3 +831 X1_4 +737 X1_5 +1334 X1_6 +1456 X1_7 +1240 X1_8 +1561 X1_9 +2033 X2_0 +2079 X2_1 +851 X2_3 +1492 X2_4 +1342 X2_5 +745 X2_6
+2505 X2_7 +1720 X2_8 +1020 X2_9 +1234 X3_0 +1401 X3_1 +851 X3_2 +671 X3_4 +721 X3_5 +405 X3_6 +1661 X3_7 +882 X3_8 +323 X3_9 +564 X4_0 +831 X4_1 +1492 X4_2 +671 X4_3 +478 X4_5 +819 X4_6 +1151 X4_7 +534 X4_8 +748 X4_9 +789 X5_0 +737 X5_1 +1342 X5_2
+721 X5_3 +478 X5_4 +596 X5_6 +1597 X5_7 +1008 X5_8 +963 X5_9 +1318 X6_0 +1334 X6_1 +745 X6_2 +405 X6_3 +819 X6_4 +596 X6_5 +1938 X6_7 +1196 X6_8 +728 X6_9 +967 X7_0 +1456 X7_1 +2505 X7_2 +1661 X7_3 +1151 X7_4 +1597 X7_5 +1938 X7_6 +786 X7_8 +1516 X7_9
+797 X8_0 +1240 X8_1 +1720 X8_2 +882 X8_3 +534 X8_4 +1008 X8_5 +1196 X8_6 +786 X8_7 +736 X8_9 +1294 X9_0 +1561 X9_1 +1020 X9_2 +323 X9_3 +748 X9_4 +963 X9_5 +728 X9_6 +1516 X9_7 +736 X9_8
\* Constraints *\
Subject To
+X0_1 +X0_2 +X0_3 +X0_4 +X0_5 +X0_6 +X0_7 +X0_8 +X0_9 = 1
+X1_0 +X1_2 +X1_3 +X1_4 +X1_5 +X1_6 +X1_7 +X1_8 +X1_9 = 1
+X2_0 +X2_1 +X2_3 +X2_4 +X2_5 +X2_6 +X2_7 +X2_8 +X2_9 = 1
+X3_0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 -U3 +U8 <= 9
+10 X8_4 -U4 +U8 <= 9
+10 X8_5 -U5 +U8 <= 9
+10 X8_6 -U6 +U8 <= 9
+10 X8_7 -U7 +U8 <= 9
+10 X8_9 +U8 -U9 <= 9
+10 X9_1 -U1 +U9 <= 9
+10 X9_2 -U2 +U9 <= 9
+10 X9_3 -U3 +U9 <= 9
+10 X9_4 -U4 +U9 <= 9
+10 X9_5 -U5 +U9 <= 9
+10 X9_6 -U6 +U9 <= 9
+10 X9_7 -U7 +U9 <= 9
+10 X9_8 -U8 +U9 <= 9
\* Integer definitions *\
General
X0_1 X0_2 X0_3 X0_4 X0_5 X0_6 X0_7 X0_8 X0_9 X1_0 X1_2 X1_3 X1_4 X1_5 X1_6 X1_7 X1_8 X1_9 X2_0 X2_1 X2_3 X2_4 X2_5 X2_6 X2_7 X2_8 X2_9 X3_0 X3_1 X3_2 X3_4 X3_5 X3_6 X3_7 X3_8 X3_9 X4_0 X4_1 X4_2 X4_3 X4_5 X4_6 X4_7 X4_8 X4_9 X5_0 X5_1 X5_2 X5_3 X5_4 X5_6
X5_7 X5_8 X5_9 X6_0 X6_1 X6_2 X6_3 X6_4 X6_5 X6_7 X6_8 X6_9 X7_0 X7_1 X7_2 X7_3 X7_4 X7_5 X7_6 X7_8 X7_9 X8_0 X8_1 X8_2 X8_3 X8_4 X8_5 X8_6 X8_7 X8_9 X9_0 X9_1 X9_2 X9_3 X9_4 X9_5 X9_6 X9_7 X9_8
End
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment