Skip to content

Variable adjoint#176

Merged
ocots merged 2 commits intomainfrom
variable-adjoint
Apr 6, 2026
Merged

Variable adjoint#176
ocots merged 2 commits intomainfrom
variable-adjoint

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented Apr 6, 2026

No description provided.

ocots added 2 commits April 6, 2026 13:46
- Add augment::Bool=false keyword to OptimalControlFlow point evaluation
- When augment=true, compute costate pv(tf) associated with variable v
- Implementation uses Flow(Hamiltonian(H_aug)) to avoid ::ctVector issues
- rhs_augmented kept as documented utility (fails with OCP Hamiltonians)
- Comprehensive test suite with 55 tests covering all cases
- Supports scalar/vector states and variables
- Proper error handling for Fixed models and trajectory calls
- Version bump to 0.8.23-beta
- Document augment=true keyword feature
- Add comprehensive changelog entry with 55 tests
- Note implementation details and fixes
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.16%. Comparing base (9951e77) to head (fd7e1ab).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #176       +/-   ##
===========================================
- Coverage   94.16%   80.16%   -14.00%     
===========================================
  Files          15       15               
  Lines         685      716       +31     
===========================================
- Hits          645      574       -71     
- Misses         40      142      +102     

☔ View full report in Codecov by Sentry.
📢 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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

Breakage test results
Date: 2026-04-06 12:18:22

Name Latest Stable
OptimalControl compat: v0.8.22-beta compat: v0.8.22-beta

@ocots ocots merged commit c941df2 into main Apr 6, 2026
26 checks passed
@ocots ocots deleted the variable-adjoint branch April 6, 2026 14:02
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