Template Function proxsuite::proxqp::dense::global_primal_residual

Function Documentation

template<typename T>
void proxsuite::proxqp::dense::global_primal_residual(const Model<T> &qpmodel, Results<T> &qpresults, const Settings<T> &qpsettings, Workspace<T> &qpwork, const preconditioner::RuizEquilibration<T> &ruiz, const bool box_constraints, T &primal_feasibility_lhs, T &primal_feasibility_eq_rhs_0, T &primal_feasibility_in_rhs_0, T &primal_feasibility_eq_lhs, T &primal_feasibility_in_lhs)

Derives the global primal residual of the QP problem.

Parameters:
  • qpwork – solver workspace.

  • qpmodelQP problem model as defined by the user (without any scaling performed).

  • qpresults – solver results.

  • ruiz – ruiz preconditioner.

  • primal_feasibility_lhs – primal infeasibility.

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

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

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

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