Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/src/assets/Manifest.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/src/modelling/abstract-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ nothing # hide
```

!!! warning
Constraint bounds must be *effective*, that is must not depend on a variable. For instance, the following is rejected (the message is currently not explicit — the cause is `x₂(0) == v` using the variable `v` as a bound):
A constraint *bound* must be constant — it may not depend on the variable, the state, the control or the time. The following is rejected, with a message naming the cause:

```@repl abs
try # hide
Expand All @@ -432,7 +432,7 @@ nothing # hide
u ∈ R, control
-1 ≤ v ≤ 1
x₁(0) == -1
x₂(0) == v # wrong: the bound is not effective (it depends on the variable)
x₂(0) == v # wrong: the bound v depends on the variable
x(1) == [0, 0]
ẋ(t) == [x₂(t), u(t)]
∫(0.5u(t)^2) → min
Expand All @@ -442,7 +442,7 @@ nothing # hide
end # hide
```

Write instead a boundary constraint, which *may* involve the variable:
Write instead a boundary constraint, moving the term to the constrained side — that side *may* involve the variable:

```@example abs
@def begin
Expand Down
Loading