Skip to content

doc: reverting to Cwt=1e5 for the pendulum in manual#386

Merged
franckgaga merged 1 commit into
mainfrom
manual_custom_con
Jun 23, 2026
Merged

doc: reverting to Cwt=1e5 for the pendulum in manual#386
franckgaga merged 1 commit into
mainfrom
manual_custom_con

Conversation

@franckgaga

@franckgaga franckgaga commented Jun 23, 2026

Copy link
Copy Markdown
Member

This is the tuning for this specific solver that leads to no constraint violation. Note that constraint violations are normal and expected if there is modeling mismatch like in this example. But the objective of the manual is to present simple case study. I don't want to enter into the details of constraint violation under plant-model mistmatch here, it is already discussed in the last section for LinMPC. Conclusion: let's opt for a tight tuning that suppresses the constraint violation, even if it's not the most robust one.

Related to #384. I kept the Cwt=1e4 tuning in the benchmark suite.

This is the tuning for this specific solver that leads to minimal constraint violation. Note that constraint violation are normal and expected if there is modeling mismatch like in this example. But the objective of the manual is to present simple case study. I don't want to enter into the details of constraint violation under plant-model mistmatch here, it is already discussed in the last section for `LinMPC`.
@franckgaga franckgaga merged commit 021349a into main Jun 23, 2026
5 checks passed
@franckgaga franckgaga deleted the manual_custom_con branch June 23, 2026 14:27
@codecov-commenter

codecov-commenter commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.60%. Comparing base (95a3223) to head (80511cb).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #386   +/-   ##
=======================================
  Coverage   98.60%   98.60%           
=======================================
  Files          27       27           
  Lines        5595     5595           
=======================================
  Hits         5517     5517           
  Misses         78       78           

☔ 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.

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