I am new to using SCIP, and I can't figure out why SCIP is not satisfying the constraints of my ILP. I have specified my ILP in the .lp
format as described by IBM.
For example, consider the following constraints:
X0 - X1 - 5z_0_1_0 < 0
X1 - X0 - 5z_0_1_1 < 0
Y0 - Y1 - 5z_0_1_2 < 0
Y1 - Y0 - 5z_0_1_3 < 0
z_0_1_0 + z_0_1_1 + z_0_1_2 + z_0_1_3 <= 3
There are more constraints like this in my ILP, but I stick to these for my question.
I then solve the ILP containing the above constraints, where the constraints with X
and Y
are integer constraints defined under a General
header as defined by IBM. The z
constraints are binary.
I solve the ILP using scip.exe>read>optimize
. The output is as follows:
SCIP> optimize
presolving:
(round 1, fast) 32 del vars, 32 del conss, 0 add conss, 0 chg bounds, 0 chg sides, 208 chg coeffs, 0 upgd conss, 0 impls, 8 clqs
(0.0s) running MILP presolver
(0.0s) MILP presolver found nothing
(round 2, exhaustive) 32 del vars, 32 del conss, 0 add conss, 0 chg bounds, 0 chg sides, 208 chg coeffs, 44 upgd conss, 0 impls, 8 clqs
(0.0s) probing: 51/176 (29.0%) - 0 fixings, 0 aggregations, 0 implications, 0 bound changes
(0.0s) probing aborted: 50/50 successive totally useless probings
(0.0s) symmetry computation started: requiring (bin +, int -, cont +), (fixed: bin -, int +, cont -)
(0.0s) no symmetry present
(0.0s) symmetry computation started: requiring (bin +, int +, cont +), (fixed: bin -, int -, cont -)
(0.0s) symmetry computation finished: 1 generators found (max: 1500, log10 of symmetry group size: 0.3)
(round 3, exhaustive) 32 del vars, 32 del conss, 1 add conss, 0 chg bounds, 0 chg sides, 208 chg coeffs, 44 upgd conss, 0 impls, 8 clqs
presolving (4 rounds: 4 fast, 3 medium, 3 exhaustive):
32 deleted vars, 32 deleted constraints, 1 added constraints, 0 tightened bounds, 0 added holes, 0 changed sides, 208 changed coefficients
0 implications, 8 cliques
presolved problem has 194 variables (176 bin, 18 int, 0 impl, 0 cont) and 285 constraints
8 constraints of type <setppc>
240 constraints of type <linear>
1 constraints of type <orbitope>
36 constraints of type <logicor>
transformed objective value is always integral (scale: 1)
Presolving Time: 0.00
time | node | left |LP iter|LP it/n|mem/heur|mdpt |vars |cons |rows |cuts |sepa|confs|strbr| dualbound | primalbound | gap | compl.
p 0.0s| 1 | 0 | 0 | - | locks| 0 | 194 | 285 | 284 | 0 | 0 | 0 | 0 | 8.000000e+00 | 2.000000e+00 | 300.00%| unknown
* 0.0s| 1 | 0 | 24 | - | LP | 0 | 194 | 285 | 284 | 0 | 0 | 0 | 0 | 8.000000e+00 | 8.000000e+00 | 0.00%| unknown
0.0s| 1 | 0 | 24 | - | 4594k | 0 | 194 | 285 | 284 | 0 | 0 | 0 | 0 | 8.000000e+00 | 8.000000e+00 | 0.00%| unknown
SCIP Status : problem is solved [optimal solution found]
Solving Time (sec) : 0.00
Solving Nodes : 1
Primal Bound : +8.00000000000000e+00 (2 solutions)
Dual Bound : +8.00000000000000e+00
Gap : 0.00 %
If I then inspect the values relevant to the above constraint I see the following:
SCIP> display value X0
X0 0 (obj:0)
SCIP> display value X1
X1 0 (obj:0)
SCIP> display value Y0
Y0 0 (obj:0)
SCIP> display value Y1
Y1 0 (obj:0)
SCIP> display value z_0_1_0
z_0_1_0 0 (obj:0)
SCIP> display value z_0_1_1
z_0_1_1 0 (obj:0)
SCIP> display value z_0_1_2
z_0_1_2 0 (obj:0)
SCIP> display value z_0_1_3
z_0_1_3 0 (obj:0)
As you can see, with these variable values the constraints above are literally not satisfied? Am I missing some setting or notation that's easy to miss from the documentation? I have tried varying the multiplication notation with a space but that does not help.
The entire .lp
file is as follows:
Maximize
obj: F0u + F1u + F2r + F3r + F4d + F5d + F6l + F7l
Subject To
X0 - X1 - 5z_0_1_0 < 0
X1 - X0 - 5z_0_1_1 < 0
Y0 - Y1 - 5z_0_1_2 < 0
Y1 - Y0 - 5z_0_1_3 < 0
z_0_1_0 + z_0_1_1 + z_0_1_2 + z_0_1_3 <= 3
X0 - X2 - 5z_0_2_0 < 0
X2 - X0 - 5z_0_2_1 < 0
Y0 - Y2 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 - Y1 - 5nF1r <= 0
F1u + F1d + F1l + F1r = 1
F2u - Y3 + Y2 >= 0
F2u + nF2u = 1
X2 - X3 - 5nF2u <= 0
X3 - X2 - 5nF2u <= 0
F2d - Y2 + Y3 >= 0
F2d + nF2d = 1
X2 - X3 - 5nF2d <= 0
X3 - X2 - 5nF2d <= 0
F2l - X2 + X3 >= 0
F2l + nF2l = 1
Y2 - Y3 - 5nF2l <= 0
Y3 - Y2 - 5nF2l <= 0
F2r - X3 + X2 >= 0
F2r + nF2r = 1
Y2 - Y3 - 5nF2r <= 0
Y3 - Y2 - 5nF2r <= 0
F2u + F2d + F2l + F2r = 1
F3u - Y4 + Y3 >= 0
F3u + nF3u = 1
X3 - X4 - 5nF3u <= 0
X4 - X3 - 5nF3u <= 0
F3d - Y3 + Y4 >= 0
F3d + nF3d = 1
X3 - X4 - 5nF3d <= 0
X4 - X3 - 5nF3d <= 0
F3l - X3 + X4 >= 0
F3l + nF3l = 1
Y3 - Y4 - 5nF3l <= 0
Y4 - Y3 - 5nF3l <= 0
F3r - X4 + X3 >= 0
F3r + nF3r = 1
Y3 - Y4 - 5nF3r <= 0
Y4 - Y3 - 5nF3r <= 0
F3u + F3d + F3l + F3r = 1
F4u - Y5 + Y4 >= 0
F4u + nF4u = 1
X4 - X5 - 5nF4u <= 0
X5 - X4 - 5nF4u <= 0
F4d - Y4 + Y5 >= 0
F4d + nF4d = 1
X4 - X5 - 5nF4d <= 0
X5 - X4 - 5nF4d <= 0
F4l - X4 + X5 >= 0
F4l + nF4l = 1
Y4 - Y5 - 5nF4l <= 0
Y5 - Y4 - 5nF4l <= 0
F4r - X5 + X4 >= 0
F4r + nF4r = 1
Y4 - Y5 - 5nF4r <= 0
Y5 - Y4 - 5nF4r <= 0
F4u + F4d + F4l + F4r = 1
F5u - Y6 + Y5 >= 0
F5u + nF5u = 1
X5 - X6 - 5nF5u <= 0
X6 - X5 - 5nF5u <= 0
F5d - Y5 + Y6 >= 0
F5d + nF5d = 1
X5 - X6 - 5nF5d <= 0
X6 - X5 - 5nF5d <= 0
F5l - X5 + X6 >= 0
F5l + nF5l = 1
Y5 - Y6 - 5nF5l <= 0
Y6 - Y5 - 5nF5l <= 0
F5r - X6 + X5 >= 0
F5r + nF5r = 1
Y5 - Y6 - 5nF5r <= 0
Y6 - Y5 - 5nF5r <= 0
F5u + F5d + F5l + F5r = 1
F6u - Y7 + Y6 >= 0
F6u + nF6u = 1
X6 - X7 - 5nF6u <= 0
X7 - X6 - 5nF6u <= 0
F6d - Y6 + Y7 >= 0
F6d + nF6d = 1
X6 - X7 - 5nF6d <= 0
X7 - X6 - 5nF6d <= 0
F6l - X6 + X7 >= 0
F6l + nF6l = 1
Y6 - Y7 - 5nF6l <= 0
Y7 - Y6 - 5nF6l <= 0
F6r - X7 + X6 >= 0
F6r + nF6r = 1
Y6 - Y7 - 5nF6r <= 0
Y7 - Y6 - 5nF6r <= 0
F6u + F6d + F6l + F6r = 1
F7u - Y8 + Y7 >= 0
F7u + nF7u = 1
X7 - X8 - 5nF7u <= 0
X8 - X7 - 5nF7u <= 0
F7d - Y7 + Y8 >= 0
F7d + nF7d = 1
X7 - X8 - 5nF7d <= 0
X8 - X7 - 5nF7d <= 0
F7l - X7 + X8 >= 0
F7l + nF7l = 1
Y7 - Y8 - 5nF7l <= 0
Y8 - Y7 - 5nF7l <= 0
F7r - X8 + X7 >= 0
F7r + nF7r = 1
Y7 - Y8 - 5nF7r <= 0
Y8 - Y7 - 5nF7r <= 0
F7u + F7d + F7l + F7r = 1
Bounds
0 <= X0 <= 4
0 <= Y0 <= 4
0 <= X1 <= 4
0 <= Y1 <= 4
0 <= X2 <= 4
0 <= Y2 <= 4
0 <= X3 <= 4
0 <= Y3 <= 4
0 <= X4 <= 4
0 <= Y4 <= 4
0 <= X5 <= 4
0 <= Y5 <= 4
0 <= X6 <= 4
0 <= Y6 <= 4
0 <= X7 <= 4
0 <= Y7 <= 4
0 <= X8 <= 4
0 <= Y8 <= 4
General
X0 Y0 X1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0 z_4_6_1 z_4_6_2 z_4_6_3 z_4_7_0 z_4_7_1 z_4_7_2 z_4_7_3 z_4_8_0 z_4_8_1 z_4_8_2 z_4_8_3 z_5_6_0 z_5_6_1 z_5_6_2 z_5_6_3 z_5_7_0 z_5_7_1 z_5_7_2 z_5_7_3 z_5_8_0 z_5_8_1 z_5_8_2 z_5_8_3 z_6_7_0 z_6_7_1 z_6_7_2 z_6_7_3 z_6_8_0 z_6_8_1 z_6_8_2 z_6_8_3 z_7_8_0 z_7_8_1 z_7_8_2 z_7_8_3 nF0u nF0d nF0l nF0r nF1u nF1d nF1l nF1r nF2u nF2d nF2l nF2r nF3u nF3d nF3l nF3r nF4u nF4d nF4l nF4r nF5u nF5d nF5l nF5r nF6u nF6d nF6l nF6r nF7u nF7d nF7l nF7r
End
I'm sorry this question has been looked over. The LP file format does not recognize strict inequalities and instead will transfer all your
<
constraints into<=
. If your model only has binary variables this may be easily fixable by swapping< 0
for<= -1
.In the continuous case you may need to convert
< 0 into <= -eps
with a small epsilon (note that this can cause numerical issues).