proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::proxqp::sparse::SparseModel< _Scalar > Struct Template Reference

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

Public Types

enum  { layout = Eigen::RowMajor }
 
typedef _Scalar Scalar
 
using VectorType = Eigen::Matrix<Scalar, Eigen::Dynamic, 1>
 

Public Member Functions

template<typename Vector_g , typename Vector_b , typename Vector_u , typename Vector_l >
 SparseModel (const Eigen::SparseMatrix< Scalar, 1 > &H, const Eigen::MatrixBase< Vector_g > &g, const Eigen::SparseMatrix< Scalar, 1 > &A, const Eigen::MatrixBase< Vector_b > &b, const Eigen::SparseMatrix< Scalar, 1 > &C, const Eigen::MatrixBase< Vector_u > &u, const Eigen::MatrixBase< Vector_l > &l) noexcept
 
auto as_view () -> proxqp::dense::QpView< Scalar >
 
auto as_mut () -> proxqp::dense::QpViewMut< Scalar >
 

Public Attributes

Eigen::SparseMatrix< Scalar, 1 > H
 
VectorType g
 
Eigen::SparseMatrix< Scalar, 1 > A
 
VectorType b
 
Eigen::SparseMatrix< Scalar, 1 > C
 
VectorType u
 
VectorType l
 

Detailed Description

template<typename _Scalar>
struct proxsuite::proxqp::sparse::SparseModel< _Scalar >

Definition at line 153 of file model.hpp.

Member Typedef Documentation

◆ Scalar

template<typename _Scalar >
typedef _Scalar proxsuite::proxqp::sparse::SparseModel< _Scalar >::Scalar

Definition at line 155 of file model.hpp.

◆ VectorType

template<typename _Scalar >
using proxsuite::proxqp::sparse::SparseModel< _Scalar >::VectorType = Eigen::Matrix<Scalar, Eigen::Dynamic, 1>

Definition at line 161 of file model.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename _Scalar >
anonymous enum
Enumerator
layout 

Definition at line 156 of file model.hpp.

Constructor & Destructor Documentation

◆ SparseModel()

template<typename _Scalar >
template<typename Vector_g , typename Vector_b , typename Vector_u , typename Vector_l >
proxsuite::proxqp::sparse::SparseModel< _Scalar >::SparseModel ( const Eigen::SparseMatrix< Scalar, 1 > & H,
const Eigen::MatrixBase< Vector_g > & g,
const Eigen::SparseMatrix< Scalar, 1 > & A,
const Eigen::MatrixBase< Vector_b > & b,
const Eigen::SparseMatrix< Scalar, 1 > & C,
const Eigen::MatrixBase< Vector_u > & u,
const Eigen::MatrixBase< Vector_l > & l )
inlinenoexcept

Definition at line 175 of file model.hpp.

Member Function Documentation

◆ as_view()

template<typename _Scalar >
auto proxsuite::proxqp::sparse::SparseModel< _Scalar >::as_view ( ) -> proxqp::dense::QpView<Scalar>
inline

Definition at line 192 of file model.hpp.

◆ as_mut()

template<typename _Scalar >
auto proxsuite::proxqp::sparse::SparseModel< _Scalar >::as_mut ( ) -> proxqp::dense::QpViewMut<Scalar>
inline

Definition at line 207 of file model.hpp.

Member Data Documentation

◆ H

template<typename _Scalar >
Eigen::SparseMatrix<Scalar, 1> proxsuite::proxqp::sparse::SparseModel< _Scalar >::H

Definition at line 163 of file model.hpp.

◆ g

template<typename _Scalar >
VectorType proxsuite::proxqp::sparse::SparseModel< _Scalar >::g

Definition at line 164 of file model.hpp.

◆ A

template<typename _Scalar >
Eigen::SparseMatrix<Scalar, 1> proxsuite::proxqp::sparse::SparseModel< _Scalar >::A

Definition at line 165 of file model.hpp.

◆ b

template<typename _Scalar >
VectorType proxsuite::proxqp::sparse::SparseModel< _Scalar >::b

Definition at line 166 of file model.hpp.

◆ C

template<typename _Scalar >
Eigen::SparseMatrix<Scalar, 1> proxsuite::proxqp::sparse::SparseModel< _Scalar >::C

Definition at line 167 of file model.hpp.

◆ u

template<typename _Scalar >
VectorType proxsuite::proxqp::sparse::SparseModel< _Scalar >::u

Definition at line 168 of file model.hpp.

◆ l

template<typename _Scalar >
VectorType proxsuite::proxqp::sparse::SparseModel< _Scalar >::l

Definition at line 169 of file model.hpp.


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