Skip to content

Update for CTModels v0.9.15-beta API changes#770

Merged
ocots merged 2 commits intomainfrom
bump-compat-and-release
Apr 21, 2026
Merged

Update for CTModels v0.9.15-beta API changes#770
ocots merged 2 commits intomainfrom
bump-compat-and-release

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots 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
@ocots ocots added run ci cpu Trigger CI on CPU run documentation Trigger Documentation and removed run ci cpu Trigger CI on CPU labels Apr 21, 2026
- 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
@ocots ocots merged commit 4c22d34 into main Apr 21, 2026
8 checks passed
@ocots ocots deleted the bump-compat-and-release branch April 21, 2026 12:43
@ocots ocots mentioned this pull request Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run ci cpu Trigger CI on CPU run documentation Trigger Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant