Repository navigation
Widen LinearMPC compat to 0.11 - #157
Merged
Merged
Conversation
LinearMPC 0.11 changes the DAQPBase dependency and the internal QP struct; the constructor MPC(F, G; ...) and set_objective!/set_bounds!, which the extension calls, are unchanged. test/test_linearmpc_ext.jl passes with LinearMPC 0.11. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Widens the weak compat of the LinearMPC extension from
0.7, 0.8, 0.9, 0.10to include0.11.LinearMPC 0.11 (the current main branch of darnstrom/LinearMPC.jl, not yet registered) moves to DAQPBase 0.6 and adds a Cholesky factor to its internal QP struct. The functions the extension calls,
LinearMPC.MPC(F, G; Ts, C, Np, Nc),set_objective!andset_bounds!, are unchanged.test/test_linearmpc_ext.jlpasses against LinearMPC 0.11.0 (baggepinnen/LinearMPC.jl#mpcc-integration, which contains darnstrom/LinearMPC.jl main).Without this change, an environment that contains LinearMPC 0.11 can only resolve RobustAndOptimalControl ≤ 0.4.46, which also holds back Optim and NLSolversBase. This is the case for the test environment of JuliaComputing/MPCComponents.jl, which reaches RobustAndOptimalControl through ControlSystemsMTK.
Host: demeter2 · Session: 811dea09-648c-4870-a9be-f0f73a9c184e
🤖 Generated with Claude Code