Definition at line 14 of file CUTEstLoader.cpp.
Public Types | |
using | logical_vec = Eigen::Matrix< logical, Eigen::Dynamic, 1 > |
Public Member Functions | |
CUTEstLoader (const char *so_fname, const char *outsdif_fname) | |
doublereal | eval_objective_constrained (alpaqa::crvec x) const |
doublereal | eval_objective_unconstrained (alpaqa::crvec x) const |
void | eval_objective_grad_constrained (alpaqa::crvec x, alpaqa::rvec grad_f) const |
void | eval_objective_grad_unconstrained (alpaqa::crvec x, alpaqa::rvec grad_f) const |
void | eval_constraints (alpaqa::crvec x, alpaqa::rvec g) const |
void | eval_constraints_grad_prod (alpaqa::crvec x, alpaqa::crvec v, alpaqa::rvec grad_g_v) const |
void | eval_constraint_i_grad (alpaqa::crvec x, unsigned i, alpaqa::rvec grad_gi) const |
void | eval_lagr_hess_prod (alpaqa::crvec x, alpaqa::crvec y, alpaqa::crvec v, alpaqa::rvec Hv) const |
void | eval_lagr_hess (alpaqa::crvec x, alpaqa::crvec y, alpaqa::rmat H) const |
unsigned | count_box_constraints () const |
std::string | get_name () |
integer | get_report (doublereal *calls, doublereal *time) |
~CUTEstLoader () | |
template<class T > | |
T * | dlfun (const char *name) |
Static Public Member Functions | |
template<class F > | |
static constexpr auto | call_as (void *funp) |
Public Attributes | |
void * | so_handle = nullptr |
dlopen handle to shared library More... | |
integer | funit = 42 |
Fortran Unit Number for OUTSDIF.d file. More... | |
integer | iout = 6 |
Fortran Unit Number for standard output. More... | |
integer | io_buffer = 11 |
Fortran Unit Number for internal IO. More... | |
integer | nvar |
Number of decision variabls. More... | |
integer | ncon |
Number of constraints. More... | |
alpaqa::vec | x |
decision variable More... | |
alpaqa::vec | x_l |
lower bound on x More... | |
alpaqa::vec | x_u |
upper bound on x More... | |
alpaqa::vec | y |
lagrange multipliers More... | |
alpaqa::vec | c_l |
lower bounds on constraints More... | |
alpaqa::vec | c_u |
upper bounds on constraints More... | |
logical_vec | equatn |
whether the constraint is an equality More... | |
logical_vec | linear |
whether the constraint is linear More... | |
alpaqa::vec | work |
work vector More... | |
void * | eval_obj_p = nullptr |
void * | eval_obj_grad_p = nullptr |
void * | eval_constr_p = nullptr |
void * | eval_constr_grad_prod_p = nullptr |
void * | eval_constr_i_grad_p = nullptr |
void * | eval_lagr_hess_prod_p = nullptr |
void * | eval_lagr_hess_p = nullptr |
Static Private Member Functions | |
static void | throw_error (std::string s, int code) |
static void | throw_if_error (std::string s, int code) |
using logical_vec = Eigen::Matrix<logical, Eigen::Dynamic, 1> |
Definition at line 308 of file CUTEstLoader.cpp.
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 19 of file CUTEstLoader.cpp.
|
inlinestaticconstexpr |
Definition at line 101 of file CUTEstLoader.cpp.
|
inline |
Definition at line 105 of file CUTEstLoader.cpp.
|
inline |
Definition at line 116 of file CUTEstLoader.cpp.
|
inline |
Definition at line 126 of file CUTEstLoader.cpp.
|
inline |
Definition at line 137 of file CUTEstLoader.cpp.
|
inline |
Definition at line 147 of file CUTEstLoader.cpp.
|
inline |
Definition at line 158 of file CUTEstLoader.cpp.
|
inline |
Definition at line 176 of file CUTEstLoader.cpp.
|
inline |
Definition at line 195 of file CUTEstLoader.cpp.
|
inline |
Definition at line 216 of file CUTEstLoader.cpp.
|
inline |
Definition at line 234 of file CUTEstLoader.cpp.
|
inline |
|
inline |
Definition at line 254 of file CUTEstLoader.cpp.
|
inline |
Definition at line 291 of file CUTEstLoader.cpp.
void* so_handle = nullptr |
dlopen handle to shared library
Definition at line 299 of file CUTEstLoader.cpp.
integer funit = 42 |
Fortran Unit Number for OUTSDIF.d file.
Definition at line 301 of file CUTEstLoader.cpp.
integer iout = 6 |
Fortran Unit Number for standard output.
Definition at line 302 of file CUTEstLoader.cpp.
integer io_buffer = 11 |
Fortran Unit Number for internal IO.
Definition at line 303 of file CUTEstLoader.cpp.
integer nvar |
Number of decision variabls.
Definition at line 305 of file CUTEstLoader.cpp.
integer ncon |
Number of constraints.
Definition at line 306 of file CUTEstLoader.cpp.
decision variable
Definition at line 309 of file CUTEstLoader.cpp.
alpaqa::vec x_l |
lower bound on x
Definition at line 310 of file CUTEstLoader.cpp.
alpaqa::vec x_u |
upper bound on x
Definition at line 311 of file CUTEstLoader.cpp.
lagrange multipliers
Definition at line 312 of file CUTEstLoader.cpp.
alpaqa::vec c_l |
lower bounds on constraints
Definition at line 313 of file CUTEstLoader.cpp.
alpaqa::vec c_u |
upper bounds on constraints
Definition at line 314 of file CUTEstLoader.cpp.
logical_vec equatn |
whether the constraint is an equality
Definition at line 315 of file CUTEstLoader.cpp.
logical_vec linear |
whether the constraint is linear
Definition at line 316 of file CUTEstLoader.cpp.
|
mutable |
work vector
Definition at line 317 of file CUTEstLoader.cpp.
void* eval_obj_p = nullptr |
Definition at line 319 of file CUTEstLoader.cpp.
void* eval_obj_grad_p = nullptr |
Definition at line 320 of file CUTEstLoader.cpp.
void* eval_constr_p = nullptr |
Definition at line 321 of file CUTEstLoader.cpp.
void* eval_constr_grad_prod_p = nullptr |
Definition at line 322 of file CUTEstLoader.cpp.
void* eval_constr_i_grad_p = nullptr |
Definition at line 323 of file CUTEstLoader.cpp.
void* eval_lagr_hess_prod_p = nullptr |
Definition at line 324 of file CUTEstLoader.cpp.
void* eval_lagr_hess_p = nullptr |
Definition at line 325 of file CUTEstLoader.cpp.