Skip to content

Commit e093187

Browse files
committed
doc: minor details on gfuncs
1 parent 658c444 commit e093187

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/controller/nonlinmpc.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,10 @@ function init_optimization!(mpc::NonLinMPC, model::SimModel, optim)
490490
end
491491

492492
"""
493-
get_optim_functions(mpc::NonLinMPC, ::JuMP.GenericModel) -> Jfunc, gfunc
493+
get_optim_functions(mpc::NonLinMPC, ::JuMP.GenericModel) -> Jfunc, gfuncs
494494
495-
Get the objective `Jfunc` and constraints `gfunc` functions for [`NonLinMPC`](@ref).
495+
Get the objective `Jfunc` function and constraint `gfuncs` function vector for
496+
[`NonLinMPC`](@ref).
496497
497498
Inspired from: [User-defined operators with vector outputs](https://jump.dev/JuMP.jl/stable/tutorials/nonlinear/tips_and_tricks/#User-defined-operators-with-vector-outputs)
498499
"""

src/estimator/mhe/construct.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,9 +1289,10 @@ end
12891289

12901290

12911291
"""
1292-
get_optim_functions(estim::MovingHorizonEstimator, ::JuMP.GenericModel) -> Jfunc, gfunc
1292+
get_optim_functions(estim::MovingHorizonEstimator, ::JuMP.GenericModel) -> Jfunc, gfuncs
12931293
1294-
Get the objective `Jfunc` and constraints `gfunc` functions for [`MovingHorizonEstimator`](@ref).
1294+
Get the objective `Jfunc` function and constraint `gfuncs` function vector for
1295+
[`MovingHorizonEstimator`](@ref).
12951296
12961297
Inspired from: [User-defined operators with vector outputs](https://jump.dev/JuMP.jl/stable/tutorials/nonlinear/tips_and_tricks/#User-defined-operators-with-vector-outputs)
12971298
"""

0 commit comments

Comments
 (0)