|
1 | 1 | # ConstrainSolver.jl - Changelog
|
2 | 2 |
|
| 3 | +## v0.7.0 (7th of August 2021) |
| 4 | +- Using [ConstraintProgrammingExtensions.jl](https://github.com/dourouc05/ConstraintProgrammingExtensions.jl) |
| 5 | + - `AllDifferent` instead of `AllDifferentSet` |
| 6 | + - `AllEqual` instead of `EqualSet` |
| 7 | + |
3 | 8 | ## v0.6.10 (26th of July 2021)
|
4 | 9 | - Allow variables as constraint like `a || !b` instead of `a == 1 || b == 0`. [PR #267](https://github.com/Wikunia/ConstraintSolver.jl/pull/267)
|
5 | 10 | - **Attention** Does not check if variable is a binary variable
|
6 | 11 | - Support for indicator/reified in indicator/reified (without bridges) [PR #251](https://github.com/Wikunia/ConstraintSolver.jl/pull/251)
|
7 | 12 | - Support for VectorAffineFunction in TableSet/AllDifferentSet
|
8 |
| - - i.e `[x[i]+i for i in 1:n] in CS.AllDifferentSet()` |
| 13 | + - i.e `[x[i]+i for i in 1:n] in CS.AllDifferent()` |
9 | 14 | - `[x,y,10] in CS.TableSet(...)`
|
10 | 15 | - see [issue #235](https://github.com/Wikunia/ConstraintSolver.jl/issues/235) for in-depth examples
|
11 | 16 |
|
|
32 | 37 | - Bugfix in reified `still_feasible` when setting to inactive
|
33 | 38 | - Bugfix in alldifferent constraint when there is a gap in the values
|
34 | 39 | - Support for `And` constraints in the inner constraints of `Indicator` and `Reified`:
|
35 |
| - i.e `b := { sum(x) >= 10 && x in CS.AllDifferentSet() }` |
| 40 | + i.e `b := { sum(x) >= 10 && x in CS.AllDifferent() }` |
36 | 41 | - Support for `Or` constraints in the inner constraints of `Indicator` and `Reified`:
|
37 |
| - i.e `b := { sum(x) >= 10 || x in CS.AllDifferentSet() }` |
| 42 | + i.e `b := { sum(x) >= 10 || x in CS.AllDifferent() }` |
38 | 43 | - Support for `&&` and `||` outside of `Indicator` and `Reified`
|
39 |
| - - i.e `sum(x) >= 10 || x in CS.AllDifferentSet()` |
| 44 | + - i.e `sum(x) >= 10 || x in CS.AllDifferent()` |
40 | 45 | - Basic support for `Indicator` inside of reified:
|
41 | 46 | - i.e `@constraint(model, b1 := {b2 => { v == 1 }})`
|
42 | 47 | - currently lacks support for bridges such that `v > 1` in the inner constraint will fail
|
|
120 | 125 | ## v0.1.7 (22nd of May 2020)
|
121 | 126 | - Better feasibility and pruning in `==`
|
122 | 127 | - **Bugfixes:**
|
123 |
| - - Correct set of change ptr in `EqualSet` for faster/correct pruning |
| 128 | + - Correct set of change ptr in `AllEqual` for faster/correct pruning |
124 | 129 | - Call to `isapprox_discrete` in `eq_sum`
|
125 | 130 | - Fixed threshold rounding
|
126 | 131 |
|
127 | 132 | ## v0.1.6 (11th of May 2020)
|
128 | 133 | - Reduction of memory allocations in `TableConstraint`
|
129 |
| -- Pruning in `EqualSet` |
| 134 | +- Pruning in `AllEqual` |
130 | 135 |
|
131 | 136 | ## v0.1.5 (6th of May 2020)
|
132 | 137 | - **Bugfixes:**
|
133 |
| - - EqualSet feasibility: Check if other vars have value + no memory allocation |
| 138 | + - AllEqual feasibility: Check if other vars have value + no memory allocation |
134 | 139 | - Call `call_finished_pruning!(com)` after second `prune!` before backtracking
|
135 | 140 |
|
136 | 141 | ## v0.1.4 (6th of May 2020)
|
|
0 commit comments