Skip to content

Tags: jump-dev/JuMP.jl

Tags

v1.23.2

Toggle v1.23.2's commit message
[Diff since v1.23.1](v1.23.1...v1.23.2)

**Merged pull requests:**
- [docs] add Rolling horizon tutorial (#3815) (@odow)
- Add more tests for shapes and dual shapes (#3816) (@odow)
- Add PiecewiseAffineApprox.jl to extension-tests.yml (#3817) (@odow)
- Add PiecewiseLinearOpt and TimeStruct to extension-tests.yml (#3818) (@odow)
- Remove unneeded test from test_nlp.jl (#3819) (@odow)
- [docs] add example to index.md (#3820) (@odow)
- [docs] restructure conic optimization tutorials (#3822) (@odow)
- [docs] restructure nonlinear optimization tutorials (#3823) (@odow)
- [docs] add PiecewiseLinearOpt to packages.toml (#3824) (@odow)
- Fix an illegal simplification in MA.operate!! for NonlinearExpr (#3826) (@odow)
- Prep for v1.23.2 (#3827) (@odow)

**Closed issues:**
- Add better tests for shapes (#3808)
- [docs] add datejada/rolling-horizon-example tutorial (#3811)
- Nonlinear expressions illegally modify their children (#3825)

v1.23.1

Toggle v1.23.1's commit message
[Diff since v1.23.0](v1.23.0...v1.23.1)

**Merged pull requests:**
- [docs] update packages.toml (#3807) (@odow)
- [docs] adapt transitioning tutorial to new code (#3809) (@araujoms)
- [docs] add tutorial: Performance problems with sum-if formulations (#3810) (@odow)
- Fix macro issue in indicator constraints (#3813) (@odow)
- Prep for v1.23.1 (#3814) (@odow)

**Closed issues:**
- Compatibility layer with SymbolicRegression.jl (#3790)
- Where is JuMP's sparse AD code, and can DifferentiationInterface help? (#3806)
- Hygiene issue with indicator constraints (#3812)

v1.23.0

Toggle v1.23.0's commit message
[Diff since v1.22.2](v1.22.2...v1.23.0)

**Merged pull requests:**
- Add set inequality syntax for matrices (#3766) (@odow)
- Fix methods for calling value on a ::Number (#3776) (@odow)
- Fix missing character in installation instructions (#3777) (@mtanneau)
- Improve matrix inequality support (#3778) (@odow)
- [docs] add section of querying the Jacobian (#3779) (@odow)
- Improve error message for common incorrect syntax in constraint macro (#3781) (@odow)
- [docs] clarify that SCIP does not support lazy constraints (#3784) (@odow)
- Fix typo in knapsack.jl (#3792) (@LilithHafner)
- [docs] add warning to docs about tolerances in Bin and Int variables (#3794) (@odow)
- [docs] clarify where to type installation commands (#3795) (@odow)
- Fix querying dual of symmetric equality constraints (#3797) (@odow)
- Prep for v1.23.0 (#3799) (@odow)
- [docs] update to MOI v1.31.0 (#3800) (@odow)
- Allow changing coefficient type in read_from_file (#3801) (@blegat)
- Change show(::IO, ::GenericModel) to a more informative tree structure (#3803) (@odow)
- Fix various bugs with Real-valued Hermitian matrices (#3805) (@odow)

**Closed issues:**
- Should we simplify NonLinearExpr similar to AffExpr or QuadExpr? (#3498)
- Inequality constraints over symmetric matrices are cumbersome (#3765)
- Set inequality syntax suggestion (#3770)
- Method error in value(::Function, ::Number)  (#3775)
- Diagnostic for named constraint without constraint could be improved (#3780)
- Improve Solver-independent Callbacks manual page to specifiy SCIP doesn't support lazy constraints (#3783)
- Incorrect dual variable extracted from equality constraint between Hermitian matrices (#3796)
- `value` returns both `0.0` and `-0.0` on `Bin`ary values (#3793)
- Model's print summary should include value type (#3802)
- Constraining Symmetric matrix to be equal to a Hermitian matrix is not Hermitian (#3804)

v1.22.2

Toggle v1.22.2's commit message
[Diff since v1.22.1](v1.22.1...v1.22.2)

**Merged pull requests:**
- Improve error message for unsupported kwargs in variable macro (#3751) (@odow)
- Implement LinearAlgebra.haszero trait to fix Julia nightly (#3753) (@odow)
- Revert #3753 (#3754) (@odow)
- Improve error for unsupported container syntax like x[A][B] (#3756) (@odow)
- [docs] improve various docstrings (#3758) (@odow)
- Skip terms when printing a large vector of expressions (#3759) (@odow)
- Deprecate experimental _differentiation_backend (#3760) (@odow)
- [docs] improve docstrings by adding examples (#3761) (@odow)
- Fix printing when show called on invalid variable or constraint (#3763) (@odow)
- Fix spelling: s/Hermmitian/Hermitian/g (#3767) (@odow)
- Improve printing of symmetric matrices when used in constraints (#3768) (@odow)
- [docs] add warning about Y <= X, Set() syntax (#3769) (@odow)
- Fix test for upcoming printing change in MOI (#3772) (@odow)
- [docs] update should_i_use.md (#3773) (@odow)
- Prep for v1.22.2 (#3774) (@odow)

**Closed issues:**
- Fuzzy search on unrecognized keyword arguments to give suggestions (#3750)
- Track failures on nightly (#3752)
- Possibly missing diagnostics for vector of vector of variables (#3755)
- Printing of large vectorized constraints should probably cause output eliding? (#3757)
- Deleting part of containerized constraints makes whole constraint unprintable (#3762)
- function_string of Symmetric matrix includes the entire matrix (#3764)
- Error when adding a constraint with a partially initialized Symmetric matrix (#3771)

v1.22.1

Toggle v1.22.1's commit message
[Diff since v1.22.0](v1.22.0...v1.22.1)

**Merged pull requests:**
- Add DSDP to solver list (#3745) (@blegat)
- only autoinclude files ending with `.jl` in `macros` (#3747) (@hexaeder)
- change transposition to adjoint (#3748) (@araujoms)
- Prep for v1.22.1 (#3749) (@odow)

v1.22.0

Toggle v1.22.0's commit message
[Diff since v1.21.1](v1.21.1...v1.22.0)

**Merged pull requests:**
- Update donation URL in README (#3727) (@mtanneau)
- [docs] fix donation link (#3728) (@odow)
- Add missing promote_operation method (#3730) (@odow)
- [Containers] add function barrier to getindex (#3731) (@odow)
- Add @nonlinear macro for modifying how expressions are parsed (#3732) (@odow)
- Add methods for Base.complex (#3734) (@odow)
- Update versions in GitHub actions (#3735) (@odow)
- Add tests for issue #3736 (#3737) (@odow)
- Adjust logo light-dark mode in README.md (#3739) (@odow)
- Fix error message if NonlinearExpression is mixed with new NL API (#3741) (@odow)
- Support vector-valued constraints in normalized_coefficient (#3743) (@odow)
- Prep for v1.22 (#3744) (@odow)

**Closed issues:**
- Poor performance in complementarity models (#3729)
- Add a method for Complex(a,b) (#3733)
- MethodError with empty summations (#3736)
- Should error when trying to mix `NonlinearExpression` and `GenericNonlinearExpr` (#3740)
- Support normalized_coefficient for vector-valued constraints (#3742)

v1.21.1

Toggle v1.21.1's commit message
[Diff since v1.21.0](v1.21.0...v1.21.1)

**Merged pull requests:**
- Improve docstrings of backend and optimizer_index (#3719) (@odow)
- [docs] add bounds to big-M examples (#3720) (@odow)
- [docs] fix bounds in big-M examples of tips_and_tricks.jl (#3721) (@odow)
- [docs] update to vale.sh v3.0.5 (#3722) (@odow)
- Fix adjoint of GenericNonlinearExpr (#3724) (@odow)
- Prep for v1.21.1 (#3726) (@odow)

**Closed issues:**
- Get attributes set by optimizer without calling optimize (#3684)
- Y' when Y is of type ::Matrix{NonlinearExpr} (#3723)

v1.21.0

Toggle v1.21.0's commit message
[Diff since v1.20.0](v1.20.0...v1.21.0)

**Merged pull requests:**
- [docs] add tutorial on querying the basis status (#3675) (@odow)
- [docs] add section on Parameters to manual/nonlinear.md (#3679) (@odow)
- [Containers] use OrderedDict as the data structure for SparseAxisArray (#3681) (@odow)
- [docs] clarify section on automatic differentiation in nonlinear.md (#3683) (@odow)
- Add _CONSTRAINT_LIMIT_FOR_PRINTING to control printing of many constraints (#3686) (@odow)
- Update to julia-actions/cache (#3687) (@odow)
- Fix complex variables of custom coefficient type (#3691) (@blegat)
- Fix LinearAlgebra.hermitian(::AbstractJuMPScalar, ::Symbol) (#3693) (@odow)
- Fix *(::AbstractJuMPScalar{<:Real}, ::Hermitian) to return Hermitian (#3695) (@odow)
- Add the MINLP solver MAiNGO to the documentation (#3696) (@MAiNGO-github)
- [docs] add Transitioning from MATLAB tutorial (#3698) (@odow)
- [docs] add indicator trick to disjunction section (#3702) (@odow)
- [docs] clarify that JuMP can reformulate indicator constraints (#3703) (@odow)
- Add support for Hermitian PSD for conic inequality (#3705) (@blegat)
- Fix list-style for bibliographies in dark mode (#3706) (@goerz)
- Bump compat of DimensionalData (#3707) (@odow)
- [docs] improve docstrings in objective.jl (#3708) (@odow)
- [docs] standardize on '## Example' headers instead of plural (#3709) (@odow)
- [docs] improve docstrings in src/variables.jl (#3710) (@odow)
- [docs] add deprecation notes to the legacy nonlinear interface docstrings (#3711) (@odow)
- [docs] add Automatic differentiation of user-defined operators tutorial (#3713) (@odow)
- Add batched modification methods (#3716) (@joaquimg)
- [docs] update docs/packages.toml (#3717) (@odow)
- Prep for v1.21.0 (#3718) (@odow)

**Closed issues:**
- Documentation is too big (#3479)
- Model printing is rather verbose (#3651)
- Iterating SparseAxisArray does not preserve order (#3678)
- How to improve the speed to build a complex model? (#3688)
- Coefficients of complex variables created with a GenericModel are always Float64 (#3689)
- LinearAlgebra.hermitian is incorrect (#3692)
- *(::Real, ::Hermitian) is not hermitian (#3694)
- Cannot `convert` an object of type Float64 to an object of type JuMP.NonlinearExpr (#3699)
- Documentation Request: List whether a solver supports Indicator Constraints (#3701)
- Bullet point alignment in bibliography (#3704)
- Multiplication of matrix expression and variables leads to stack overflow and matmul error (#3714)
- Multiple Ranges for variables (#3715)

v1.20.0

Toggle v1.20.0's commit message
[Diff since v1.19.0](v1.19.0...v1.20.0)

**Merged pull requests:**
- [docs] Add Optim to list of solvers (#3624) (@blegat)
- Bump compat of DimensionalData (#3666) (@odow)
- Allow MOI.ModelLike as the optimizer instead of MOI.AbstractOptimizer (#3667) (@odow)
- Add is_solved_and_feasible (#3668) (@odow)
- [docs] add links to status and result codes (#3669) (@odow)
- Fix converting Number to GenericNonlinearExpr (#3672) (@odow)
- Prep for v1.20.0 (#3674) (@odow)
- [README] use stable link instead of version-specific (#3676) (@odow)
- [README] refactor links into table (#3677) (@odow)

**Closed issues:**
- NumFOCUS: GSoC 2024 Update (#3665)
- Error vcat(::NonlinearExpr, ::VariableRef, ::Float64) (#3671)
- Increase performance of SOC constraints (#3673)

v1.19.0

Toggle v1.19.0's commit message
[Diff since v1.18.1](v1.18.1...v1.19.0)

**Merged pull requests:**
- [docs] Add SDPLR to list of solvers (#3644) (@blegat)
- [docs] add new roadmap items (#3645) (@odow)
- [docs] fix vale version (#3650) (@odow)
- Throw informative error when parsing reference sets in macros (#3653) (@odow)
- Fix short circuting of && and || in macros (#3655) (@odow)
- Add support for modifying quadratic coefficients (#3658) (@odow)
- Tidy docstrings in src/constraints.jl (#3659) (@odow)
- Remove unneeded _affine_coefficient (#3660) (@odow)
- Move set_normalized_coefficient to src/variables.jl to better type arguments (#3661) (@odow)
- [docs] update location of Hypatia.jl (#3662) (@odow)
- Prep for v1.19.0 (#3663) (@odow)

**Closed issues:**
- Diagnostics request: using variable in variable container bounds (#3652)
- && and || do not short-circuit in macros (#3654)
- Add support for MOI.ScalarQuadraticCoefficientChange (#3657)