Skip to content

Widen LinearMPC compat to 0.11 - #157

Merged
baggepinnen merged 1 commit into
masterfrom
compat/linearmpc-0.11
Oct 1, 2026
Merged

baggepinnen merged 1 commit into
masterfrom
compat/linearmpc-0.11

Conversation

@baggepinnen

Copy link
Copy Markdown
Member

Widens the weak compat of the LinearMPC extension from 0.7, 0.8, 0.9, 0.10 to include 0.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! and set_bounds!, are unchanged. test/test_linearmpc_ext.jl passes 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

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>
@baggepinnen
baggepinnen merged commit 50a8f18 into master Oct 1, 2026
2 checks passed
@baggepinnen
baggepinnen deleted the compat/linearmpc-0.11 branch October 1, 2026 13:31
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.

1 participant