1#include <alpaqa/ipopt-adapter-export.h>
3#include <nlohmann/json.hpp>
5#include <IpIpoptApplication.hpp>
10void IPOPT_ADAPTER_EXPORT
set_param(Ipopt::IpoptApplication &,
const json &j) {
13 "JSON parameters for Ipopt are currently unsupported");
17void IPOPT_ADAPTER_EXPORT
get_param(
const Ipopt::IpoptApplication &, json &j) {
void get_param(const T &, json &j)
Get the first argument as a JSON object j.
void set_param(T &, const json &j)
Update/overwrite the first argument based on the JSON object j.
Custom parameter parsing exception.