3#include <alpaqa/ipopt-adapter-export.h>
24 Ipopt::SolverReturn status = Ipopt::SolverReturn::UNASSIGNED;
37 IndexStyleEnum &index_style)
override;
42 bool get_starting_point(
Index n,
bool init_x,
Number *x,
bool init_z,
47 Number &obj_value)
override;
49 bool eval_grad_f(
Index n,
const Number *x,
bool new_x,
63 void finalize_solution(Ipopt::SolverReturn status,
Index n,
const Number *x,
66 Number obj_value,
const Ipopt::IpoptData *ip_data,
67 Ipopt::IpoptCalculatedQuantities *ip_cq)
override;
74 } sparsity_J, sparsity_H;
76 static void set_sparsity(Index n, Index m, Index nele, Index *iRow,
77 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