Skip to content

v0.22.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Nov 03:32
· 769 commits to master since this release
744888c

JuMP v0.22.0

Diff since v0.21.10

Closed issues:

  • Should we define zero(AffExpr) and one(AffExpr)? (#1151)
  • set constraint names from @constraint macro (#1166)
  • Precompile JuMP (#1181)
  • Performance regressions from v0.18 (#1403)
  • Bridges in Manual mode with solver not supporting default_copy_to (#1627)
  • Performance of small constraints (#1654)
  • Decide whether to export MOI. (#1789)
  • inequality syntax for set constraints (#1798)
  • Exported functions with no doc (#1825)
  • Generate a PDF version of the docs (#1881)
  • Cannot retrieve vector created with string name (#1895)
  • Optimize time to add constraints JuMP 0.19.0 (#1905)
  • provide function which composes names (#1936)
  • Error message for anonymous variables (#1938)
  • Macros should use add_variables & add_constraints rather than singular methods (#1939)
  • [Needs MOI 0.9.21] AffExpr in ZeroOne does not work (#1943)
  • Better error messages for vector variable bounds (#2056)
  • SparseAxisArray does not implement size (#2117)
  • Better error message for sparse RHS terms in vector constraints (#2162)
  • Print constraints/variables in set form instead of scalarized (#2171)
  • Remove variable_type (#2174)
  • Feature request: reuse a variable name in @variable on non-overlapping indices (#2200)
  • Clean up and document parse_constraint (#2236)
  • Custom attributes not queried correctly with caching optimizer (#2587)
  • parse_one_operator_constraint: clash with parse_ternary_constraint when there are four arguments (#2246)
  • Address invalidations to speed up compile time (#2273)
  • Sparse array addition with diagonal is dense (#2309)
  • Subtle trap with semicolon syntax (#2318)
  • [Feature Request] Error Function Keyword Argument for Macros (#2333)
  • Container with a dictionary as the dimension (#2424)
  • JuMP v0.18.6 doesn't compile in Julia v1.6 (#2438)
  • Fix TODOs in print.jl (#2446)
  • sum comparison parses wrongly without error (#2461)
  • Document extensions (#2485)
  • Support anonymous NL parameters (#2510)
  • Do not add infinite bounds (#2634)
  • Feasibility checker with function (#2526)
  • Ordering of function arguments (#2539)
  • Error on modify-then-query (#2566)
  • Improve error when singular macro used instead of plural (#2582)
  • Disallow multiple positional arguments in the @variable macro (#2583)
  • Improve error for Interval constraints with non-constant set (#2599)
  • Public API for Building Containers in Macros (#2604)
  • Auto-register is incorrect when splatting (#2609)
  • Unhelpful error message for @NLparameter (#2620)
  • Error message improvement for value(Array of NLexpression) (#2635)
  • Rename .m field of some structs (#2636)
  • Document callback gotchas (#2642)
  • Add name keyword to macros (#2643)
  • Constructor of Array with DenseAxisArray (#2644)
  • Names lost from model when read from file (#2647)
  • copy conflict fails when model has parameters (#2649)
  • Surprising argument ordering in macros (#2651)
  • Model that builds in v0.21.8 errors in v0.21.9 with "constraints are not supported" (#2654)
  • Do not set names if the solver does not support it (#2655)
  • Write a tutorial solving parametric problems (#2663)
  • Documentation improvements (#2675)
  • Stop returning MA.Zero() from expressions (#2677)
  • Implement owner_model for expressions (#2678)
  • set_dual_start_value() error (#2679)
  • Improve error message of unsupported constraints (#2680)
  • Large SparseAxisArrays get stuck on show (#2683)
  • Bug using "/" before the variable in @variable macro (#2692)
  • Error thrown when pushing a DenseAxisArray into a set (#2696)
  • erronerous output in solution_summary (Barrier/Simplex iterations) (#2697)
  • Usage Question (#2715)
  • gh-pages branch can get big with push_preview=true (#2721)
  • Size of gh-pages branch (#2727)
  • Copy in Array constructor from DenseAxisArray (#2766)
  • Follow bang convention (#2767)
  • Make delete, is_valid and set_objective_coefficient consistent with other methods (#2769)
  • Add get/set_variable/constraint_attribute (#2770)
  • Should SparseAxisArray <: AbstractArray? (#2783)
  • Fix DiffRules compat (#2793)

Merged pull requests:

  • Fix bug broadcasting constraints with sparse terms (#2558) (@odow)
  • [breaking] Ignore infinite variable bounds (#2618) (@odow)
  • Add vector of scalar variables with in syntax (#2657) (@joaquimg)
  • Style guide: using Foo: Foo is an acceptable substitute for import Foo (#2682) (@DilumAluthge)
  • Add MadNLP.jl to suppported solvers (#2684) (@sshin23)
  • Improve error message of unsupported constraints (#2685) (@odow)
  • Fix performance of show on SparseAxisArray (#2686) (@odow)
  • [docs] Clarify read_from_file does not register names (#2687) (@odow)
  • [docs] Clarify callback gotchas (#2688) (@odow)
  • [Containers] add Array constructor for DenseAxisArray (#2689) (@odow)
  • Make NonlinearExpression <: AbstractJuMPScalar (#2690) (@odow)
  • Move release notes to documentation (#2691) (@odow)
  • [docs] update build to Julia 1.6 (#2693) (@odow)
  • [breaking] remove deprecated LP sensitivity (#2694) (@odow)
  • [breaking] update to MOI v0.10 (#2695) (@odow)
  • Fix barrier/simplex iteration swap in summary (#2698) (@blegat)
  • [breaking] rename .m field of some structs to .model (#2699) (@odow)
  • [docs] Fix invalid local links (#2700) (@odow)
  • [breaking] make ::Function first argument of value (#2701) (@odow)
  • Remove variable_type and constraint_type (#2702) (@odow)
  • Fix deprecation of VectorQuadraticFunction (#2703) (@odow)
  • Do not set Name attributes if unsupported (#2704) (@odow)
  • Only shift constant if supported (#2705) (@odow)
  • Warn when copying unknown extension data (#2706) (@odow)
  • [Containers] Implement Base.hash (#2707) (@odow)
  • Throw better error for singular macros (#2708) (@odow)
  • [breaking] Reset model to OPTIMIZE_NOT_CALLED if model is modified after optimize (#2709) (@odow)
  • Add primal_feasibility_report(::Function (#2710) (@odow)
  • Improve error for non-constant Interval constraints (#2712) (@odow)
  • [Containers] convert axes to AbstractVector in DenseAxisArray (#2713) (@odow)
  • Clarify documentation of build_variable (#2714) (@odow)
  • [docs] Document zero and one gotchas for expressions (#2716) (@odow)
  • Clean up NLparameter macro and improve tests (#2718) (@odow)
  • [breaking] Add anonymous NLparameters and registered named parameters (#2719) (@odow)
  • [docs] Clarify user-defined containers (#2720) (@odow)
  • Refactor test/macros.jl into functional form (#2722) (@odow)
  • Add proper benchmarking scripts (#2723) (@odow)
  • Doc cleanup workflow (#2724) (@guilhermebodin)
  • Add better error messages for vectors passed as variable bounds (#2725) (@odow)
  • [docs] add examples to extension documentation (#2726) (@odow)
  • Improve error message for invalidly named containers (#2728) (@odow)
  • Add error message for variable comparison with number (#2729) (@odow)
  • Warn if DenseAxisArray is passed Number as axis (#2730) (@odow)
  • [breaking] Make moi_xxx functions private (#2731) (@odow)
  • [breaking] Deprecate SDconstraint and add new syntax for PSDCone constraints (#2732) (@odow)
  • Add set inequality syntax for any set (#2733) (@odow)
  • Don't return MA.Zero from expressions (#2734) (@odow)
  • [breaking] refactor the parse_constraint methods (#2736) (@odow)
  • Fixing a missed case in the OR logic in tips_and_tricks.jl (#2737) (@jlwether)
  • [docs] Improve documentation for name and set_name (#2738) (@odow)
  • Set names for anonymous constraints (#2739) (@odow)
  • Add a test for reordering kwargs in macros (#2740) (@odow)
  • Add fallbacks for == 0 of expressions (#2741) (@odow)
  • [docs] Clarify usage of set_optimizer and add docs for relax_integrality (#2742) (@odow)
  • [docs] move contributing guide to docs and expand (#2743) (@odow)
  • [breaking] remove unused Containers.generate_container (#2744) (@odow)
  • [docs] variety of minor changes (#2745) (@odow)
  • [Containers] cleanup and document the macro API (#2746) (@odow)
  • [docs] better clarify variable bound on LHS error (#2747) (@odow)
  • Style improvements to aff_expr.jl (#2749) (@odow)
  • [Containers] document nested and vectorized_product (#2751) (@odow)
  • Fix TODO items in print.jl (#2752) (@odow)
  • Fix incorrect auto register of splats (#2753) (@odow)
  • Relax type restriction in _parse_ref_sets (#2754) (@odow)
  • [docs] improve extensions.md (#2755) (@odow)
  • [breaking] Make moi_backend a concrete type and remove MANUAL mode (#2756) (@odow)
  • [docs] Various improvements to getting started tutorials (#2757) (@odow)
  • Work-around bug in MutableArithmetics (#2758) (@odow)
  • [docs] revise and improve power_systems tutorial (#2759) (@odow)
  • Build docs as a PDF (#2760) (@odow)
  • [docs] reorganization of tutorials (#2761) (@odow)
  • [Containers] maintenance of SparseAxisArray.jl (#2762) (@odow)
  • [docs] Various minor changes to the docs (#2763) (@odow)
  • Add release notes for 0.22 (#2764) (@odow)
  • Improve docstring links for xxx_status (#2765) (@odow)
  • [Containers] make Array copy the data (#2768) (@odow)
  • [docs] Use local image for space shuttle example (#2771) (@odow)
  • [docs] tweak intro docs and expand installation (#2772) (@odow)
  • [docs] edit the getting started tutorials (#2773) (@odow)
  • [Containers] throw nice error for size(::SparseAxisArray) (#2774) (@odow)
  • [docs] revise diet tutorial (#2775) (@odow)
  • [docs] revise cannery tutorial (#2776) (@odow)
  • [docs] revise diet tutorial II (#2777) (@odow)
  • [docs] add sets and indexing tutorial (#2778) (@odow)
  • [docs] update footer link to source files (#2779) (@odow)
  • Update to MOI 0.10.4 (#2780) (@odow)
  • [docs] fix admonition in callbacks.md (#2781) (@odow)
  • Export Result and Termination status codes (#2782) (@odow)
  • [docs] edit models.jl (#2785) (@odow)
  • [docs] Clarify MOI symbol imports (#2787) (@odow)
  • Update release_notes.md (#2789) (@odow)
  • Prep for v0.22 release (#2790) (@odow)
  • [docs] General edit for common tics (#2791) (@odow)
  • Temporarily limit DiffRules.jl compat (#2792) (@odow)
  • Revert PR2792 (#2795) (@odow)