@@ -1163,7 +1163,7 @@ end
11631163"""
11641164 BinPacking(c::T, w::Vector{T}) where {T}
11651165
1166- The set ``\\ {x \\ in \\ mathbb{R }^d\\ }`` where `d = length(w)`, such that each
1166+ The set ``\\ {x \\ in \\ mathbb{Z }^d\\ }`` where `d = length(w)`, such that each
11671167item `i` in `1:d` of weight `w[i]` is put into bin `x[i]`, and the total weight
11681168of each bin does not exceed `c`.
11691169
@@ -1225,7 +1225,8 @@ Graphs with multiple independent circuits, such as `[2, 1, 3]` and
12251225
12261226## Also known as
12271227
1228- This constraint is called `circuit` in MiniZinc.
1228+ This constraint is called `circuit` in MiniZinc, and it is equivalent to forming
1229+ a (potentially sub-optimal) tour in the travelling salesperson problem.
12291230
12301231## Example
12311232
@@ -1417,8 +1418,8 @@ end
14171418"""
14181419 Cumulative(dimension::Int)
14191420
1420- The set ``\\ {(s, d, r, b) \\ in \\ mathbb{R }^{3n+1}\\ }``, representing the
1421- `cumulative`` global constraint, where
1421+ The set ``\\ {(s, d, r, b) \\ in \\ mathbb{Z }^{3n+1}\\ }``, representing the
1422+ `cumulative` global constraint, where
14221423`n == length(s) == length(r) == length(b)` and `dimension = 3n + 1`.
14231424
14241425`Cumulative` requires that a set of tasks given by start times ``s``, durations
@@ -1456,7 +1457,7 @@ end
14561457Given a graph comprised of a set of nodes `1..N` and a set of arcs `1..E`
14571458represented by an edge from node `from[i]` to node `to[i]`, `Path` constrains
14581459the set
1459- ``(s, t, ns, es) \\ in (1..N)\\ times(1..N )\\ times\\ {0,1\\ }^N\\ times\\ {0,1\\ }^E``,
1460+ ``(s, t, ns, es) \\ in (1..N)\\ times(1..E )\\ times\\ {0,1\\ }^N\\ times\\ {0,1\\ }^E``,
14601461to form subgraph that is a path from node `s` to node `t`, where node `n` is in
14611462the path if `ns[n]` is `1`, and edge `e` is in the path if `es[e]` is `1`.
14621463
0 commit comments