NonconvexAugLagLab.AugLag2Obj
— TypeAugLag2Obj
The objective function of the augmented Lagrangian model, model
. The following are its fields:
model
: the original model optimizedx
: the current primal solutionλ
: the current dual solutionquadweight
: the current quadratic penaltyf
: the current original objective valueg
: the current constraint function value
NonconvexAugLagLab.AugLag2Obj
— Method(obj::AugLag2Obj)(x::AbstractVector, λ::AbstractVector)
Evaluates the augmented Lagrangian at the primal solution x
and the dual solution λ
.
NonconvexAugLagLab.AugLag2Obj
— Method(obj::AugLag2Obj)(primaloptimizer::Function, λ::AbstractVector)
Evaluates the augmented Lagrangian at the dual solution λ
where primaloptimizer(λ)
returns a tuple of:
- The optimal primal solution
x
, - The original objective value at the optimal
x
and the currentλ
, and - The original constraint values at the optimal
x
and the currentλ
,
NonconvexAugLagLab.AugLag2Obj
— MethodAugLag2Obj(model::VecModel)
Constructs the objective function from the model, model
.