Reference
NLPModelsExtensions.ParametricNLPModelsNLPModelsExtensions.ParametricNLPModels.ParametricNLPModelMetaNLPModelsExtensions.ParametricNLPModels.get_grad_par_availableNLPModelsExtensions.ParametricNLPModels.get_hess_par_availableNLPModelsExtensions.ParametricNLPModels.get_hprod_par_availableNLPModelsExtensions.ParametricNLPModels.get_htprod_par_availableNLPModelsExtensions.ParametricNLPModels.get_jac_par_availableNLPModelsExtensions.ParametricNLPModels.get_jprod_par_availableNLPModelsExtensions.ParametricNLPModels.get_jtprod_par_availableNLPModelsExtensions.ParametricNLPModels.get_nnzh_parNLPModelsExtensions.ParametricNLPModels.get_nnzj_lcon_parNLPModelsExtensions.ParametricNLPModels.get_nnzj_lvar_parNLPModelsExtensions.ParametricNLPModels.get_nnzj_parNLPModelsExtensions.ParametricNLPModels.get_nnzj_ucon_parNLPModelsExtensions.ParametricNLPModels.get_nnzj_uvar_parNLPModelsExtensions.ParametricNLPModels.get_nnzo_parNLPModelsExtensions.ParametricNLPModels.get_nparNLPModelsExtensions.ParametricNLPModels.get_parNLPModelsExtensions.ParametricNLPModels.get_par_metaNLPModelsExtensions.ParametricNLPModels.grad_parNLPModelsExtensions.ParametricNLPModels.grad_par!NLPModelsExtensions.ParametricNLPModels.hess_parNLPModelsExtensions.ParametricNLPModels.hess_parNLPModelsExtensions.ParametricNLPModels.hess_par_coordNLPModelsExtensions.ParametricNLPModels.hess_par_coordNLPModelsExtensions.ParametricNLPModels.hess_par_coord!NLPModelsExtensions.ParametricNLPModels.hess_par_coord!NLPModelsExtensions.ParametricNLPModels.hess_par_dense!NLPModelsExtensions.ParametricNLPModels.hess_par_dense!NLPModelsExtensions.ParametricNLPModels.hess_par_structureNLPModelsExtensions.ParametricNLPModels.hess_par_structure!NLPModelsExtensions.ParametricNLPModels.hprod_parNLPModelsExtensions.ParametricNLPModels.hprod_parNLPModelsExtensions.ParametricNLPModels.hprod_par!NLPModelsExtensions.ParametricNLPModels.hprod_par!NLPModelsExtensions.ParametricNLPModels.hprod_par!NLPModelsExtensions.ParametricNLPModels.htprod_parNLPModelsExtensions.ParametricNLPModels.htprod_parNLPModelsExtensions.ParametricNLPModels.htprod_par!NLPModelsExtensions.ParametricNLPModels.htprod_par!NLPModelsExtensions.ParametricNLPModels.htprod_par!NLPModelsExtensions.ParametricNLPModels.jac_parNLPModelsExtensions.ParametricNLPModels.jac_par_coordNLPModelsExtensions.ParametricNLPModels.jac_par_coord!NLPModelsExtensions.ParametricNLPModels.jac_par_dense!NLPModelsExtensions.ParametricNLPModels.jac_par_structureNLPModelsExtensions.ParametricNLPModels.jac_par_structure!NLPModelsExtensions.ParametricNLPModels.jprod_parNLPModelsExtensions.ParametricNLPModels.jprod_par!NLPModelsExtensions.ParametricNLPModels.jprod_par!NLPModelsExtensions.ParametricNLPModels.jtprod_parNLPModelsExtensions.ParametricNLPModels.jtprod_par!NLPModelsExtensions.ParametricNLPModels.jtprod_par!NLPModelsExtensions.ParametricNLPModels.lcon_jac_parNLPModelsExtensions.ParametricNLPModels.lcon_jac_par_coordNLPModelsExtensions.ParametricNLPModels.lcon_jac_par_coord!NLPModelsExtensions.ParametricNLPModels.lcon_jac_par_dense!NLPModelsExtensions.ParametricNLPModels.lcon_jac_par_structureNLPModelsExtensions.ParametricNLPModels.lcon_jac_par_structure!NLPModelsExtensions.ParametricNLPModels.lcon_jprod_parNLPModelsExtensions.ParametricNLPModels.lcon_jprod_par!NLPModelsExtensions.ParametricNLPModels.lcon_jtprod_parNLPModelsExtensions.ParametricNLPModels.lcon_jtprod_par!NLPModelsExtensions.ParametricNLPModels.lvar_jac_parNLPModelsExtensions.ParametricNLPModels.lvar_jac_par_coordNLPModelsExtensions.ParametricNLPModels.lvar_jac_par_coord!NLPModelsExtensions.ParametricNLPModels.lvar_jac_par_dense!NLPModelsExtensions.ParametricNLPModels.lvar_jac_par_structureNLPModelsExtensions.ParametricNLPModels.lvar_jac_par_structure!NLPModelsExtensions.ParametricNLPModels.lvar_jprod_parNLPModelsExtensions.ParametricNLPModels.lvar_jprod_par!NLPModelsExtensions.ParametricNLPModels.lvar_jtprod_parNLPModelsExtensions.ParametricNLPModels.lvar_jtprod_par!NLPModelsExtensions.ParametricNLPModels.set_par!NLPModelsExtensions.ParametricNLPModels.ucon_jac_parNLPModelsExtensions.ParametricNLPModels.ucon_jac_par_coordNLPModelsExtensions.ParametricNLPModels.ucon_jac_par_coord!NLPModelsExtensions.ParametricNLPModels.ucon_jac_par_dense!NLPModelsExtensions.ParametricNLPModels.ucon_jac_par_structureNLPModelsExtensions.ParametricNLPModels.ucon_jac_par_structure!NLPModelsExtensions.ParametricNLPModels.ucon_jprod_parNLPModelsExtensions.ParametricNLPModels.ucon_jprod_par!NLPModelsExtensions.ParametricNLPModels.ucon_jtprod_parNLPModelsExtensions.ParametricNLPModels.ucon_jtprod_par!NLPModelsExtensions.ParametricNLPModels.uvar_jac_parNLPModelsExtensions.ParametricNLPModels.uvar_jac_par_coordNLPModelsExtensions.ParametricNLPModels.uvar_jac_par_coord!NLPModelsExtensions.ParametricNLPModels.uvar_jac_par_dense!NLPModelsExtensions.ParametricNLPModels.uvar_jac_par_structureNLPModelsExtensions.ParametricNLPModels.uvar_jac_par_structure!NLPModelsExtensions.ParametricNLPModels.uvar_jprod_parNLPModelsExtensions.ParametricNLPModels.uvar_jprod_par!NLPModelsExtensions.ParametricNLPModels.uvar_jtprod_parNLPModelsExtensions.ParametricNLPModels.uvar_jtprod_par!
NLPModelsExtensions.ParametricNLPModels — Module
ParametricNLPModelsParametric sensitivity interface for NLPModels: derivatives with respect to a parameter vector θ of length npar.
- $∂f/∂θ$: the objective gradient with respect to the parameters,
npar, seegrad_par - $∂c/∂θ$: the constraints Jacobian with respect to the parameters,
ncon × npar, seejac_par - $∂²L/∂x∂θ$: the Lagrangian Hessian with respect to the variables and the parameters,
nvar × npar, seehess_par - $∂x^ℓ/∂θ$, $∂x^u/∂θ$, $∂c^ℓ/∂θ$, $∂c^u/∂θ$: the bounds with respect to the parameters,
nvar × nparandncon × npar, seelvar_jac_par
Sparse coordinate format follows NLPModels: (rows, cols, vals) with rows in the constraint or variable index and columns in the parameter index, repeated entries summed. Dimensions and availability come from ParametricNLPModelMeta through get_par_meta.
NLPModelsExtensions.ParametricNLPModels.ParametricNLPModelMeta — Type
ParametricNLPModelMeta(; kwargs...)Metadata for the derivatives with respect to the parameters.
npar: number of parametersnnzo_par: number of nonzeros in $∂f/∂θ$nnzj_par: number of nonzeros in $∂c/∂θ$nnzh_par: number of nonzeros in $∂²L/∂x∂θ$nnzj_lvar_par,nnzj_uvar_par,nnzj_lcon_par,nnzj_ucon_par: number of nonzeros in $∂x^ℓ/∂θ$, $∂x^u/∂θ$, $∂c^ℓ/∂θ$, $∂c^u/∂θ$grad_par_available,jac_par_available,hess_par_available,jprod_par_available,jtprod_par_available,hprod_par_available,htprod_par_available: whether the function is implemented
NLPModelsExtensions.ParametricNLPModels.get_grad_par_available — Method
get_grad_par_available(nlp)
get_grad_par_available(par_meta)Return the value grad_par_available from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_hess_par_available — Method
get_hess_par_available(nlp)
get_hess_par_available(par_meta)Return the value hess_par_available from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_hprod_par_available — Method
get_hprod_par_available(nlp)
get_hprod_par_available(par_meta)Return the value hprod_par_available from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_htprod_par_available — Method
get_htprod_par_available(nlp)
get_htprod_par_available(par_meta)Return the value htprod_par_available from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_jac_par_available — Method
get_jac_par_available(nlp)
get_jac_par_available(par_meta)Return the value jac_par_available from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_jprod_par_available — Method
get_jprod_par_available(nlp)
get_jprod_par_available(par_meta)Return the value jprod_par_available from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_jtprod_par_available — Method
get_jtprod_par_available(nlp)
get_jtprod_par_available(par_meta)Return the value jtprod_par_available from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_nnzh_par — Method
get_nnzh_par(nlp)
get_nnzh_par(par_meta)Return the value nnzh_par from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_nnzj_lcon_par — Method
get_nnzj_lcon_par(nlp)
get_nnzj_lcon_par(par_meta)Return the value nnzj_lcon_par from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_nnzj_lvar_par — Method
get_nnzj_lvar_par(nlp)
get_nnzj_lvar_par(par_meta)Return the value nnzj_lvar_par from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_nnzj_par — Method
get_nnzj_par(nlp)
get_nnzj_par(par_meta)Return the value nnzj_par from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_nnzj_ucon_par — Method
get_nnzj_ucon_par(nlp)
get_nnzj_ucon_par(par_meta)Return the value nnzj_ucon_par from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_nnzj_uvar_par — Method
get_nnzj_uvar_par(nlp)
get_nnzj_uvar_par(par_meta)Return the value nnzj_uvar_par from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_nnzo_par — Method
get_nnzo_par(nlp)
get_nnzo_par(par_meta)Return the value nnzo_par from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_npar — Method
get_npar(nlp)
get_npar(par_meta)Return the value npar from par_meta or get_par_meta(nlp).
NLPModelsExtensions.ParametricNLPModels.get_par — Function
θ = get_par(nlp)Return the parameter vector.
NLPModelsExtensions.ParametricNLPModels.get_par_meta — Method
get_par_meta(nlp)Return the ParametricNLPModelMeta of nlp. Defaults to no parameters.
NLPModelsExtensions.ParametricNLPModels.grad_par! — Function
g = grad_par!(nlp, x, g)Evaluate $∂f/∂θ(x)$, the gradient of the objective function with respect to the parameters at x in place.
NLPModelsExtensions.ParametricNLPModels.grad_par — Method
g = grad_par(nlp, x)Evaluate $∂f/∂θ(x)$, the gradient of the objective function with respect to the parameters at x.
NLPModelsExtensions.ParametricNLPModels.hess_par — Method
Hxθ = hess_par(nlp, x, y; obj_weight=1.0)Evaluate the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)$ at (x,y) as a sparse matrix, with objective function scaled by obj_weight, i.e.,
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.hess_par — Method
Hxθ = hess_par(nlp, x; obj_weight=1.0)Evaluate the objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)$ at x as a sparse matrix, with objective function scaled by obj_weight, i.e.,
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.hess_par_coord! — Function
vals = hess_par_coord!(nlp, x, y, vals; obj_weight=1.0)Evaluate the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)$ at (x,y) in sparse coordinate format, with objective function scaled by obj_weight, i.e.,
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight, overwriting vals.
NLPModelsExtensions.ParametricNLPModels.hess_par_coord! — Method
vals = hess_par_coord!(nlp, x, vals; obj_weight=1.0)Evaluate the objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)$ at x in sparse coordinate format, with objective function scaled by obj_weight, i.e.,
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight, overwriting vals.
NLPModelsExtensions.ParametricNLPModels.hess_par_coord — Method
vals = hess_par_coord(nlp, x, y; obj_weight=1.0)Evaluate the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)$ at (x,y) in sparse coordinate format, with objective function scaled by obj_weight, i.e.,
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.hess_par_coord — Method
vals = hess_par_coord(nlp, x; obj_weight=1.0)Evaluate the objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)$ at x in sparse coordinate format, with objective function scaled by obj_weight, i.e.,
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.hess_par_dense! — Method
Hxθ = hess_par_dense!(nlp, x, y, Hxθ; obj_weight=1.0)Evaluate the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)$ at (x,y) in dense format, overwriting Hxθ, with objective function scaled by obj_weight, i.e.,
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.hess_par_dense! — Method
Hxθ = hess_par_dense!(nlp, x, Hxθ; obj_weight=1.0)Evaluate the objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)$ at x in dense format, overwriting Hxθ, with objective function scaled by obj_weight, i.e.,
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.hess_par_structure! — Function
hess_par_structure!(nlp, rows, cols)Return the structure of the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ$ in sparse coordinate format in place.
NLPModelsExtensions.ParametricNLPModels.hess_par_structure — Method
(rows,cols) = hess_par_structure(nlp)Return the structure of the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ$ in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.hprod_par! — Method
Hv = hprod_par!(nlp, rows, cols, vals, v, Hv)Evaluate the product of the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ$ given by (rows, cols, vals) in triplet format with the vector v in place.
NLPModelsExtensions.ParametricNLPModels.hprod_par! — Method
Hv = hprod_par!(nlp, x, y, v, Hv; obj_weight=1.0)Evaluate the product of the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)$ at (x,y) with the vector v in place, with objective function scaled by obj_weight, where the Lagrangian Hessian $∂²L/∂x∂θ(x,y)$ is
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight. This function allocates.
NLPModelsExtensions.ParametricNLPModels.hprod_par! — Method
Hv = hprod_par!(nlp, x, v, Hv; obj_weight=1.0)Evaluate the product of the objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)$ at x with the vector v in place, with objective function scaled by obj_weight, where the objective Hessian $∂²f/∂x∂θ(x)$ is
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight. This function allocates.
NLPModelsExtensions.ParametricNLPModels.hprod_par — Method
Hv = hprod_par(nlp, x, y, v; obj_weight=1.0)Evaluate the product of the Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)$ at (x,y) with the vector v, with objective function scaled by obj_weight, where the Lagrangian Hessian $∂²L/∂x∂θ(x,y)$ is
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.hprod_par — Method
Hv = hprod_par(nlp, x, v; obj_weight=1.0)Evaluate the product of the objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)$ at x with the vector v, with objective function scaled by obj_weight, where the objective Hessian $∂²f/∂x∂θ(x)$ is
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.htprod_par! — Method
Htv = htprod_par!(nlp, rows, cols, vals, v, Htv)Evaluate the product of the transposed Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ^T$ given by (rows, cols, vals) in triplet format with the vector v in place.
NLPModelsExtensions.ParametricNLPModels.htprod_par! — Method
Htv = htprod_par!(nlp, x, y, v, Htv; obj_weight=1.0)Evaluate the product of the transposed Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)^T$ at (x,y) with the vector v in place, with objective function scaled by obj_weight, where the Lagrangian Hessian $∂²L/∂x∂θ(x,y)$ is
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight. This function allocates.
NLPModelsExtensions.ParametricNLPModels.htprod_par! — Method
Htv = htprod_par!(nlp, x, v, Htv; obj_weight=1.0)Evaluate the product of the transposed objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)^T$ at x with the vector v in place, with objective function scaled by obj_weight, where the objective Hessian $∂²f/∂x∂θ(x)$ is
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight. This function allocates.
NLPModelsExtensions.ParametricNLPModels.htprod_par — Method
Htv = htprod_par(nlp, x, y, v; obj_weight=1.0)Evaluate the product of the transposed Lagrangian Hessian with respect to the variables and the parameters $∂²L/∂x∂θ(x,y)^T$ at (x,y) with the vector v, with objective function scaled by obj_weight, where the Lagrangian Hessian $∂²L/∂x∂θ(x,y)$ is
\[∂²L/∂x∂θ(x,y) = σ ∂²f/∂x∂θ(x) + \sum_i yᵢ ∂²cᵢ/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.htprod_par — Method
Htv = htprod_par(nlp, x, v; obj_weight=1.0)Evaluate the product of the transposed objective Hessian with respect to the variables and the parameters $∂²f/∂x∂θ(x)^T$ at x with the vector v, with objective function scaled by obj_weight, where the objective Hessian $∂²f/∂x∂θ(x)$ is
\[σ ∂²f/∂x∂θ(x),\]
with σ = obj_weight.
NLPModelsExtensions.ParametricNLPModels.jac_par — Method
Jθ = jac_par(nlp, x)Evaluate $∂c/∂θ(x)$, the constraints Jacobian with respect to the parameters at x as a sparse matrix.
NLPModelsExtensions.ParametricNLPModels.jac_par_coord! — Function
vals = jac_par_coord!(nlp, x, vals)Evaluate $∂c/∂θ(x)$, the constraints Jacobian with respect to the parameters at x in sparse coordinate format, overwriting vals.
NLPModelsExtensions.ParametricNLPModels.jac_par_coord — Method
vals = jac_par_coord(nlp, x)Evaluate $∂c/∂θ(x)$, the constraints Jacobian with respect to the parameters at x in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.jac_par_dense! — Method
Jθ = jac_par_dense!(nlp, x, Jθ)Evaluate $∂c/∂θ(x)$, the constraints Jacobian with respect to the parameters at x in dense format, overwriting Jθ.
NLPModelsExtensions.ParametricNLPModels.jac_par_structure! — Function
jac_par_structure!(nlp, rows, cols)Return the structure of the constraints Jacobian with respect to the parameters $∂c/∂θ$ in sparse coordinate format in place.
NLPModelsExtensions.ParametricNLPModels.jac_par_structure — Method
(rows,cols) = jac_par_structure(nlp)Return the structure of the constraints Jacobian with respect to the parameters $∂c/∂θ$ in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.jprod_par! — Method
Jv = jprod_par!(nlp, x, v, Jv)Evaluate $∂c/∂θ(x)v$, the Jacobian-vector product with respect to the parameters at x in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.jprod_par! — Method
Jv = jprod_par!(nlp, rows, cols, vals, v, Jv)Evaluate $∂c/∂θ(x)v$, the Jacobian-vector product with respect to the parameters, where the Jacobian is given by (rows, cols, vals) in triplet format.
NLPModelsExtensions.ParametricNLPModels.jprod_par — Method
Jv = jprod_par(nlp, x, v)Evaluate $∂c/∂θ(x)v$, the Jacobian-vector product with respect to the parameters at x.
NLPModelsExtensions.ParametricNLPModels.jtprod_par! — Method
Jtv = jtprod_par!(nlp, x, v, Jtv)Evaluate $∂c/∂θ(x)^Tv$, the transposed-Jacobian-vector product with respect to the parameters at x in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.jtprod_par! — Method
Jtv = jtprod_par!(nlp, rows, cols, vals, v, Jtv)Evaluate $∂c/∂θ(x)^Tv$, the transposed-Jacobian-vector product with respect to the parameters, where the Jacobian is given by (rows, cols, vals) in triplet format.
NLPModelsExtensions.ParametricNLPModels.jtprod_par — Method
Jtv = jtprod_par(nlp, x, v)Evaluate $∂c/∂θ(x)^Tv$, the transposed-Jacobian-vector product with respect to the parameters at x.
NLPModelsExtensions.ParametricNLPModels.lcon_jac_par — Method
J = lcon_jac_par(nlp)Evaluate $∂c^ℓ/∂θ$, the lcon bounds with respect to the parameters, as a sparse matrix.
NLPModelsExtensions.ParametricNLPModels.lcon_jac_par_coord! — Function
vals = lcon_jac_par_coord!(nlp, vals)Evaluate $∂c^ℓ/∂θ$, the lcon bounds with respect to the parameters, in sparse coordinate format, overwriting vals.
NLPModelsExtensions.ParametricNLPModels.lcon_jac_par_coord — Method
vals = lcon_jac_par_coord(nlp)Evaluate $∂c^ℓ/∂θ$, the lcon bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.lcon_jac_par_dense! — Method
J = lcon_jac_par_dense!(nlp, J)Evaluate $∂c^ℓ/∂θ$, the lcon bounds with respect to the parameters, in dense format, overwriting J.
NLPModelsExtensions.ParametricNLPModels.lcon_jac_par_structure! — Function
lcon_jac_par_structure!(nlp, rows, cols)Return the structure of $∂c^ℓ/∂θ$, the lcon bounds with respect to the parameters, in sparse coordinate format in place.
NLPModelsExtensions.ParametricNLPModels.lcon_jac_par_structure — Method
(rows,cols) = lcon_jac_par_structure(nlp)Return the structure of $∂c^ℓ/∂θ$, the lcon bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.lcon_jprod_par! — Method
Jv = lcon_jprod_par!(nlp, v, Jv)Evaluate $(∂c^ℓ/∂θ)v$, the Jacobian-vector product of the lcon bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.lcon_jprod_par — Method
Jv = lcon_jprod_par(nlp, v)Evaluate $(∂c^ℓ/∂θ)v$, the Jacobian-vector product of the lcon bounds with respect to the parameters.
NLPModelsExtensions.ParametricNLPModels.lcon_jtprod_par! — Method
Jtv = lcon_jtprod_par!(nlp, v, Jtv)Evaluate $(∂c^ℓ/∂θ)^Tv$, the transposed-Jacobian-vector product of the lcon bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.lcon_jtprod_par — Method
Jtv = lcon_jtprod_par(nlp, v)Evaluate $(∂c^ℓ/∂θ)^Tv$, the transposed-Jacobian-vector product of the lcon bounds with respect to the parameters.
NLPModelsExtensions.ParametricNLPModels.lvar_jac_par — Method
J = lvar_jac_par(nlp)Evaluate $∂x^ℓ/∂θ$, the lvar bounds with respect to the parameters, as a sparse matrix.
NLPModelsExtensions.ParametricNLPModels.lvar_jac_par_coord! — Function
vals = lvar_jac_par_coord!(nlp, vals)Evaluate $∂x^ℓ/∂θ$, the lvar bounds with respect to the parameters, in sparse coordinate format, overwriting vals.
NLPModelsExtensions.ParametricNLPModels.lvar_jac_par_coord — Method
vals = lvar_jac_par_coord(nlp)Evaluate $∂x^ℓ/∂θ$, the lvar bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.lvar_jac_par_dense! — Method
J = lvar_jac_par_dense!(nlp, J)Evaluate $∂x^ℓ/∂θ$, the lvar bounds with respect to the parameters, in dense format, overwriting J.
NLPModelsExtensions.ParametricNLPModels.lvar_jac_par_structure! — Function
lvar_jac_par_structure!(nlp, rows, cols)Return the structure of $∂x^ℓ/∂θ$, the lvar bounds with respect to the parameters, in sparse coordinate format in place.
NLPModelsExtensions.ParametricNLPModels.lvar_jac_par_structure — Method
(rows,cols) = lvar_jac_par_structure(nlp)Return the structure of $∂x^ℓ/∂θ$, the lvar bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.lvar_jprod_par! — Method
Jv = lvar_jprod_par!(nlp, v, Jv)Evaluate $(∂x^ℓ/∂θ)v$, the Jacobian-vector product of the lvar bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.lvar_jprod_par — Method
Jv = lvar_jprod_par(nlp, v)Evaluate $(∂x^ℓ/∂θ)v$, the Jacobian-vector product of the lvar bounds with respect to the parameters.
NLPModelsExtensions.ParametricNLPModels.lvar_jtprod_par! — Method
Jtv = lvar_jtprod_par!(nlp, v, Jtv)Evaluate $(∂x^ℓ/∂θ)^Tv$, the transposed-Jacobian-vector product of the lvar bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.lvar_jtprod_par — Method
Jtv = lvar_jtprod_par(nlp, v)Evaluate $(∂x^ℓ/∂θ)^Tv$, the transposed-Jacobian-vector product of the lvar bounds with respect to the parameters.
NLPModelsExtensions.ParametricNLPModels.set_par! — Function
set_par!(nlp, θ)Set the parameter vector to θ.
NLPModelsExtensions.ParametricNLPModels.ucon_jac_par — Method
J = ucon_jac_par(nlp)Evaluate $∂c^u/∂θ$, the ucon bounds with respect to the parameters, as a sparse matrix.
NLPModelsExtensions.ParametricNLPModels.ucon_jac_par_coord! — Function
vals = ucon_jac_par_coord!(nlp, vals)Evaluate $∂c^u/∂θ$, the ucon bounds with respect to the parameters, in sparse coordinate format, overwriting vals.
NLPModelsExtensions.ParametricNLPModels.ucon_jac_par_coord — Method
vals = ucon_jac_par_coord(nlp)Evaluate $∂c^u/∂θ$, the ucon bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.ucon_jac_par_dense! — Method
J = ucon_jac_par_dense!(nlp, J)Evaluate $∂c^u/∂θ$, the ucon bounds with respect to the parameters, in dense format, overwriting J.
NLPModelsExtensions.ParametricNLPModels.ucon_jac_par_structure! — Function
ucon_jac_par_structure!(nlp, rows, cols)Return the structure of $∂c^u/∂θ$, the ucon bounds with respect to the parameters, in sparse coordinate format in place.
NLPModelsExtensions.ParametricNLPModels.ucon_jac_par_structure — Method
(rows,cols) = ucon_jac_par_structure(nlp)Return the structure of $∂c^u/∂θ$, the ucon bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.ucon_jprod_par! — Method
Jv = ucon_jprod_par!(nlp, v, Jv)Evaluate $(∂c^u/∂θ)v$, the Jacobian-vector product of the ucon bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.ucon_jprod_par — Method
Jv = ucon_jprod_par(nlp, v)Evaluate $(∂c^u/∂θ)v$, the Jacobian-vector product of the ucon bounds with respect to the parameters.
NLPModelsExtensions.ParametricNLPModels.ucon_jtprod_par! — Method
Jtv = ucon_jtprod_par!(nlp, v, Jtv)Evaluate $(∂c^u/∂θ)^Tv$, the transposed-Jacobian-vector product of the ucon bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.ucon_jtprod_par — Method
Jtv = ucon_jtprod_par(nlp, v)Evaluate $(∂c^u/∂θ)^Tv$, the transposed-Jacobian-vector product of the ucon bounds with respect to the parameters.
NLPModelsExtensions.ParametricNLPModels.uvar_jac_par — Method
J = uvar_jac_par(nlp)Evaluate $∂x^u/∂θ$, the uvar bounds with respect to the parameters, as a sparse matrix.
NLPModelsExtensions.ParametricNLPModels.uvar_jac_par_coord! — Function
vals = uvar_jac_par_coord!(nlp, vals)Evaluate $∂x^u/∂θ$, the uvar bounds with respect to the parameters, in sparse coordinate format, overwriting vals.
NLPModelsExtensions.ParametricNLPModels.uvar_jac_par_coord — Method
vals = uvar_jac_par_coord(nlp)Evaluate $∂x^u/∂θ$, the uvar bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.uvar_jac_par_dense! — Method
J = uvar_jac_par_dense!(nlp, J)Evaluate $∂x^u/∂θ$, the uvar bounds with respect to the parameters, in dense format, overwriting J.
NLPModelsExtensions.ParametricNLPModels.uvar_jac_par_structure! — Function
uvar_jac_par_structure!(nlp, rows, cols)Return the structure of $∂x^u/∂θ$, the uvar bounds with respect to the parameters, in sparse coordinate format in place.
NLPModelsExtensions.ParametricNLPModels.uvar_jac_par_structure — Method
(rows,cols) = uvar_jac_par_structure(nlp)Return the structure of $∂x^u/∂θ$, the uvar bounds with respect to the parameters, in sparse coordinate format.
NLPModelsExtensions.ParametricNLPModels.uvar_jprod_par! — Method
Jv = uvar_jprod_par!(nlp, v, Jv)Evaluate $(∂x^u/∂θ)v$, the Jacobian-vector product of the uvar bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.uvar_jprod_par — Method
Jv = uvar_jprod_par(nlp, v)Evaluate $(∂x^u/∂θ)v$, the Jacobian-vector product of the uvar bounds with respect to the parameters.
NLPModelsExtensions.ParametricNLPModels.uvar_jtprod_par! — Method
Jtv = uvar_jtprod_par!(nlp, v, Jtv)Evaluate $(∂x^u/∂θ)^Tv$, the transposed-Jacobian-vector product of the uvar bounds with respect to the parameters, in place. This function allocates.
NLPModelsExtensions.ParametricNLPModels.uvar_jtprod_par — Method
Jtv = uvar_jtprod_par(nlp, v)Evaluate $(∂x^u/∂θ)^Tv$, the transposed-Jacobian-vector product of the uvar bounds with respect to the parameters.