Skip to content

Feature/config dependent options#207

Merged
ocots merged 7 commits into
developfrom
feature/config-dependent-options
May 4, 2026
Merged

Feature/config dependent options#207
ocots merged 7 commits into
developfrom
feature/config-dependent-options

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented May 4, 2026

No description provided.

ocots added 2 commits May 4, 2026 21:54
- Add Integrators.build_options contract to abstract_integrator.jl
- Make SciML struct parametric with cached options_point and options_trajectory
- Update dense, save_everystep, save_start metadata to use Union{Bool, Symbol} with :auto default
- Pre-compute config-specific options in builder using CTSolvers internal API
- Add 3-arg solve_problem signature (no backward compatibility)
- Update calling.jl to call build_options and pass resolved options
- Update all test files with new signatures and add config-dependent options tests
- Add docstrings for new methods

Options behavior:
- PointConfig → dense=false, save_everystep=false, save_start=false
- TrajectoryConfig → dense=true, save_everystep=true, save_start=true
- Explicit values override :auto

All 663 tests passing.
- Document _AUTO_OPTION_KEYS constant with :auto resolution explanation
- Add comprehensive docstring to build_sciml_integrator following docstrings.md template
- Explain :auto sentinel behavior for PointConfig vs TrajectoryConfig
- Add Arguments, Returns, Notes, and See also sections with proper @ref cross-references
OT is used as a type parameter name in SciML struct (options_trajectory type parameter)
@ocots
Copy link
Copy Markdown
Member Author

ocots commented May 4, 2026

Use control-toolbox/CTSolvers.jl#131 before merging, when the new release is out!

@ocots ocots marked this pull request as draft May 4, 2026 21:20
ocots added 3 commits May 4, 2026 23:22
Replace internal API call with public Options.options_dict(opts) now available
in CTSolvers v0.4.17, simplifying the code.
@ocots ocots marked this pull request as ready for review May 4, 2026 21:38
@ocots ocots added the run ci cpu Trigger CI CPU label May 4, 2026
Update to use the new public API Strategies.options_dict(opts::StrategyOptions)
added in CTSolvers v0.4.17 for direct conversion from StrategyOptions to Dict.
@ocots ocots merged commit 66917dd into develop May 4, 2026
8 checks passed
@ocots ocots deleted the feature/config-dependent-options branch May 4, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run ci cpu Trigger CI CPU

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant