alpaqa
1.0.0a18
Nonconvex constrained optimization
Loading...
Searching...
No Matches
src
interop
qpalm
src
qpalm-json.cpp
Go to the documentation of this file.
1
#include <
alpaqa/implementation/params/json.tpp
>
2
#include <
alpaqa/qpalm/qpalm-adapter.hpp
>
3
4
namespace
alpaqa::params
{
5
6
#include <
alpaqa/qpalm/qpalm-structs.ipp
>
7
8
template
<>
9
void
QPALM_ADAPTER_EXPORT
set_param
(qpalm::Settings &t,
const
json &
j
) {
10
set_param_default
(t,
j
);
11
}
12
template
<>
13
void
QPALM_ADAPTER_EXPORT
get_param
(
const
qpalm::Settings &t, json &
j
) {
14
get_param_default
(t,
j
);
15
}
16
17
}
// namespace alpaqa::params
json.tpp
alpaqa::params
Definition
json.tpp:11
alpaqa::params::get_param
void get_param(const T &, json &j)
Get the first argument as a JSON object j.
Definition
json.cpp:252
alpaqa::params::get_param_default
void get_param_default(const T &t, json &j)
Definition
json.tpp:148
alpaqa::params::set_param_default
void set_param_default(T &t, const json &j)
Definition
json.tpp:113
alpaqa::params::set_param
void set_param(T &, const json &j)
Update/overwrite the first argument based on the JSON object j.
Definition
json.cpp:248
alpaqa::inf
constexpr const auto inf
Definition
config.hpp:112
qpalm-adapter.hpp
qpalm-structs.ipp
Generated on Wed Mar 27 2024 for alpaqa by
1.9.8