1 function hessian_H_j = porsche_circle_x3opt_y3opt_r20_get_Hessian_eq_constr(model,data)
2 %
function hessian_H_j = porsche_get_Hessian_eq_constr(model,data)
4 % This
function calculates the matrices \nabla^2 h_j in my diploma-thesis,
5 % either detailed or reduced according to model.optimimzation.opt_mode.
6 % The corresponding data (model_data or reduced_data) must be passed to
11 nr_constr = model.optimization.nr_constraints;
12 hessian_H_j = cell(1,nr_constr);
15 hessian_H_j{k} = zeros(length(model.mu_names));
16 hessian_H_j{k}(l,l) = 2;
17 hessian_H_j{k}(l+1,l+1) = 2;