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

This class stores the model of the QP problem. More...

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

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

Public Member Functions

 Model (isize dim, isize n_eq, isize n_in, bool box_constraints=false)
 
proxsuite::proxqp::sparse::SparseModel< T > to_sparse ()
 
bool is_valid (const bool box_constraints)
 

Public Attributes

Mat< T > H
 
Vec< T > g
 
Mat< T > A
 
Mat< T > C
 
Vec< T > b
 
Vec< T > u
 
Vec< T > l
 
Vec< T > u_box
 
Vec< T > l_box
 
isize dim
 
isize n_eq
 
isize n_in
 
isize n_total
 
BackwardData< T > backward_data
 

Detailed Description

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

This class stores the model of the QP problem.

Model class of the dense solver storing the QP problem.

Definition at line 23 of file model.hpp.

Constructor & Destructor Documentation

◆ Model()

template<typename T >
proxsuite::proxqp::dense::Model< T >::Model ( isize dim,
isize n_eq,
isize n_in,
bool box_constraints = false )
inline

Default constructor.

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

Definition at line 52 of file model.hpp.

Member Function Documentation

◆ to_sparse()

template<typename T >
proxsuite::proxqp::sparse::SparseModel< T > proxsuite::proxqp::dense::Model< T >::to_sparse ( )
inline

Definition at line 94 of file model.hpp.

◆ is_valid()

template<typename T >
bool proxsuite::proxqp::dense::Model< T >::is_valid ( const bool box_constraints)
inline

Definition at line 104 of file model.hpp.

Member Data Documentation

◆ H

template<typename T >
Mat<T> proxsuite::proxqp::dense::Model< T >::H

Definition at line 27 of file model.hpp.

◆ g

template<typename T >
Vec<T> proxsuite::proxqp::dense::Model< T >::g

Definition at line 28 of file model.hpp.

◆ A

template<typename T >
Mat<T> proxsuite::proxqp::dense::Model< T >::A

Definition at line 29 of file model.hpp.

◆ C

template<typename T >
Mat<T> proxsuite::proxqp::dense::Model< T >::C

Definition at line 30 of file model.hpp.

◆ b

template<typename T >
Vec<T> proxsuite::proxqp::dense::Model< T >::b

Definition at line 31 of file model.hpp.

◆ u

template<typename T >
Vec<T> proxsuite::proxqp::dense::Model< T >::u

Definition at line 32 of file model.hpp.

◆ l

template<typename T >
Vec<T> proxsuite::proxqp::dense::Model< T >::l

Definition at line 33 of file model.hpp.

◆ u_box

template<typename T >
Vec<T> proxsuite::proxqp::dense::Model< T >::u_box

Definition at line 34 of file model.hpp.

◆ l_box

template<typename T >
Vec<T> proxsuite::proxqp::dense::Model< T >::l_box

Definition at line 35 of file model.hpp.

◆ dim

template<typename T >
isize proxsuite::proxqp::dense::Model< T >::dim

Definition at line 38 of file model.hpp.

◆ n_eq

template<typename T >
isize proxsuite::proxqp::dense::Model< T >::n_eq

Definition at line 39 of file model.hpp.

◆ n_in

template<typename T >
isize proxsuite::proxqp::dense::Model< T >::n_in

Definition at line 40 of file model.hpp.

◆ n_total

template<typename T >
isize proxsuite::proxqp::dense::Model< T >::n_total

Definition at line 41 of file model.hpp.

◆ backward_data

template<typename T >
BackwardData<T> proxsuite::proxqp::dense::Model< T >::backward_data

Definition at line 44 of file model.hpp.


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