Skip to content

Commit 4b21e68

Browse files
committed
doc: changed the bounds
1 parent a4ea7b5 commit 4b21e68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/src/manual/nonlinmpc2.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ He = 8; hessian = true
307307
σQ = [0.5e-3, 0.5e-3, 0.9e-3]; σR=[0.05]; σP_0 = [0.05, 0.05, 1e-3]
308308
mhe = MovingHorizonEstimator(model; nint_ym, nint_u, He, hessian, σQ, σR, σP_0)
309309
using JuMP; unset_time_limit_sec(mhe.optim) # no wall time limit during optimization
310-
mhe = setconstraint!(mhe, x̂min=[0, 0, 0], âmin=[0], âmax=[14])
310+
mhe = setconstraint!(mhe, x̂min=[0, 0, 0], âmin=[1.0], âmax=[14.0])
311311
```
312312

313313
The state constraints are shown in round brackets next to the decision variables. There are

0 commit comments

Comments
 (0)