Skip to content

debug: correctly fill the nonlinear equality constraints for MovingHorizonEstimator with non-SingleShooting - #426

Merged
franckgaga merged 3 commits into
mainfrom
debug_mhe_tc
Aug 12, 2026
Merged

debug: correctly fill the nonlinear equality constraints for MovingHorizonEstimator with non-SingleShooting#426
franckgaga merged 3 commits into
mainfrom
debug_mhe_tc

Conversation

@franckgaga

@franckgaga franckgaga commented Aug 12, 2026

Copy link
Copy Markdown
Member

For MultipleShooting and TrapezoidalCollcation with NonLinModel, the vector was not correctly filled when $N_k < H_e$ (at the beginning). As a consequence, a getinfo call was crashing when $N_k < H_e$. I'm adding a new getinfo test to catch this.

The correct number of nonlinear equality constraints for the MovingHorizonEstimator with these transcriptions is nx*Nk (not nx̂*Nk, the defects of the stochastic states, the integrating states, are excluded).

@codecov-commenter

codecov-commenter commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.36%. Comparing base (56aa83a) to head (2d34426).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #426   +/-   ##
=======================================
  Coverage   98.36%   98.36%           
=======================================
  Files          29       29           
  Lines        6229     6229           
=======================================
  Hits         6127     6127           
  Misses        102      102           

☔ 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 376d683 into main Aug 12, 2026
5 checks passed
@franckgaga
franckgaga deleted the debug_mhe_tc branch August 12, 2026 19:36
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