Skip to content

Prep for v1.43.0#2808

Merged
odow merged 4 commits into
masterfrom
od/v1.43.0
Aug 21, 2025
Merged

Prep for v1.43.0#2808
odow merged 4 commits into
masterfrom
od/v1.43.0

Conversation

@odow

@odow odow commented Aug 12, 2025

Copy link
Copy Markdown
Member

Blocked by

Basic

  • version field of Project.toml has been updated
    - If a breaking change, increment the MAJOR field and reset others to 0
    - If adding new features, increment the MINOR field and reset PATCH to 0
    - If adding bug fixes or documentation changes, increment the PATCH field

Documentation

  • Add a new entry to docs/src/changelog.md, following existing style

Tests

Comment thread docs/src/changelog.md Outdated
Comment thread docs/src/changelog.md Outdated
Comment thread docs/src/changelog.md
Comment thread docs/src/changelog.md
@odow

odow commented Aug 13, 2025

Copy link
Copy Markdown
Member Author

So Pajarito is still failing. It looks related. I need to take a closer look

@odow

odow commented Aug 17, 2025

Copy link
Copy Markdown
Member Author
julia> import MathOptInterface as MOI

julia> import Pajarito, SCS, HiGHS

julia> solver = MOI.OptimizerWithAttributes(
           Pajarito.Optimizer,
           "oa_solver" => MOI.OptimizerWithAttributes(HiGHS.Optimizer),
           "conic_solver" => MOI.OptimizerWithAttributes(SCS.Optimizer),
       );

julia> model = MOI.instantiate(solver; with_bridge_type = Float64);

julia> x, _ = MOI.add_constrained_variable(model, MOI.Interval(0.0, 1.0));

julia> MOI.delete(model, x)
ERROR: The index MathOptInterface.ConstraintIndex{MathOptInterface.VectorOfVariables, MathOptInterface.HyperRectangle{Float64}}(-1) is invalid. Note that an index becomes invalid after it has been deleted.
Stacktrace:
  [1] throw_if_not_valid
    @ ~/.julia/dev/MathOptInterface/src/indextypes.jl:116 [inlined]
  [2] delete(b::MathOptInterface.Bridges.LazyBridgeOptimizer{…}, ci::MathOptInterface.ConstraintIndex{…})
    @ MathOptInterface.Bridges ~/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:668
  [3] delete
    @ ~/.julia/dev/MathOptInterface/src/Bridges/Constraint/bridges/IntervalToHyperRectangleBridge.jl:98 [inlined]
  [4] #11
    @ ~/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:690 [inlined]
  [5] call_in_context(map::MathOptInterface.Bridges.Variable.Map, bridge_index::Int64, f::MathOptInterface.Bridges.var"#11#12"{})
    @ MathOptInterface.Bridges.Variable ~/.julia/dev/MathOptInterface/src/Bridges/Variable/map.jl:621
  [6] call_in_context(map::MathOptInterface.Bridges.Variable.Map, ci::MathOptInterface.ConstraintIndex{…}, f::Function)
    @ MathOptInterface.Bridges.Variable ~/.julia/dev/MathOptInterface/src/Bridges/Variable/map.jl:652
  [7] delete(b::MathOptInterface.Bridges.LazyBridgeOptimizer{…}, ci::MathOptInterface.ConstraintIndex{…})
    @ MathOptInterface.Bridges ~/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:687
  [8] _delete_variables_in_variables_constraints(b::MathOptInterface.Bridges.LazyBridgeOptimizer{…}, vis::Vector{…})
    @ MathOptInterface.Bridges ~/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:531
  [9] delete(b::MathOptInterface.Bridges.LazyBridgeOptimizer{…}, vi::MathOptInterface.VariableIndex)
    @ MathOptInterface.Bridges ~/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:636
 [10] top-level scope
    @ REPL[240]:1
Some type information was truncated. Use `show(err)` to see complete types.

@odow

odow commented Aug 17, 2025

Copy link
Copy Markdown
Member Author

Blocked by #2817

@odow

odow commented Aug 19, 2025

Copy link
Copy Markdown
Member Author

Should be good to merge and tag once https://github.com/jump-dev/MathOptInterface.jl/actions/runs/17079072856 finishes

Comment thread docs/src/changelog.md Outdated
@odow odow merged commit 6479b1f into master Aug 21, 2025
31 checks passed
@odow odow deleted the od/v1.43.0 branch August 21, 2025 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Legacy and standard constraint/objective macros represent ^2 differently in nonlinear expressions

1 participant