Template Struct Results

Struct Documentation

template<typename T>
struct Results

This class stores all the results of PROXQP solvers with sparse and dense backends.

Results class of dense and sparse solver.

Public Functions

inline Results(isize dim = 0, isize n_eq = 0, isize n_in = 0, bool box_constraints = false, DenseBackend dense_backend = DenseBackend::PrimalDualLDLT)

Default constructor.

Parameters:
  • dim – dimension of the primal variable.

  • n_eq – dimension of the number of equality constraints.

  • n_in – dimension of the number of inequality constraints.

inline void cleanup(optional<Settings<T>> settings = nullopt)

cleanups the Result variables and set the info variables to their initial values.

inline void cleanup_statistics()
inline void cold_start(optional<Settings<T>> settings = nullopt)
inline void cleanup_all_except_prox_parameters()

Public Members

sparse::Vec<T> x
sparse::Vec<T> y
sparse::Vec<T> z
sparse::Vec<T> se
sparse::Vec<T> si
proxsuite::linalg::veg::Vec<bool> active_constraints
Info<T> info