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)

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
Info<T> info