We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b9a60a commit ec5c0e3Copy full SHA for ec5c0e3
1 file changed
src/Bridges/Constraint/bridges/SOS1ToMILPBridge.jl
@@ -9,7 +9,16 @@
9
10
`SOS1ToMILPBridge` implements the following reformulation:
11
12
- * ``x \\in \\textsf{SOS1}(d)`` into a mixed-integer linear program.
+ * ``x \\in \\textsf{SOS1}(d)`` into the following mixed-integer linear program.
13
+
14
+Assuming ``l_i \\le x_i \\le u_i`` with finite bounds ``l_i``, ``u_i``:
15
+```math
16
+\\begin{aligned}
17
+z_i \\in \\{0, 1\\} & \\;\\; \\forall i \\in 1\\ldots d \\\\
18
+l_i z_i \\le x_i \\le u_i z_i & \\;\\; \\forall i \\in 1\\ldots d \\\\
19
+\\sum z_i = 1
20
+\\end{aligned}
21
+```
22
23
## Source node
24
0 commit comments