3#include <alpaqa/ipopt-adapter-export.h>
24 Ipopt::SolverReturn status = Ipopt::SolverReturn::UNASSIGNED;
26 real_t solution_f = NaN<config_t>, infeasibility = NaN<config_t>,
27 nlp_error = NaN<config_t>;
38 IndexStyleEnum &index_style)
override;
43 bool get_starting_point(
Index n,
bool init_x,
Number *x,
bool init_z,
48 Number &obj_value)
override;
50 bool eval_grad_f(
Index n,
const Number *x,
bool new_x,
64 void finalize_solution(Ipopt::SolverReturn status,
Index n,
const Number *x,
67 Number obj_value,
const Ipopt::IpoptData *ip_data,
68 Ipopt::IpoptCalculatedQuantities *ip_cq)
override;
76 } sparsity_J, sparsity_H;
78 static void set_sparsity(Index n, Index m, Index nele, Index *iRow,
79 Index *jCol,
const Sparsity &sp);
Based on https://coin-or.github.io/Ipopt/INTERFACES.html.
vec initial_guess_bounds_multipliers_l
vec initial_guess_multipliers
vec initial_guess_bounds_multipliers_u
IpoptAdapter(Problem &&)=delete
#define USING_ALPAQA_CONFIG(Conf)
typename Conf::indexvec indexvec
typename Conf::real_t real_t
typename Conf::length_t length_t
Double-precision double configuration.