proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::proxqp::Results< T > Struct Template Reference

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

#include <proxsuite/proxqp/results.hpp>

Collaboration diagram for proxsuite::proxqp::Results< T >:
[legend]

Public Member Functions

 Results (isize dim=0, isize n_eq=0, isize n_in=0, bool box_constraints=false, DenseBackend dense_backend=DenseBackend::PrimalDualLDLT)
 
void cleanup (optional< Settings< T > > settings=nullopt)
 
void cleanup_statistics ()
 
void cold_start (optional< Settings< T > > settings=nullopt)
 
void cleanup_all_except_prox_parameters ()
 

Public Attributes

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
 

Detailed Description

template<typename T>
struct proxsuite::proxqp::Results< T >

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

Results class of dense and sparse solver.

Definition at line 67 of file results.hpp.

Constructor & Destructor Documentation

◆ Results()

template<typename T >
proxsuite::proxqp::Results< T >::Results ( isize dim = 0,
isize n_eq = 0,
isize n_in = 0,
bool box_constraints = false,
DenseBackend dense_backend = DenseBackend::PrimalDualLDLT )
inline

Default constructor.

Parameters
dimdimension of the primal variable.
n_eqdimension of the number of equality constraints.
n_indimension of the number of inequality constraints.

Definition at line 90 of file results.hpp.

Member Function Documentation

◆ cleanup()

template<typename T >
void proxsuite::proxqp::Results< T >::cleanup ( optional< Settings< T > > settings = nullopt)
inline

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

Definition at line 149 of file results.hpp.

◆ cleanup_statistics()

template<typename T >
void proxsuite::proxqp::Results< T >::cleanup_statistics ( )
inline

Definition at line 158 of file results.hpp.

◆ cold_start()

template<typename T >
void proxsuite::proxqp::Results< T >::cold_start ( optional< Settings< T > > settings = nullopt)
inline

Definition at line 175 of file results.hpp.

◆ cleanup_all_except_prox_parameters()

template<typename T >
void proxsuite::proxqp::Results< T >::cleanup_all_except_prox_parameters ( )
inline

Definition at line 195 of file results.hpp.

Member Data Documentation

◆ x

template<typename T >
sparse::Vec<T> proxsuite::proxqp::Results< T >::x

Definition at line 72 of file results.hpp.

◆ y

template<typename T >
sparse::Vec<T> proxsuite::proxqp::Results< T >::y

Definition at line 73 of file results.hpp.

◆ z

template<typename T >
sparse::Vec<T> proxsuite::proxqp::Results< T >::z

Definition at line 74 of file results.hpp.

◆ se

template<typename T >
sparse::Vec<T> proxsuite::proxqp::Results< T >::se

Definition at line 75 of file results.hpp.

◆ si

template<typename T >
sparse::Vec<T> proxsuite::proxqp::Results< T >::si

Definition at line 77 of file results.hpp.

◆ active_constraints

template<typename T >
proxsuite::linalg::veg::Vec<bool> proxsuite::proxqp::Results< T >::active_constraints

Definition at line 79 of file results.hpp.

◆ info

template<typename T >
Info<T> proxsuite::proxqp::Results< T >::info

Definition at line 81 of file results.hpp.


The documentation for this struct was generated from the following file: