Definition at line 86 of file cutest-loader.cpp.
Classes | |
struct | ConstrFuncs |
Public Types | |
using | Box = alpaqa::Box< config_t > |
using | logical_vec = Eigen::VectorX< logical > |
Pointers to loaded problem functions. | |
Public Member Functions | |
CUTEstLoader (const char *so_fname, const char *outsdif_fname) | |
void | setup_problem (rvec x0, rvec y0, Box &C, Box &D) |
std::string | get_name () |
integer | get_report (doublereal *calls, doublereal *time) |
template<class T > | |
T * | dlfun (const char *name) |
Public Attributes | |
std::shared_ptr< void > | so_handle |
dlopen handle to shared library | |
cleanup_t | cleanup_outsdif |
Responsible for closing the OUTSDIF.d file. | |
cleanup_t | cutest_terminate |
Responsible for calling CUTEST_xterminate. | |
integer | funit = 42 |
Fortran Unit Number for OUTSDIF.d file. | |
integer | iout = 6 |
Fortran Unit Number for standard output. | |
integer | io_buffer = 11 |
Fortran Unit Number for internal IO. | |
integer | nvar |
Number of decision variabls. | |
integer | ncon |
Number of constraints. | |
ConstrFuncs | funcs |
logical_vec | equatn |
whether the constraint is an equality | |
logical_vec | linear |
whether the constraint is linear | |
vec | work |
work vector | |
Private Types | |
using | cleanup_t = std::shared_ptr< void > |
Private Member Functions | |
template<class F > | |
cleanup_t | cleanup (F &&func) |
cleanup_t | load_outsdif (const char *outsdif_fname) |
cleanup_t | terminator () |
struct alpaqa::CUTEstLoader::ConstrFuncs |
Class Members | ||
---|---|---|
decltype(CUTEST_cfn) * | cfn | |
decltype(CUTEST_cofg) * | cofg | |
decltype(CUTEST_ccfg) * | ccfg | |
decltype(CUTEST_clfg) * | clfg | |
decltype(CUTEST_cjprod) * | cjprod | |
decltype(CUTEST_ccifg) * | ccifg | |
decltype(CUTEST_cigr) * | cigr | |
decltype(CUTEST_cdimsj) * | cdimsj | |
decltype(FUNDERSCORE(cutest_csjp)) * | csjp | |
decltype(CUTEST_ccfsg) * | ccfsg | |
decltype(CUTEST_cdh) * | cdh | |
decltype(CUTEST_cdimsh) * | cdimsh | |
decltype(CUTEST_cshp) * | cshp | |
decltype(CUTEST_csh) * | csh | |
decltype(CUTEST_chprod) * | chprod |
using Box = alpaqa::Box<config_t> |
Definition at line 89 of file cutest-loader.cpp.
|
private |
Definition at line 92 of file cutest-loader.cpp.
using logical_vec = Eigen::VectorX<logical> |
Pointers to loaded problem functions.
Definition at line 245 of file cutest-loader.cpp.
|
inline |
|
inlineprivate |
|
inlineprivate |
Definition at line 99 of file cutest-loader.cpp.
|
inlineprivate |
Definition at line 112 of file cutest-loader.cpp.
|
inline |
Definition at line 206 of file cutest-loader.cpp.
|
inline |
Definition at line 215 of file cutest-loader.cpp.
|
inline |
Definition at line 224 of file cutest-loader.cpp.
std::shared_ptr<void> so_handle |
dlopen handle to shared library
Definition at line 233 of file cutest-loader.cpp.
cleanup_t cleanup_outsdif |
Responsible for closing the OUTSDIF.d file.
Definition at line 234 of file cutest-loader.cpp.
cleanup_t cutest_terminate |
Responsible for calling CUTEST_xterminate.
Definition at line 235 of file cutest-loader.cpp.
integer funit = 42 |
Fortran Unit Number for OUTSDIF.d file.
Definition at line 237 of file cutest-loader.cpp.
integer iout = 6 |
Fortran Unit Number for standard output.
Definition at line 238 of file cutest-loader.cpp.
integer io_buffer = 11 |
Fortran Unit Number for internal IO.
Definition at line 239 of file cutest-loader.cpp.
integer nvar |
Number of decision variabls.
Definition at line 241 of file cutest-loader.cpp.
integer ncon |
Number of constraints.
Definition at line 242 of file cutest-loader.cpp.
ConstrFuncs funcs |
Definition at line 243 of file cutest-loader.cpp.
logical_vec equatn |
whether the constraint is an equality
Definition at line 246 of file cutest-loader.cpp.
logical_vec linear |
whether the constraint is linear
Definition at line 247 of file cutest-loader.cpp.
|
mutable |
work vector
Definition at line 248 of file cutest-loader.cpp.