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

This class defines the workspace of the dense solver. More...

#include <proxsuite/proxqp/dense/workspace.hpp>

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

Public Member Functions

 Workspace (isize dim=0, isize n_eq=0, isize n_in=0, bool box_constraints=false, DenseBackend dense_backend=DenseBackend::PrimalDualLDLT)
 
void cleanup (const bool box_constraints)
 

Public Attributes

proxsuite::linalg::dense::Ldlt< T > ldl {}
 
proxsuite::linalg::veg::Vec< unsigned char > ldl_stack
 
Timer< T > timer
 
Mat< T > H_scaled
 
Vec< T > g_scaled
 
Mat< T > A_scaled
 
Mat< T > C_scaled
 
Vec< T > b_scaled
 
Vec< T > u_scaled
 
Vec< T > l_scaled
 
Vec< T > u_box_scaled
 
Vec< T > l_box_scaled
 
Vec< T > i_scaled
 
Vec< T > x_prev
 
Vec< T > y_prev
 
Vec< T > z_prev
 
Mat< T > kkt
 
VecISize current_bijection_map
 
VecISize new_bijection_map
 
VecBool active_set_up
 
VecBool active_set_low
 
VecBool active_inequalities
 
Vec< T > Hdx
 
Vec< T > Cdx
 
Vec< T > Adx
 
Vec< T > active_part_z
 
proxsuite::linalg::veg::Vec< T > alphas
 
Vec< T > dw_aug
 
Vec< T > rhs
 
Vec< T > err
 
dual_feasibility_rhs_2
 
correction_guess_rhs_g
 
correction_guess_rhs_b
 
alpha
 
Vec< T > dual_residual_scaled
 
Vec< T > primal_residual_in_scaled_up
 
Vec< T > primal_residual_in_scaled_up_plus_alphaCdx
 
Vec< T > primal_residual_in_scaled_low_plus_alphaCdx
 
Vec< T > CTz
 
bool constraints_changed
 
bool dirty
 
bool refactorize
 
bool proximal_parameter_update
 
bool is_initialized
 
sparse::isize n_c
 

Detailed Description

template<typename T>
struct proxsuite::proxqp::dense::Workspace< T >

This class defines the workspace of the dense solver.

Workspace class of the dense solver.

Definition at line 25 of file workspace.hpp.

Constructor & Destructor Documentation

◆ Workspace()

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

Default constructor.

Parameters
dimprimal variable dimension.
n_eqnumber of equality constraints.
n_innumber of inequality constraints.

Definition at line 104 of file workspace.hpp.

Member Function Documentation

◆ cleanup()

template<typename T >
void proxsuite::proxqp::dense::Workspace< T >::cleanup ( const bool box_constraints)
inline

Clean-ups solver's workspace.

Definition at line 330 of file workspace.hpp.

Member Data Documentation

◆ ldl

Definition at line 29 of file workspace.hpp.

◆ ldl_stack

template<typename T >
proxsuite::linalg::veg::Vec<unsigned char> proxsuite::proxqp::dense::Workspace< T >::ldl_stack

Definition at line 30 of file workspace.hpp.

◆ timer

template<typename T >
Timer<T> proxsuite::proxqp::dense::Workspace< T >::timer

Definition at line 31 of file workspace.hpp.

◆ H_scaled

template<typename T >
Mat<T> proxsuite::proxqp::dense::Workspace< T >::H_scaled

Definition at line 34 of file workspace.hpp.

◆ g_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::g_scaled

Definition at line 35 of file workspace.hpp.

◆ A_scaled

template<typename T >
Mat<T> proxsuite::proxqp::dense::Workspace< T >::A_scaled

Definition at line 36 of file workspace.hpp.

◆ C_scaled

template<typename T >
Mat<T> proxsuite::proxqp::dense::Workspace< T >::C_scaled

Definition at line 37 of file workspace.hpp.

◆ b_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::b_scaled

Definition at line 38 of file workspace.hpp.

◆ u_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::u_scaled

Definition at line 39 of file workspace.hpp.

◆ l_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::l_scaled

Definition at line 40 of file workspace.hpp.

◆ u_box_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::u_box_scaled

Definition at line 42 of file workspace.hpp.

◆ l_box_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::l_box_scaled

Definition at line 43 of file workspace.hpp.

◆ i_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::i_scaled

Definition at line 44 of file workspace.hpp.

◆ x_prev

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::x_prev

Definition at line 48 of file workspace.hpp.

◆ y_prev

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::y_prev

Definition at line 49 of file workspace.hpp.

◆ z_prev

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::z_prev

Definition at line 50 of file workspace.hpp.

◆ kkt

template<typename T >
Mat<T> proxsuite::proxqp::dense::Workspace< T >::kkt

Definition at line 53 of file workspace.hpp.

◆ current_bijection_map

template<typename T >
VecISize proxsuite::proxqp::dense::Workspace< T >::current_bijection_map

Definition at line 56 of file workspace.hpp.

◆ new_bijection_map

template<typename T >
VecISize proxsuite::proxqp::dense::Workspace< T >::new_bijection_map

Definition at line 57 of file workspace.hpp.

◆ active_set_up

template<typename T >
VecBool proxsuite::proxqp::dense::Workspace< T >::active_set_up

Definition at line 59 of file workspace.hpp.

◆ active_set_low

template<typename T >
VecBool proxsuite::proxqp::dense::Workspace< T >::active_set_low

Definition at line 60 of file workspace.hpp.

◆ active_inequalities

template<typename T >
VecBool proxsuite::proxqp::dense::Workspace< T >::active_inequalities

Definition at line 61 of file workspace.hpp.

◆ Hdx

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::Hdx

Definition at line 65 of file workspace.hpp.

◆ Cdx

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::Cdx

Definition at line 66 of file workspace.hpp.

◆ Adx

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::Adx

Definition at line 67 of file workspace.hpp.

◆ active_part_z

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::active_part_z

Definition at line 69 of file workspace.hpp.

◆ alphas

Definition at line 70 of file workspace.hpp.

◆ dw_aug

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::dw_aug

Definition at line 73 of file workspace.hpp.

◆ rhs

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::rhs

Definition at line 74 of file workspace.hpp.

◆ err

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::err

Definition at line 75 of file workspace.hpp.

◆ dual_feasibility_rhs_2

template<typename T >
T proxsuite::proxqp::dense::Workspace< T >::dual_feasibility_rhs_2

Definition at line 79 of file workspace.hpp.

◆ correction_guess_rhs_g

template<typename T >
T proxsuite::proxqp::dense::Workspace< T >::correction_guess_rhs_g

Definition at line 80 of file workspace.hpp.

◆ correction_guess_rhs_b

template<typename T >
T proxsuite::proxqp::dense::Workspace< T >::correction_guess_rhs_b

Definition at line 81 of file workspace.hpp.

◆ alpha

template<typename T >
T proxsuite::proxqp::dense::Workspace< T >::alpha

Definition at line 82 of file workspace.hpp.

◆ dual_residual_scaled

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::dual_residual_scaled

Definition at line 84 of file workspace.hpp.

◆ primal_residual_in_scaled_up

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::primal_residual_in_scaled_up

Definition at line 85 of file workspace.hpp.

◆ primal_residual_in_scaled_up_plus_alphaCdx

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::primal_residual_in_scaled_up_plus_alphaCdx

Definition at line 87 of file workspace.hpp.

◆ primal_residual_in_scaled_low_plus_alphaCdx

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::primal_residual_in_scaled_low_plus_alphaCdx

Definition at line 88 of file workspace.hpp.

◆ CTz

template<typename T >
Vec<T> proxsuite::proxqp::dense::Workspace< T >::CTz

Definition at line 89 of file workspace.hpp.

◆ constraints_changed

template<typename T >
bool proxsuite::proxqp::dense::Workspace< T >::constraints_changed

Definition at line 91 of file workspace.hpp.

◆ dirty

template<typename T >
bool proxsuite::proxqp::dense::Workspace< T >::dirty

Definition at line 92 of file workspace.hpp.

◆ refactorize

template<typename T >
bool proxsuite::proxqp::dense::Workspace< T >::refactorize

Definition at line 93 of file workspace.hpp.

◆ proximal_parameter_update

template<typename T >
bool proxsuite::proxqp::dense::Workspace< T >::proximal_parameter_update

Definition at line 94 of file workspace.hpp.

◆ is_initialized

template<typename T >
bool proxsuite::proxqp::dense::Workspace< T >::is_initialized

Definition at line 95 of file workspace.hpp.

◆ n_c

template<typename T >
sparse::isize proxsuite::proxqp::dense::Workspace< T >::n_c

Definition at line 97 of file workspace.hpp.


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