alpaqa
1.0.0a17
Nonconvex constrained optimization
Loading...
Searching...
No Matches
src
interop
qpalm
include
alpaqa
qpalm
qpalm-adapter.hpp
Go to the documentation of this file.
1
#include <
alpaqa/config/config.hpp
>
2
#include <
alpaqa/problem/type-erased-problem.hpp
>
3
#include <alpaqa/qpalm-adapter-export.h>
4
#include <qpalm.hpp>
5
6
namespace
alpaqa
{
7
8
struct
QPALM_ADAPTER_EXPORT
OwningQPALMData
: QPALMData {
9
USING_ALPAQA_CONFIG
(
EigenConfigd
);
10
struct
Storage
{
11
qpalm::ladel_sparse_matrix_ptr Q,
A
;
12
vec
q
;
13
Box<config_t>
b
;
14
};
15
std::unique_ptr<Storage> sto = std::make_unique<Storage>();
16
};
17
18
QPALM_ADAPTER_EXPORT
OwningQPALMData
19
build_qpalm_problem
(
const
TypeErasedProblem<EigenConfigd>
&problem);
20
21
}
// namespace alpaqa
alpaqa::TypeErasedProblem
The main polymorphic minimization problem interface.
Definition
type-erased-problem.hpp:220
config.hpp
USING_ALPAQA_CONFIG
#define USING_ALPAQA_CONFIG(Conf)
Definition
config.hpp:77
alpaqa
Definition
anderson.hpp:10
alpaqa::build_qpalm_problem
OwningQPALMData build_qpalm_problem(const TypeErasedProblem< EigenConfigd > &problem)
Definition
qpalm-adapter.cpp:125
alpaqa::inf
constexpr const auto inf
Definition
config.hpp:112
alpaqa::vec
typename Conf::vec vec
Definition
config.hpp:88
alpaqa::EigenConfigd
Double-precision double configuration.
Definition
config.hpp:174
alpaqa::OwningQPALMData
Definition
qpalm-adapter.hpp:8
alpaqa::OwningQPALMData::Storage::A
qpalm::ladel_sparse_matrix_ptr A
Definition
qpalm-adapter.hpp:11
alpaqa::OwningQPALMData::Storage::q
vec q
Definition
qpalm-adapter.hpp:12
alpaqa::OwningQPALMData::Storage::b
Box< config_t > b
Definition
qpalm-adapter.hpp:13
alpaqa::OwningQPALMData::Storage
Definition
qpalm-adapter.hpp:10
alpaqa::sets::Box
Definition
box.hpp:11
type-erased-problem.hpp
Generated on Tue Mar 26 2024 for alpaqa by
1.9.8