Skip to content

Commit bbf48dd

Browse files
committed
doc: some comments on hessian
1 parent 8592d48 commit bbf48dd

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
@@ -706,6 +706,8 @@ function get_nonlinops(mpc::NonLinMPC, optim::JuMP.GenericModel{JNT}) where JNT<
706706
hessian_lagrangian_structure = ∇²gi_structure,
707707
eval_hessian_lagrangian = ∇²gi_func!
708708
)
709+
#TODO: verify if I must fill only upper/lower triangular part ?
710+
#TODO: add Hessian for 1. Jfunc and 2. geq
709711
# ------------- equality constraints : nonlinear oracle ------------------------------
710712
function geq!(geq, Z̃, ΔŨ, x̂0end, Ue, Ŷe, U0, Ŷ0, Û0, K0, X̂0, gc, g)
711713
update_predictions!(ΔŨ, x̂0end, Ue, Ŷe, U0, Ŷ0, Û0, K0, X̂0, gc, g, geq, mpc, Z̃)

0 commit comments

Comments
 (0)