Skip to content

debug: setconstraint! for MHE and softness parameter arguments now works#387

Merged
franckgaga merged 3 commits into
mainfrom
debug_mhe_setconstraint
Jun 23, 2026
Merged

debug: setconstraint! for MHE and softness parameter arguments now works#387
franckgaga merged 3 commits into
mainfrom
debug_mhe_setconstraint

Conversation

@franckgaga

@franckgaga franckgaga commented Jun 23, 2026

Copy link
Copy Markdown
Member

Setting the softness parameters $\mathbf{c_{(\bullet)}}$ was not working at all for the MovingHorizonEstimator in the case of linear inequality constraints. The slack variable $\varepsilon$ is a the beginning of the decision vector for the MHE, so the weights is the first column of the $\mathbf{A}$ matrices for the inequality constraints.

I will add new constraint violation tests to verify this more rigorously.

It was not working at all in the case of linear inequality constraints. I will add constraint violation test to verify this more rigorously.
@franckgaga franckgaga changed the title debug: setconstraint! for MHE and softness parameters now work debug: setconstraint! for MHE and softness parameter arguments now works Jun 23, 2026
@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 (021349a) to head (c9e0646).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #387   +/-   ##
=======================================
  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.

@franckgaga franckgaga merged commit 3d69aa0 into main Jun 23, 2026
5 checks passed
@franckgaga franckgaga deleted the debug_mhe_setconstraint branch June 23, 2026 22:08
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