From efad54673ca3c399794b0f1b1a64e5f003c2590b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 11 Jul 2019 13:50:23 +0200 Subject: [PATCH 1/3] [ci skip] Complete NEWS of MOI v0.9 --- NEWS.md | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 3901f64fc3..fda70476f4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,11 +5,17 @@ v0.9.0 (May 2?, 2019) --------------------- - Support for Julia v0.6 and v0.7 was dropped (#714, #717). +- A `MOI.Utilities.Model` implementation of `ModelLike`, this should replace + most use cases of `MOI.Utilities.@model` (#781). +- `add_constrained_variable` and `add_constrained_variables` were added (#759). - Support for indicator constraints was added (#709, #712). +- ``DualObjectiveValue` attribute was added (#473). - `RawParameter` attribute was added (#733). +- A `Benchmarks` submodule was added to facilitate solver benchmarking (#769). +- A `submit` function was added, this may for intance allow the user to submit + solutions or cuts to the solver from a callback (#775). - The field of `ObjectiveValue` was renamed to `result_index` (#729). - The `_constant` and `Utilities.getconstant` function were renamed to `constant` -- The `Utilities.constant` function was renamed to `Utilities.constant_vector` (#740). - `REDUCTION_CERTIFICATE` result status was added (#734). - Abstract matrix sets were added (#731). - Testing improvements: @@ -17,7 +23,25 @@ v0.9.0 (May 2?, 2019) * Quadratic tests were added (#697). * Unit tests for `RawStatusString`, `SolveTime`, `Silent` and `SolverName` were added (#726, #741). - * Existing tests had a few updates (#702, #703). + * A rotated second-order cone test was added (#759). + * A power cone test was added (#768). + * Tests for `ZeroOne` variables with variable bounds were added (#772). + * An unbounded test was added (#773). + * Existing tests had a few updates (#702, #703, #763). +- Documentation improvements: + * Add a section on `CachingOptimizer` (#777). + * Add a section on `UniversalFallback`, `Model` and `@model` (#762). + * Transition the knapsack example to a doctest with MockOptimizer (#786). +- Utilities improvements: + * A `CleverDict` utility was added for a vector that automatically transform + into a dictionary once a first index is removed (#767). + * The `Utilities.constant` function was renamed to `Utilities.constant_vector` + (#740). + * Implement optimizer attributes for CachingOptimizer (#745). + * `operate` with `vcat`, `SingleVariable` and `VectorOfVariables` now returns + a `VectorOfVariables` (#616). + * Fix a type piracy of `operate` (#784). + * The `load_constraint` fallback signature was fixed (#760). - Bridges improvements: * The bridges no longer store the constraint function and set before it is briged, the bridges now have to implement `ConstraintFunction` and @@ -26,6 +50,13 @@ v0.9.0 (May 2?, 2019) * Bridge are now instantiated with a `bridge_constraint` function instead of using a constructor (#730). * Fix constraint attributes for bridges (#699). + * Fix constraint attributes for bridges (#699). + * Constraint bridges were moved to the `Bridges/Constraint` submodule so they + should now inherit from `MOI.Bridges.Constraint.Abstract` and should + implement `MOI.Bridges.Constraint.concrete_bridge_type` instead of + `MOI.Bridges.concrete_bridge_type` (#756). + * Variable bridges were added in (#759). + * Various improvements (#746, #747). v0.8.4 (March 13, 2019) ----------------------- From 5aa7f70493954499ad60f88b80f74b5e8174af80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Sun, 14 Jul 2019 17:39:20 -0400 Subject: [PATCH 2/3] [ci skip] Fix formatting --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index fda70476f4..0917c07af4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -9,7 +9,7 @@ v0.9.0 (May 2?, 2019) most use cases of `MOI.Utilities.@model` (#781). - `add_constrained_variable` and `add_constrained_variables` were added (#759). - Support for indicator constraints was added (#709, #712). -- ``DualObjectiveValue` attribute was added (#473). +- `DualObjectiveValue` attribute was added (#473). - `RawParameter` attribute was added (#733). - A `Benchmarks` submodule was added to facilitate solver benchmarking (#769). - A `submit` function was added, this may for intance allow the user to submit From f5414af590ba49bedb5a3305143ab3585279ffed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Tue, 16 Jul 2019 07:51:34 -0600 Subject: [PATCH 3/3] [ci skip] Add -> Added --- NEWS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 0917c07af4..02651edad6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -29,8 +29,8 @@ v0.9.0 (May 2?, 2019) * An unbounded test was added (#773). * Existing tests had a few updates (#702, #703, #763). - Documentation improvements: - * Add a section on `CachingOptimizer` (#777). - * Add a section on `UniversalFallback`, `Model` and `@model` (#762). + * Added a section on `CachingOptimizer` (#777). + * Added a section on `UniversalFallback`, `Model` and `@model` (#762). * Transition the knapsack example to a doctest with MockOptimizer (#786). - Utilities improvements: * A `CleverDict` utility was added for a vector that automatically transform