Skip to content

Commit 40570bf

Browse files
committed
doc: transcription argument
1 parent 3ed42e4 commit 40570bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controller/nonlinmpc.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ This controller allocates memory at each time step for the optimization.
169169
not (details in Extended Help).
170170
- `nc=0` : number of custom inequality constraints.
171171
- `p=model.p` : ``J_E`` and ``\mathbf{g_c}`` functions parameter ``\mathbf{p}`` (any type).
172+
- `transcription=:singleshooting` : transcription method for the nonlinear optimization
173+
problem, can be `:singleshooting`, `:multipleshoting` or `:directcollocation`.
172174
- `optim=JuMP.Model(Ipopt.Optimizer)` : nonlinear optimizer used in the predictive
173175
controller, provided as a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/api/JuMP/#JuMP.Model)
174176
(default to [`Ipopt`](https://github.com/jump-dev/Ipopt.jl) optimizer).

0 commit comments

Comments
 (0)