Template Function proxsuite::proxqp::sparse::qp_setup

Function Documentation

template<typename T, typename I, typename P>
void proxsuite::proxqp::sparse::qp_setup(QpView<T, I> qp, Results<T> &results, Model<T, I> &data, Workspace<T, I> &work, Settings<T> &settings, P &precond, PreconditionerStatus &preconditioner_status)

Setups the QP solver model.

Parameters:
  • qp – view of the QP model.

  • work – solver workspace.

  • settings – solver settings.

  • data – solver model.

  • results – solver result.

  • precond – 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).