Skip to content

removed: oracle keyword in NonLinMPC and MovingHorizonEstimator#323

Merged
franckgaga merged 4 commits intomainfrom
remove_legacy_splatting
Mar 4, 2026
Merged

removed: oracle keyword in NonLinMPC and MovingHorizonEstimator#323
franckgaga merged 4 commits intomainfrom
remove_legacy_splatting

Conversation

@franckgaga
Copy link
Member

@franckgaga franckgaga commented Mar 3, 2026

💀 BREAKING CHANGE 💀

The code now will always use VectorNonlinearOracle for the nonlinear constraints. This is a breaking change but the timing is good since it is now supported by most relevant nonlinear optimizers (Ipopt.jl, KNITRO.jl, MadNLP.jl and UnoSolver.jl). I also completely deleted the old legacy code/tests with the inefficient splatting syntax.

This means that peoples relying on e.g. NLopt.jl will need to stick to an old version of ModelPredictiveControl.jl.

…stimator`

The code now will always use `VectorNonlinearOracle` for the nonlinear constraints. This is a breaking change but the timing is good since it is now supported by most relevant nonlinear optimzers. I also completly deleted the old legacy code/tests for the inefficient splatting syntax.
@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.48%. Comparing base (6ca5bd4) to head (102703f).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
- Coverage   98.49%   98.48%   -0.01%     
==========================================
  Files          29       27       -2     
  Lines        5507     5165     -342     
==========================================
- Hits         5424     5087     -337     
+ Misses         83       78       -5     

☔ View full report in Codecov by Sentry.
📢 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.

@franckgaga franckgaga merged commit 307a542 into main Mar 4, 2026
5 checks passed
@franckgaga franckgaga deleted the remove_legacy_splatting branch March 4, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants