#include <alpaqa/ipopt/ipopt-adapter.hpp>
|
bool | get_nlp_info (Index &n, Index &m, Index &nnz_jac_g, Index &nnz_h_lag, IndexStyleEnum &index_style) override |
|
bool | get_bounds_info (Index n, Number *x_l, Number *x_u, Index m, Number *g_l, Number *g_u) override |
|
bool | get_starting_point (Index n, bool init_x, Number *x, bool init_z, Number *z_L, Number *z_U, Index m, bool init_lambda, Number *lambda) override |
|
bool | eval_f (Index n, const Number *x, bool new_x, Number &obj_value) override |
|
bool | eval_grad_f (Index n, const Number *x, bool new_x, Number *grad_f) override |
|
bool | eval_g (Index n, const Number *x, bool new_x, Index m, Number *g) override |
|
bool | eval_jac_g (Index n, const Number *x, bool new_x, Index m, Index nele_jac, Index *iRow, Index *jCol, Number *values) override |
|
bool | eval_h (Index n, const Number *x, bool new_x, Number obj_factor, Index m, const Number *lambda, bool new_lambda, Index nele_hess, Index *iRow, Index *jCol, Number *values) override |
|
void | finalize_solution (Ipopt::SolverReturn status, Index n, const Number *x, const Number *z_L, const Number *z_U, Index m, const Number *g, const Number *lambda, Number obj_value, const Ipopt::IpoptData *ip_data, Ipopt::IpoptCalculatedQuantities *ip_cq) override |
|
◆ alpaqa::IpoptAdapter::Results
struct alpaqa::IpoptAdapter::Results |
◆ Sparsity
◆ Problem
◆ Index
◆ Number
◆ SparsityConv
◆ IpoptAdapter() [1/2]
◆ IpoptAdapter() [2/2]
◆ get_nlp_info()
◆ get_bounds_info()
◆ get_starting_point()
◆ eval_f()
◆ eval_grad_f()
◆ eval_g()
◆ eval_jac_g()
◆ eval_h()
bool eval_h |
( |
Index |
n, |
|
|
const Number * |
x, |
|
|
bool |
new_x, |
|
|
Number |
obj_factor, |
|
|
Index |
m, |
|
|
const Number * |
lambda, |
|
|
bool |
new_lambda, |
|
|
Index |
nele_hess, |
|
|
Index * |
iRow, |
|
|
Index * |
jCol, |
|
|
Number * |
values |
|
) |
| |
|
override |
◆ finalize_solution()
void finalize_solution |
( |
Ipopt::SolverReturn |
status, |
|
|
Index |
n, |
|
|
const Number * |
x, |
|
|
const Number * |
z_L, |
|
|
const Number * |
z_U, |
|
|
Index |
m, |
|
|
const Number * |
g, |
|
|
const Number * |
lambda, |
|
|
Number |
obj_value, |
|
|
const Ipopt::IpoptData * |
ip_data, |
|
|
Ipopt::IpoptCalculatedQuantities * |
ip_cq |
|
) |
| |
|
override |
◆ problem
◆ initial_guess
◆ initial_guess_bounds_multipliers_l
vec initial_guess_bounds_multipliers_l |
◆ initial_guess_bounds_multipliers_u
vec initial_guess_bounds_multipliers_u |
◆ initial_guess_multipliers
vec initial_guess_multipliers |
◆ results
◆ orig_sparsity_jac_g
Sparsity orig_sparsity_jac_g = problem.get_jac_g_sparsity() |
|
private |
◆ orig_sparsity_hess_L
Sparsity orig_sparsity_hess_L = problem.get_hess_L_sparsity() |
|
private |
◆ cvt_sparsity_jac_g
◆ cvt_sparsity_hess_L
◆ work_jac_g
◆ work_hess_L
The documentation for this class was generated from the following files: