|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
Constrained quadratic programming problem (CQPP) formulation. More...
#include <cqpp.hpp>
Public Types | |
| using | backend_t = Backend |
| using | linear_op_storage_t = ::mundy::storage<LinearOp> |
| using | vector_storage_t = ::mundy::storage<QVector> |
| using | linear_op_t = typename linear_op_storage_t::value_type |
| using | vector_t = typename vector_storage_t::value_type |
| using | space_t = ConvexSpace |
| using | workspace_t = Workspace |
| using | value_type = impl::vector_value_type<vector_t> |
Public Member Functions | |
| CQPP (Backend, LinearOp &&A, QVector &&q, const space_t &space) | |
| CQPP (Backend, LinearOp &&A, QVector &&q, const space_t &space, workspace_t workspace) | |
| Backend | backend () const |
| const auto & | A () const |
| const auto & | q () const |
| const space_t & | space () const |
| workspace_t & | workspace () const |
| This problem's cached scratch state for evaluating A (see Backend::apply and Op::Workspace types). | |
This is for a constrained quadratic programming problem of the form: x^* = argmin_{x in Omega} 0.5 x^T A x + q^T x where A is a symmetric positive semi-definite matrix, q is a vector, and Omega is a convex space.
| Backend | The backend to use for operations (e.g., KokkosBackend, MundyMathBackend) |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::backend_t = Backend |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::linear_op_storage_t = ::mundy::storage<LinearOp> |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::vector_storage_t = ::mundy::storage<QVector> |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::linear_op_t = typename linear_op_storage_t::value_type |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::vector_t = typename vector_storage_t::value_type |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::space_t = ConvexSpace |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::workspace_t = Workspace |
| using mundy::CQPP< Backend, LinearOp, QVector, ConvexSpace, Workspace >::value_type = impl::vector_value_type<vector_t> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |