Template Function proxsuite::proxqp::dense::setup

Function Documentation

template<typename T>
void proxsuite::proxqp::dense::setup(optional<MatRef<T>> H, optional<VecRef<T>> g, optional<MatRef<T>> A, optional<VecRef<T>> b, optional<MatRef<T>> C, optional<VecRef<T>> l, optional<VecRef<T>> u, Settings<T> &qpsettings, Model<T> &qpmodel, Workspace<T> &qpwork, Results<T> &qpresults, preconditioner::RuizEquilibration<T> &ruiz, PreconditionerStatus preconditioner_status)

Setups the QP solver model.

Parameters:
  • H – quadratic cost input defining the QP model.

  • g – linear cost input defining the QP model.

  • A – equality constraint matrix input defining the QP model.

  • b – equality constraint vector input defining the QP model.

  • C – inequality constraint matrix input defining the QP model.

  • l – lower inequality constraint vector input defining the QP model.

  • u – upper inequality constraint vector input defining the QP model.

  • qpwork – solver workspace.

  • qpsettings – solver settings.

  • qpmodel – solver model.

  • qpresults – solver result.

  • ruiz – ruiz preconditioner.

  • preconditioner_status – bool variable for deciding whether executing the preconditioning algorithm, or keeping previous preconditioning variables, or using the identity preconditioner (i.e., no preconditioner).