#include <alpaqa/interop/cutest/CUTEstLoader.hpp>
Wrapper for CUTEst problems loaded from an external shared library.
- Warning
- The lifetime of the wrapper should be at least as long as the lifetime of the CUTEstProblem::problem member. Do not make a copy of the problem that could outlive the wrapper.
- Examples
- CUTEst/Rosenbrock/main.cpp.
Definition at line 16 of file CUTEstLoader.hpp.
◆ CUTEstProblem::Report.calls
struct CUTEstProblem::Report.calls |
Class Members |
unsigned |
objective |
Number of calls to the objective function. |
unsigned |
objective_grad |
Number of calls to the objective gradient. |
unsigned |
objective_hess |
Number of calls to the objective Hessian. |
unsigned |
hessian_times_vector |
Number of Hessian times vector products. |
unsigned |
constraints |
Number of calls to the constraint functions. |
unsigned |
constraints_grad |
Number of calls to the constraint gradients. |
unsigned |
constraints_hess |
Number of calls to the constraint Hessians. |
◆ CUTEstProblem() [1/3]
CUTEstProblem |
( |
const char * |
so_fname, |
|
|
const char * |
outsdif_fname |
|
) |
| |
Load a CUTEst problem from the given shared library and OUTSDIF.d file.
Definition at line 328 of file CUTEstLoader.cpp.
◆ CUTEstProblem() [2/3]
CUTEstProblem |
( |
const std::string & |
so_fname, |
|
|
const std::string & |
outsdif_fname |
|
) |
| |
Load a CUTEst problem from the given shared library and OUTSDIF.d file.
Definition at line 362 of file CUTEstLoader.cpp.
◆ CUTEstProblem() [3/3]
◆ ~CUTEstProblem()
◆ operator=()
◆ get_report()
◆ problem
◆ name
std::string name = "<UNKNOWN>" |
◆ number_box_constraints
unsigned number_box_constraints = 0 |
◆ x0
◆ y0
◆ implementation
The documentation for this class was generated from the following files: