Add Gauss-Legendre 2 stagewise scheme#582
Merged
PierreMartinon merged 15 commits intomainfrom Apr 17, 2026
Merged
Conversation
Contributor
- Uncomment main test suite in runtests.jl - Add new test for stagewise discretization with Gauss-Legendre 2 - Run both CPU/GPU tests and new stagewise test
Member
Author
|
@vmerc See https://github.com/control-toolbox/DevelopmentGuide/blob/main/local-registry-guide.md to make a Beta release. |
Member
Author
|
@vmerc I have created a |
ocots
commented
Apr 15, 2026
| else | ||
| # CPU: run all scripts in subfolder ci/ | ||
| include.(filter(contains(r".jl$"), readdir("./ci"; join=true))) | ||
| test_stagewise() |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #582 +/- ##
==========================================
+ Coverage 72.25% 75.19% +2.94%
==========================================
Files 12 13 +1
Lines 1128 1274 +146
==========================================
+ Hits 815 958 +143
- Misses 313 316 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
PierreMartinon
left a comment
There was a problem hiding this comment.
- stagewise is now the default for GL2 and GL3 scheme, with options
gauss_legendre_2|3_constant_controlfor the stepwise controls - solution currently outputs the 'averaged' control at each step, not the individual stage controls (which could be retrieved with a bit of work in the high-level generic getter)
- manual sparsity patterns are not available yet, but should not be too difficult to adapt from the stepwise control formulation
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.
No description provided.