@@ -197,7 +197,7 @@ the augmented process model and ``\mathbf{R̂}, \mathbf{Q̂}`` covariances. The
197197# Arguments
198198- `model::SimModel` : (deterministic) model for the estimations.
199199- `He=nothing` : estimation horizon ``H_e``, must be specified.
200- - `Cwt=1e5 ` : slack variable weight ``C`` (scalar), use `Cwt=Inf` for hard constraints only.
200+ - `Cwt=Inf ` : slack variable weight ``C`` (scalar), use `Cwt=Inf` for hard constraints only.
201201- `optim=default_optim_mhe(model)` : a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/api/JuMP/#JuMP.Model)
202202 with a quadratic/nonlinear optimizer for solving (default to [`Ipopt`](https://github.com/jump-dev/Ipopt.jl),
203203 or [`OSQP`](https://osqp.org/docs/parsers/jump.html) if `model` is a [`LinModel`](@ref)).
@@ -265,7 +265,7 @@ function MovingHorizonEstimator(
265265 nint_ym :: IntVectorOrInt = default_nint (model, i_ym, nint_u),
266266 σQint_ym :: Vector = fill (1 , max (sum (nint_ym), 0 )),
267267 σP0int_ym:: Vector = fill (1 , max (sum (nint_ym), 0 )),
268- Cwt:: Real = DEFAULT_CWT ,
268+ Cwt:: Real = Inf ,
269269 optim:: JM = default_optim_mhe (model),
270270) where {NT<: Real , SM<: SimModel{NT} , JM<: JuMP.GenericModel }
271271 # estimated covariances matrices (variance = σ²) :
0 commit comments