Template Struct Model
Defined in File model.hpp
Struct Documentation
-
template<typename T, typename I>
struct Model This class stores the model of the QP problem.
Model class of the sparse solver storing the QP problem structure.
Public Functions
-
inline Model(isize dim, isize n_eq, isize n_in)
Default constructor.
- Parameters:
dim – primal variable dimension.
n_eq – number of equality constraints.
n_in – number of inequality constraints.
-
inline auto kkt() const -> proxsuite::linalg::sparse::MatRef<T, I>
Returns the current (scaled) KKT matrix of the problem.
-
inline auto kkt_mut() -> proxsuite::linalg::sparse::MatMut<T, I>
Returns the current (scaled) KKT matrix of the problem (mutable form).
-
inline Model(isize dim, isize n_eq, isize n_in)