Skip to content

Releases: jump-dev/MathOptInterface.jl

v1.25.0

05 Jan 21:20
79455ba
Compare
Choose a tag to compare

MathOptInterface v1.25.0

Diff since v1.24.0

Merged pull requests:

  • Add AutomaticDifferentiationBackend (#2386) (@odow)
  • [Nonlinear] fix initialize for ExprGraphOnly (#2387) (@odow)
  • Fix converting 0-valued Scalar(Affine,Quadratic)Function to Nonlinear (#2388) (@odow)
  • Prep for v1.25.0 (#2389) (@odow)
  • [FileFormats.NL] ignore, rather than error, when names are given (#2390) (@odow)
  • [FileFormats.NL] fix reading file with no objective (#2391) (@odow)
  • [FileFormats.NL] fix support for reading free constraints (#2392) (@odow)

Closed issues:

  • Add AutomaticDifferentiationBackend attribute (#2385)

v1.24.0

02 Jan 08:20
64f1bd8
Compare
Choose a tag to compare

MathOptInterface v1.24.0

Diff since v1.23.0

Merged pull requests:

  • SnoopComile -> SnoopCompile (#2355) (@blegat)
  • Simpler side_dimension_for_vectorized_dimension (#2356) (@blegat)
  • Run all tests against bridged SDPA model (#2357) (@blegat)
  • Fix RSOCtoPSD bridge for dimension 2 (#2359) (@blegat)
  • [Bridges] Fix ConstraintFunction getter of conversion bridge with small rounding errors (#2360) (@blegat)
  • [Bridges] Fix ConstraintIndex conflicts between variable and constraint bridges (#2362) (@blegat)
  • Standalone StandardSDPAModel (#2364) (@blegat)
  • Ignore SlackBridgePrimalDualStart for non-Slack bridge (#2365) (@blegat)
  • Fix map_indices with attributes (#2367) (@blegat)
  • Add DiffOpt and ParametricOptInterface to solver-tests.yml (#2368) (@odow)
  • Allow get to return non-nothing (#2370) (@blegat)
  • Fix order of model attributes during copy_to (#2372) (@odow)
  • [Utilities.CachingOptimizer] Enable fallback for ConstraintDual of variable indices (#2373) (@blegat)
  • [docs] fix changelog.md (#2374) (@odow)
  • [Bridges] fix BoundAlreadySet errors (#2376) (@odow)
  • [Bridges] Fix deletion corner cases (#2377) (@blegat)
  • [Bridges] Fix ListOfVariablesWithAttributeSet (#2380) (@blegat)
  • Prep for v1.24.0 (#2381) (@odow)
  • [Bridges] Throw in Constraint.SlackBridge if scalar constant is nonzero (#2382) (@blegat)
  • [Bridges] Throw for bound already set on bridged variable (#2383) (@blegat)

Closed issues:

  • Scalarize bridge error (#2363)
  • Order of model attributes during copy (#2366)
  • [Bridges] bug with multiple variable bounds (#2375)
  • Can I submit multiple constraints in the callback function? (#2378)

v1.23.0

29 Nov 22:08
77d6b6f
Compare
Choose a tag to compare

MathOptInterface v1.23.0

Diff since v1.22.0

Merged pull requests:

  • [Bridges] Add MOI.Bridge.FirstBridge attribute (#2211) (@blegat)
  • [Test] add verbose kwarg to MOI.Test.runtests (#2347) (@odow)
  • [Bridges] add ConstraintPrimalStart for GeoMeanBridge (#2348) (@blegat)
  • Fix requirees for test_model_Name_VariableName_ConstraintName (#2349) (@odow)
  • [Utilities] improve errors and docstrings for querying attributes (#2350) (@odow)
  • Prep for v1.23.0 (#2353) (@odow)

Closed issues:

  • Attributes simultaneously set by the user and by the optimizer (#2345)
  • Test does not check for supports properly (#2346)
  • MOI.get on attribute where is_set_by_optimizer = true and TerminationStatus = OPTIMIZE_NOT_CALLED (#2352)

v1.22.0

06 Nov 21:44
cc50e67
Compare
Choose a tag to compare

MathOptInterface v1.22.0

Diff since v1.21.0

Merged pull requests:

  • [Bridges] add {SOS1,SOS2,Indicator}ToMILPBridge (#2318) (@odow)
  • [Bridges] fix VectorNonlinearFunction support in NormOne and NormInfinty bridges (#2324) (@odow)
  • [Test] allow skipping ScalarFunctionConstantNotZero errors (#2325) (@odow)
  • [docs] fix docstring of ScalarAffineFunction (#2326) (@odow)
  • [Bridges] fix some getters of ConstraintFunction and add better tests (#2328) (@odow)
  • Improve error message unsupported attribute for bridges (#2329) (@blegat)
  • Implement starting values for Variable.Hermitian bridge (#2330) (@blegat)
  • Add ListOfVariablesWithAttributeSet and ListOfConstraintsWithAttributeSet (#2331) (@odow)
  • Add Gurobi to solver-tests.yml (#2332) (@odow)
  • [docs] add more docs for implementing a bridge (#2334) (@odow)
  • [Utilities] print the name of scalar constraints in print(::ModelLike) (#2336) (@odow)
  • [Bridges] add VariablePrimalStart support to ParameterToEqualTo and RSOCtoPSD (#2337) (@odow)
  • [Bridges] add support for start values in NumberConversionBridge (#2338) (@odow)
  • [Bridges] add support for Constraint{Primal,Dual}Start to SquareBridge (#2339) (@odow)
  • [Bridges] fix supports of Constraint and Variable starts for some bridges (#2340) (@odow)
  • Prep for v1.22 (#2341) (@odow)
  • Fix ListOfConstraintsWithAttributeSet for AbstractBridgeOptimizer (#2343) (@odow)
  • Fix compat bounds in Project.toml (#2344) (@odow)

Closed issues:

  • FileFormats.CBF: support constrained variables (#1402)
  • Explain bridges in the documentation (better) (#1504)
  • promote not working (#1785)
  • Indicator and SOS to MILP bridges (#2316)
  • Get list of indices with non-default attribute values (#2317)
  • Getting ConstraintFunction on norm cones with nonlinear functions fails (#2323)
  • Starting value in unsupported bridge errors instead of skipping (#2327)
  • Print a constraint with Name (#2335)
  • ListOfConstraintsWithAttributeSet broken for bridges (#2342)

v1.21.0

25 Oct 08:40
67085f1
Compare
Choose a tag to compare

MathOptInterface v1.21.0

Diff since v1.20.1

Merged pull requests:

  • [Test] improve test_attribute_TimeLimitSec (#2256) (@odow)
  • Add SolutionLimit attribute (#2291) (@odow)
  • [FileFormats.MOF] add [email protected] support (#2293) (@odow)
  • Add ScalarQuadraticCoefficientChange (#2296) (@odow)
  • [docs] add arxiv.org to linkcheck_ignore because it is flakey (#2297) (@odow)
  • [FileFormats.MOF] add support for [email protected] (#2298) (@odow)
  • [FileFormats.MOF] rename to use_nlp_block and add documentation (#2299) (@odow)
  • [Utilities] add modify_constants for MOI.modify in MatrixOfConstraints (#2300) (@odow)
  • Add Objective.FunctionConversionBridge (#2303) (@blegat)
  • [docs] add preprint to accept.txt (#2304) (@odow)
  • [Nonlinear] add support for is_empty and empty! (#2305) (@odow)
  • [Bridges] add ModifyBridgeNotAllowed (#2307) (@odow)
  • Use conversion cost for Objective bridge (#2309) (@blegat)
  • Add stdlib compat to Project.toml (#2310) (@odow)
  • Add MOA to solver-tests.yml (#2312) (@odow)
  • [docs] fix set descriptions in standard_form.md (#2313) (@odow)
  • [Utilities] add more distance_to_set implementations (#2314) (@odow)
  • Prep for v1.21.0 (#2319) (@odow)
  • Fix test_modification_objective_scalarquadraticcoefficientchange (#2320) (@odow)
  • [FileFormats] revert change to extract_function_and_set (#2321) (@odow)
  • [Test] fix isapprox in test_modification_xxx_scalarquadraticcoefficientchange (#2322) (@odow)

Closed issues:

  • Abstract / alternative linear operator storage (#863)
  • MOI.modify for quadratic terms (#1208)
  • Support "nonscalar" variables (like complex numbers, intervals, sequences of intervals)? (#1253)
  • Implement modification of function constant for MatrixOfConstraints (#1748)
  • Implement Utilities.distance_to_set for more sets (#2033)
  • Optimizer option for solution limit (#2282)
  • [FileFormats.MOF] add VectorNonlinearFunction support (#2292)
  • Add extension support for PythonCall (#2301)
  • Implement empty! and is_empty for MOI.Nonlinear.Model (#2302)
  • Add ModifyNotAllowed instead of ModifyObjective/ConstraintNotAllowed (#2306)
  • [Utilities] Add support for filtering variables in ModelFilter (#2308)

v1.20.1

24 Sep 04:09
5c9db2e
Compare
Choose a tag to compare

MathOptInterface v1.20.1

Diff since v1.20.0

Merged pull requests:

  • Add MathOptSetDistances to solver tests (#2265) (@blegat)
  • Update to Documenter v1 (#2266) (@blegat)
  • [Test] rename Test module to avoid conflict with Base.Test (#2267) (@odow)
  • Fix various JET errors (#2269) (@odow)
  • Fix various JET errors in test_conic.jl (#2270) (@odow)
  • Fix various JET errors (#2271) (@odow)
  • [Utilities] remove keyword arguments from copy_to (#2272) (@odow)
  • Remove using Package in favor of explicit import Package (#2274) (@odow)
  • [Bridges] fix ConstraintDualStart for Constraint.SplitIntervalBridge (#2275) (@odow)
  • Fix various JET errors (#2276) (@odow)
  • Fix JET errors in bridge_optimizer.jl (#2277) (@odow)
  • Fix MethodError when trying to modify a variable objective (#2278) (@odow)
  • [Utilities] remove MOIU acronym (#2280) (@odow)
  • [Utilities] remove unecessary acronyms (#2281) (@odow)
  • [Utilities] Remove EMPTYSTRING (#2283) (@odow)
  • [Utilities] fix stackoverflow in operate(+,...) with many arguments (#2285) (@odow)
  • [Utilities] remove invalid and unused method (#2286) (@odow)
  • [Utilities] refactor src/Utilties/model.jl (#2287) (@odow)
  • Prep for v1.20.1 (#2288) (@odow)
  • Fix various JET errors (#2289) (@odow)
  • [Utilities] use foldl to avoid StackOverflow (#2290) (@blegat)

Closed issues:

  • Next-generation nonlinear (#846)
  • Tracking the time-to-first-solve issue (#1313)
  • Simplify handling of linear and quadratic derivatives for nonlinear solvers (#1397)
  • Add Parameter{T} <: AbstractScalarSet (#2094)
  • Order-maintaining copy_to (#2236)
  • Update ScaledPSDCone (#2260)
  • Diagnose and fix JET errors (#2268)
  • MOI.Utilities.operate StackOverflowError (#2284)

v1.20.0

09 Sep 20:05
82e5e58
Compare
Choose a tag to compare

MathOptInterface v1.20.0

Diff since v1.19.0

Merged pull requests:

  • Add Scaled{S<:AbstractSet} (#2237) (@blegat)
  • adding ObjectiveLimit attribute (#2257) (@matbesancon)
  • CompatHelper: bump compat for CodecBzip2 to 0.8, (keep existing compat) (#2258) (@github-actions[bot])
  • [Utilities] improve performance of ScalarNonlinearFunction utilities (#2259) (@odow)
  • Remove empty code sample in docstring (#2261) (@blegat)
  • Prep for v1.20.0 (#2262) (@odow)
  • [FileFormats.MOF] add support for Scaled set (#2263) (@odow)
  • [Bridges] fix adjoint functions in SetDotInverseScalingBridge (#2264) (@odow)

v1.19.0

16 Aug 07:25
8bb8ea9
Compare
Choose a tag to compare

MathOptInterface v1.19.0

Diff since v1.18.0

Closed issues:

  • x86 frequently fails in CI (#2183)
  • IntegerToZeroOne bridge (#2202)
  • MutableArithmetics/MathOptInterface ambiguity with v1.18.0 (#2222)
  • [FileFormats.LP] more parsing issues (#2223)
  • [FileFormats.NL] add support for ScalarNonlinearFunction (#2227)
  • Unsatisfiable requirements detected for package MathOptInterface (#2238)
  • Querying objective_value errors when quadratic objective has no quadratic term (conic solvers only) (#2239)
  • Nightly failing on CI (#2242)
  • [FileFormats.MOF] Allow MOF to read/write SAF/SQF{Int} (#2246)

Merged pull requests:

  • Add VectorNonlinearFunction (#2201) (@odow)
  • [Bridges] add IntegerToZeroOneBridge (#2205) (@odow)
  • [Utilities] fix various utilities for ScalarNonlinearFunction (#2218) (@odow)
  • [Utilities] add eval_variables support for ScalarNonlinearFunction (#2219) (@odow)
  • Fix method ambiguities and limit operate to Number subtypes (#2224) (@odow)
  • [FileFormats.LP] fix reading file with free variable and explicit bounds (#2225) (@odow)
  • [FileFormats.NL] add support for ScalarNonlinearFunction (#2228) (@odow)
  • Add extensions to solver-tests.yml (#2229) (@odow)
  • [Test] add require for ConstraintDual in test_nonlinear_duals (#2230) (@odow)
  • [FileFormats.NL] fix nested scalar affine and quadratic functions (#2231) (@odow)
  • Prep for v1.19.0 (#2232) (@odow)
  • [Bridges] add ScalarQuadraticToScalarNonlinearBridge (#2233) (@odow)
  • Refactor test/Benchmarks (#2234) (@odow)
  • [Bridges] add Constraint.FunctionConversionBridge (#2235) (@odow)
  • [Bridges] fix bug in QuadToSOCBridge getting ConstraintPrimal (#2240) (@odow)
  • [Test] fix various warnings in tests (#2241) (@odow)
  • [Test] fix duplicate method warnings in tests (#2243) (@odow)
  • [Bridges] various updates based on VectorNonlinearFunction changes (#2244) (@odow)
  • [Utilities] fix print for upcoming VectorNonlinearFunction (#2245) (@odow)
  • [FileFormats.MOF] support writing non-Float64 functions (#2247) (@odow)
  • Fix a typo in the docs (#2251) (@dourouc05)
  • Change to test x86 on latest release instead of LTS (#2252) (@odow)
  • Partition tests into multiple CI jobs to reduce runtime and memory pressure (#2253) (@odow)
  • Add VectorLazyMap (#2254) (@blegat)
  • Minor fix to docstring of SetMapBridge (#2255) (@blegat)

v1.18.0

23 Jun 01:40
9270560
Compare
Choose a tag to compare

MathOptInterface v1.18.0

Diff since v1.17.1

Closed issues:

  • More flexible AD (#2193)
  • Re-factor promote_operation and operate (#2203)
  • Splatting 1 variable : AssertionError: x.args[1] in data.operators.comparison_operators (#2220)

Merged pull requests:

  • [Bridges] add SlackBridgePrimalDualStart (#2194) (@odow)
  • Add missing @require in tests (#2195) (@blegat)
  • Require list of model attributes in tests (#2196) (@blegat)
  • Remove unused argument names (#2199) (@blegat)
  • Add constraint_gradient_structure and eval_constraint_gradient (#2200) (@odow)
  • Reduce memory requirement for tests (#2204) (@odow)
  • [Utilities] refactor promote_operation (#2206) (@odow)
  • Fix incorrect usage of Utilities.operate! (#2207) (@odow)
  • [Utillities] refactor operate, operate!, operate_term, operate_terms, operate_output_index! (#2208) (@odow)
  • [Utilities] style fixes for Utilities/mutable_arithmetics.jl (#2209) (@odow)
  • Remove unused argument (#2210) (@blegat)
  • [Utilities] simplify various operate_ methods (#2212) (@odow)
  • [Utilities] tidy Base overloads in functions.jl (#2213) (@odow)
  • [Utilities] tidy methods in functions.jl (#2214) (@odow)
  • [Utilities] add operate for ScalarNonlinearFunction (#2215) (@odow)
  • [Bridges] use operate in bridges instead of Base methods (#2216) (@odow)
  • Prep for v1.18.0 (#2217) (@odow)
  • [Nonlinear] fix splatting with a univariate operator (#2221) (@odow)

v1.17.1

07 Jun 00:02
d48ac54
Compare
Choose a tag to compare

MathOptInterface v1.17.1

Diff since v1.17.0

Closed issues:

  • test_model_ScalarFunctionConstantNotZero not working for non-isbits type (#2189)

Merged pull requests:

  • Add documentation for enum instances (#2186) (@odow)
  • [docs] fix linkcheck warning for jump.dev/chatroom (#2188) (@odow)
  • Fix comparison of ScalarFunctionConstantNotZero (#2190) (@odow)
  • [docs] build on Julia v1.9 (#2191) (@odow)
  • Prep for v1.17.1 (#2192) (@odow)