alpaqa 1.0.0a9
Nonconvex constrained optimization
Loading...
Searching...
No Matches
qpalm-adapter.hpp
Go to the documentation of this file.
3#include <alpaqa/qpalm-adapter-export.h>
4#include <qpalm.hpp>
5
6namespace alpaqa {
7
8struct OwningQPALMData : QPALMData {
10 struct Storage {
11 qpalm::ladel_sparse_matrix_ptr Q, A;
14 };
15 std::unique_ptr<Storage> sto = std::make_unique<Storage>();
16};
17
18QPALM_ADAPTER_EXPORT OwningQPALMData
20
21} // namespace alpaqa
The main polymorphic minimization problem interface.
#define USING_ALPAQA_CONFIG(Conf)
Definition: config.hpp:54
QPALM_ADAPTER_EXPORT OwningQPALMData build_qpalm_problem(const TypeErasedProblem< EigenConfigd > &problem)
typename Conf::vec vec
Definition: config.hpp:64
Double-precision double configuration.
Definition: config.hpp:127
qpalm::ladel_sparse_matrix_ptr A
qpalm::ladel_sparse_matrix_ptr Q
std::unique_ptr< Storage > sto