Skip to content

feat: Add control-free optimal control problems support#175

Merged
ocots merged 4 commits intomainfrom
173-feature-control-free
Apr 6, 2026
Merged

feat: Add control-free optimal control problems support#175
ocots merged 4 commits intomainfrom
173-feature-control-free

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented Apr 5, 2026

  • Add ControlFreeModel and WithControlModel type aliases for dispatch
  • Implement Flow(ocp) and Flow(ocp, g, μ) for control-free problems
  • Add new makeH variants passing Float64[] as control
  • Add __create_hamiltonian overloads for control-free OCPs
  • Add PreconditionError guards for existing Flow(ocp, u) methods
  • Add comprehensive tests (17 new tests, all passing)
  • Follow all project standards (SOLID, documentation, testing, exceptions)
  • Support state constraints and multipliers for control-free problems
  • Maintain full backward compatibility (45/45 tests passing)

Closes #173

- Add ControlFreeModel and WithControlModel type aliases for dispatch
- Implement Flow(ocp) and Flow(ocp, g, μ) for control-free problems
- Add new makeH variants passing Float64[] as control
- Add __create_hamiltonian overloads for control-free OCPs
- Add PreconditionError guards for existing Flow(ocp, u) methods
- Add comprehensive tests (17 new tests, all passing)
- Follow all project standards (SOLID, documentation, testing, exceptions)
- Support state constraints and multipliers for control-free problems
- Maintain full backward compatibility (45/45 tests passing)

Closes #173
@ocots ocots linked an issue Apr 5, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

Breakage test results
Date: 2026-04-06 08:29:24

Name Latest Stable
OptimalControl compat: v0.8.20 compat: v0.8.20

ocots added 3 commits April 6, 2026 09:43
- Remove See also: [](@ref) references
- Remove See also: [](@ref) references
- These references were causing documentation build errors
- Documentation is now clean and ready for deployment
- Bump version from 0.8.20 to 0.8.21-beta for control-free features
- Add comprehensive CHANGELOG entry for 0.8.21-beta with all control-free functionality
- Add missing 0.8.20 version entry for auto-formatter PR
- Document 17 new tests and 45 total passing tests
- Maintain changelog format standards with proper sectioning
@ocots ocots merged commit 9951e77 into main Apr 6, 2026
10 checks passed
@ocots ocots deleted the 173-feature-control-free branch April 6, 2026 08:48
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.

[Feature] Control-free

1 participant