@@ -79,40 +79,46 @@ See the [Models](@ref), the [Tools](@ref tools-section), or the [API](@ref).
7979
8080` NLPModelMeta ` objects have the following attributes (with ` S <: AbstractVector ` ):
8181
82- Attribute | Type | Notes
83- ------------|--------------------|------------------------------------
84- ` nvar ` | ` Int ` | number of variables
85- ` x0 ` | ` S ` | initial guess
86- ` lvar ` | ` S ` | vector of lower bounds
87- ` uvar ` | ` S ` | vector of upper bounds
88- ` ifix ` | ` Vector{Int} ` | indices of fixed variables
89- ` ilow ` | ` Vector{Int} ` | indices of variables with lower bound only
90- ` iupp ` | ` Vector{Int} ` | indices of variables with upper bound only
91- ` irng ` | ` Vector{Int} ` | indices of variables with lower and upper bound (range)
92- ` ifree ` | ` Vector{Int} ` | indices of free variables
93- ` iinf ` | ` Vector{Int} ` | indices of visibly infeasible bounds
94- ` ncon ` | ` Int ` | total number of general constraints
95- ` nlin ` | ` Int ` | number of linear constraints
96- ` nnln ` | ` Int ` | number of nonlinear general constraints
97- ` y0 ` | ` S ` | initial Lagrange multipliers
98- ` lcon ` | ` S ` | vector of constraint lower bounds
99- ` ucon ` | ` S ` | vector of constraint upper bounds
100- ` lin ` | ` Vector{Int} ` | indices of linear constraints
101- ` nln ` | ` Vector{Int} ` | indices of nonlinear constraints
102- ` jfix ` | ` Vector{Int} ` | indices of equality constraints
103- ` jlow ` | ` Vector{Int} ` | indices of constraints of the form c(x) ≥ cl
104- ` jupp ` | ` Vector{Int} ` | indices of constraints of the form c(x) ≤ cu
105- ` jrng ` | ` Vector{Int} ` | indices of constraints of the form cl ≤ c(x) ≤ cu
106- ` jfree ` | ` Vector{Int} ` | indices of "free" constraints (there shouldn't be any)
107- ` jinf ` | ` Vector{Int} ` | indices of the visibly infeasible constraints
108- ` nnzo ` | ` Int ` | number of nonzeros in the gradient
109- ` nnzj ` | ` Int ` | number of nonzeros in the sparse Jacobian
110- ` lin_nnzj ` | ` Int ` | number of nonzeros in the sparse linear constraints Jacobian
111- ` nln_nnzj ` | ` Int ` | number of nonzeros in the sparse nonlinear constraints Jacobian
112- ` nnzh ` | ` Int ` | number of nonzeros in the lower triangular part of the sparse Hessian of the Lagrangian
113- ` minimize ` | ` Bool ` | true if ` optimize == minimize `
114- ` islp ` | ` Bool ` | true if the problem is a linear program
115- ` name ` | ` String ` | problem name
82+ Attribute | Type | Notes
83+ ---------------------|---------------|------------------------------------
84+ ` nvar ` | ` Int ` | number of variables
85+ ` x0 ` | ` S ` | initial guess
86+ ` lvar ` | ` S ` | vector of lower bounds
87+ ` uvar ` | ` S ` | vector of upper bounds
88+ ` ifix ` | ` Vector{Int} ` | indices of fixed variables
89+ ` ilow ` | ` Vector{Int} ` | indices of variables with lower bound only
90+ ` iupp ` | ` Vector{Int} ` | indices of variables with upper bound only
91+ ` irng ` | ` Vector{Int} ` | indices of variables with lower and upper bound (range)
92+ ` ifree ` | ` Vector{Int} ` | indices of free variables
93+ ` iinf ` | ` Vector{Int} ` | indices of visibly infeasible bounds
94+ ` ncon ` | ` Int ` | total number of general constraints
95+ ` nlin ` | ` Int ` | number of linear constraints
96+ ` nnln ` | ` Int ` | number of nonlinear general constraints
97+ ` y0 ` | ` S ` | initial Lagrange multipliers
98+ ` lcon ` | ` S ` | vector of constraint lower bounds
99+ ` ucon ` | ` S ` | vector of constraint upper bounds
100+ ` lin ` | ` Vector{Int} ` | indices of linear constraints
101+ ` nln ` | ` Vector{Int} ` | indices of nonlinear constraints
102+ ` jfix ` | ` Vector{Int} ` | indices of equality constraints
103+ ` jlow ` | ` Vector{Int} ` | indices of constraints of the form c(x) ≥ cl
104+ ` jupp ` | ` Vector{Int} ` | indices of constraints of the form c(x) ≤ cu
105+ ` jrng ` | ` Vector{Int} ` | indices of constraints of the form cl ≤ c(x) ≤ cu
106+ ` jfree ` | ` Vector{Int} ` | indices of "free" constraints (there shouldn't be any)
107+ ` jinf ` | ` Vector{Int} ` | indices of the visibly infeasible constraints
108+ ` nnzo ` | ` Int ` | number of nonzeros in the gradient
109+ ` nnzj ` | ` Int ` | number of nonzeros in the sparse Jacobian
110+ ` lin_nnzj ` | ` Int ` | number of nonzeros in the sparse linear constraints Jacobian
111+ ` nln_nnzj ` | ` Int ` | number of nonzeros in the sparse nonlinear constraints Jacobian
112+ ` nnzh ` | ` Int ` | number of nonzeros in the lower triangular part of the sparse Hessian of the Lagrangian
113+ ` minimize ` | ` Bool ` | true if ` optimize == minimize `
114+ ` islp ` | ` Bool ` | true if the problem is a linear program
115+ ` name ` | ` String ` | problem name
116+ ` gradient_available ` | ` Bool ` | true if the gradient of the objective is available
117+ ` jacobian_available ` | ` Bool ` | true if the sparse Jacobian of the constraints is available
118+ ` hessian_available ` | ` Bool ` | true if the sparse Hessian of the Lagrangian is available
119+ ` Jv_available ` | ` Bool ` | true if the Jacobian-vector product ` J * v ` is available
120+ ` Jtv_available ` | ` Bool ` | true if the transpose Jacobian-vector product ` J' * v ` is available
121+ ` Hv_available ` | ` Bool ` | true if the Hessian-vector product of the Lagrangian ` H * v ` is available
116122
117123## License
118124
0 commit comments