Skip to content

Restore deletion of variable bounds - #565

Merged
blegat merged 1 commit into
mainfrom
bl/restore-bound-deletion
Dec 5, 2026
Merged

blegat merged 1 commit into
mainfrom
bl/restore-bound-deletion

Conversation

@blegat

@blegat blegat commented Dec 5, 2026

Copy link
Copy Markdown
Member

Add support for deletion thanks to jump-dev/MathOptInterface.jl#3155. Deletion of variables was removed by mistake in #548. This caused regression on Pavito and Alpine which was detected by https://github.com/jump-dev/MathOptInterface.jl/actions/runs/47418355374

Forward deletion to the nonlinear model and invalidate the existing Ipopt problem so the next solve uses the new bounds. Require MOI 1.56, which supports deleting variable bounds through the nonlinear model layers.

Exercise all four bound types on the unwrapped optimizer, and reoptimize after deleting each bound.
@codecov

codecov Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cfb9d34) to head (e86a537).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #565   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          880       884    +4     
=========================================
+ Hits           880       884    +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@blegat
blegat merged commit 5434717 into main Dec 5, 2026
13 checks passed
@blegat
blegat deleted the bl/restore-bound-deletion branch December 5, 2026 14:52
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.

1 participant