Template Function proxsuite::proxqp::dense::global_dual_residual

Function Documentation

template<typename T>
void proxsuite::proxqp::dense::global_dual_residual(Results<T> &qpresults, Workspace<T> &qpwork, const Model<T> &qpmodel, const bool box_constraints, const preconditioner::RuizEquilibration<T> &ruiz, T &dual_feasibility_lhs, T &dual_feasibility_rhs_0, T &dual_feasibility_rhs_1, T &dual_feasibility_rhs_3, T &rhs_duality_gap, T &duality_gap, const HessianType &hessian_type)

Derives the global dual residual of the QP problem.

Parameters:
  • qpwork – solver workspace.

  • qpresults – solver results.

  • ruiz – ruiz preconditioner.

  • dual_feasibility_lhs – primal infeasibility.

  • primal_feasibility_eq_rhs_0 – scalar variable used when using a relative stopping criterion.

  • dual_feasibility_rhs_0 – scalar variable used when using a relative stopping criterion.

  • dual_feasibility_rhs_1 – scalar variable used when using a relative stopping criterion.

  • dual_feasibility_rhs_3 – scalar variable used when using a relative stopping criterion.