alpaqa
develop
Nonconvex constrained optimization
Loading...
Searching...
No Matches
src
interop
lbfgsb
src
lbfgsb-json.cpp
Go to the documentation of this file.
1
#include <
alpaqa/implementation/params/json.tpp
>
2
#include <
alpaqa/lbfgsb/lbfgsb-adapter.hpp
>
3
4
namespace
alpaqa::params
{
5
6
#include <
alpaqa/lbfgsb/lbfgsb-structs.ipp
>
7
8
template
<>
9
void
LBFGSB_ADAPTER_EXPORT
set_param
(
lbfgsb::LBFGSBSolver::Params
&t,
10
const
json &
j
) {
11
set_param_default
(t,
j
);
12
}
13
template
<>
14
void
LBFGSB_ADAPTER_EXPORT
get_param
(
const
lbfgsb::LBFGSBSolver::Params
&t,
15
json &
j
) {
16
get_param_default
(t,
j
);
17
}
18
19
}
// namespace alpaqa::params
alpaqa::lbfgsb::LBFGSBParams
Tuning parameters for the L-BFGS-B solver LBFGSBSolver.
Definition
lbfgsb-adapter.hpp:18
json.tpp
lbfgsb-structs.ipp
lbfgsb-adapter.hpp
alpaqa::params
Definition
json.tpp:12
alpaqa::params::get_param
void get_param(const T &, json &j)
Get the first argument as a JSON object j.
Definition
json.cpp:253
alpaqa::params::get_param_default
void get_param_default(const T &t, json &j)
Definition
json.tpp:149
alpaqa::params::set_param_default
void set_param_default(T &t, const json &j)
Definition
json.tpp:114
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:249
alpaqa::inf
constexpr const auto inf
Definition
config.hpp:112
Generated on Mon May 6 2024 for alpaqa by
1.9.8