Update for CTModels v0.9.15-beta API changes#770
Merged
Conversation
Member
ocots
commented
Apr 21, 2026
- Rename dim_constraints_box to dim_dual_constraints_box
- Add new predicates: has_variable, is_variable, has_control, is_control_free, has_abstract_definition, is_abstractly_defined, is_nonautonomous, is_nonvariable
- Add expression() function to extract Expr from AbstractDefinition
- Update manual-model.md: definition changes, new Model predicates section, box constraint tuple structure (added aliases field)
- Update manual-abstract.md: document box constraint intersection/deduplication
- Update manual-solution.md: document signed multiplier convention, add dim_dual_*constraints_box and dim{path,boundary}_constraints_nl
- Update api/public.md: function list
- Update test/README.md and .windsurf/rules/testing.md: add jtest convenience command and tee pattern for test output capture
- Rename dim_*_constraints_box to dim_dual_*_constraints_box
- Add new predicates: has_variable, is_variable, has_control, is_control_free,
has_abstract_definition, is_abstractly_defined, is_nonautonomous, is_nonvariable
- Add expression() function to extract Expr from AbstractDefinition
- Update manual-model.md: definition changes, new Model predicates section,
box constraint tuple structure (added aliases field)
- Update manual-abstract.md: document box constraint intersection/deduplication
- Update manual-solution.md: document signed multiplier convention,
add dim_dual_*_constraints_box and dim_{path,boundary}_constraints_nl
- Update api/public.md: function list
- Update test/README.md and .windsurf/rules/testing.md: add jtest convenience
command and tee pattern for test output capture
- Flatten manual-model.md and manual-solution.md TOC: promote component sections from ### to ## level for better sidebar navigation - Replace static Content lists with Documenter @contents blocks (Depth = 2) - Redistribute Model predicates across logical sections: - has_variable/is_variable/is_nonvariable → Variable section - has_control/is_control_free → Control section - has_abstract_definition/is_abstractly_defined → Problem definition - is_nonautonomous → Time dependence - Remove standalone Model predicates section - Fix constraint dimension functions: - Restore dim_state_constraints_box, dim_control_constraints_box, dim_variable_constraints_box for Model (constraint counts) - Keep dim_dual_*_constraints_box for Solution (dual dimensions) - Update imports, tests, and API documentation to include both families - Remove Draft = false meta blocks from markdown files (use make.jl draft mode) - Enable - Flatten manual-model.md and manual-solution.md TOC: promo
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.