#include <qpalm.hpp>
Stores the matrices and vectors that define the problem.
- Examples
- examples/cxx/qpalm_demo.cpp.
Definition at line 39 of file qpalm.hpp.
◆ Data() [1/2]
Construct a problem of dimension n
with m
constraints.
Definition at line 56 of file qpalm.hpp.
◆ Data() [2/2]
Construct a problem of dimension n
with m
constraints, allocating an uninitialized upper-triangular Q matrix (with implicit symmetry) of nnz_Q
entries, and an uninitialized A matrix of nnz_A
entries.
Definition at line 60 of file qpalm.hpp.
◆ set_Q()
◆ set_A()
◆ get_c_data_ptr()
const ::QPALMData * qpalm::Data::get_c_data_ptr |
( |
| ) |
const |
Get a pointer to the underlying C data structure.
- See also
- QPALMData
Definition at line 9 of file qpalm.cpp.
◆ get_Q()
Get a view on the Q matrix of the problem.
Definition at line 81 of file qpalm.hpp.
◆ get_A()
Get a view on the A matrix of the problem.
Definition at line 91 of file qpalm.hpp.
Problem dimension (size of x and q, number rows and columns of Q, number of columns of A).
Definition at line 43 of file qpalm.hpp.
Number of constraints (size of bmin and bmax, number of rows of A).
Definition at line 46 of file qpalm.hpp.
vec_t qpalm::Data::q = vec_t::Zero(n) |
◆ bmin
vec_t qpalm::Data::bmin = vec_t::Zero(m) |
◆ bmax
vec_t qpalm::Data::bmax = vec_t::Zero(m) |
The documentation for this class was generated from the following files: