Skip to content

Commit 39912cc

Browse files
committed
Update for CTModels v0.9.15-beta API changes
- 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
1 parent 617456f commit 39912cc

12 files changed

Lines changed: 304 additions & 86 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ BenchmarkTools = "1"
2727
CTBase = "0.18"
2828
CTDirect = "1"
2929
CTFlows = "0.8"
30-
CTModels = "0.9, 0.10"
30+
CTModels = "0.10"
3131
CTParser = "0.8"
3232
CTSolvers = "0.4"
3333
CUDA = "5"

docs/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ADNLPModels = "0.8"
3131
CTBase = "0.18"
3232
CTDirect = "1"
3333
CTFlows = "0.8"
34-
CTModels = "0.9"
34+
CTModels = "0.10"
3535
CTParser = "0.8"
3636
CTSolvers = "0.4"
3737
CUDA = "5"
@@ -53,4 +53,4 @@ NonlinearSolve = "4"
5353
OrdinaryDiffEq = "6"
5454
Plots = "1"
5555
UnoSolver = "0.3"
56-
julia = "1.10"
56+
julia = "1.10"

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ cp(
153153
Draft = false
154154
```
155155
=#
156-
draft = false # Draft mode: if true, @example blocks in markdown are not executed
156+
draft = true # Draft mode: if true, @example blocks in markdown are not executed
157157

158158
# ═══════════════════════════════════════════════════════════════════════════════
159159
# Load extensions

docs/src/api/public.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ costate
5555
criterion
5656
@def
5757
definition
58+
expression
5859
describe
5960
dim_boundary_constraints_nl
60-
dim_control_constraints_box
61+
dim_dual_control_constraints_box
62+
dim_dual_state_constraints_box
63+
dim_dual_variable_constraints_box
6164
dim_path_constraints_nl
62-
dim_state_constraints_box
63-
dim_variable_constraints_box
6465
dimension
6566
discretize
6667
dual
@@ -76,6 +77,11 @@ has_free_initial_time
7677
has_lagrange_cost
7778
has_mayer_cost
7879
has_option
80+
has_variable
81+
is_variable
82+
has_control
83+
is_control_free
84+
has_abstract_definition
7985
id
8086
import_ocp_solution
8187
index
@@ -86,6 +92,9 @@ initial_time_name
8692
is_autonomous
8793
is_computed
8894
is_default
95+
is_abstractly_defined
96+
is_nonautonomous
97+
is_nonvariable
8998
is_empty
9099
is_empty_time_grid
91100
is_final_time_fixed

docs/src/assets/Manifest.toml

Lines changed: 47 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/assets/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ADNLPModels = "0.8"
3131
CTBase = "0.18"
3232
CTDirect = "1"
3333
CTFlows = "0.8"
34-
CTModels = "0.9"
34+
CTModels = "0.10"
3535
CTParser = "0.8"
3636
CTSolvers = "0.4"
3737
CUDA = "5"
@@ -53,4 +53,4 @@ NonlinearSolve = "4"
5353
OrdinaryDiffEq = "6"
5454
Plots = "1"
5555
UnoSolver = "0.3"
56-
julia = "1.10"
56+
julia = "1.10"

0 commit comments

Comments
 (0)