20 CUTEstProblem(
const char *so_fname,
const char *outsdif_fname);
23 const std::string &outsdif_fname);
59 unsigned objective = 0;
61 unsigned objective_grad = 0;
63 unsigned objective_hess = 0;
65 unsigned hessian_times_vector = 0;
67 unsigned constraints = 0;
69 unsigned constraints_grad = 0;
71 unsigned constraints_hess = 0;
84 std::string
name =
"<UNKNOWN>";
const char * enum_name(CUTEstProblem::Report::Status s)
Wrapper for CUTEst problems loaded from an external shared library.
alpaqa::vec x0
Initial value of decision variables.
unsigned number_box_constraints
The number of box constraints on x.
std::string name
Problem name.
CUTEstProblem(const char *so_fname, const char *outsdif_fname)
Load a CUTEst problem from the given shared library and OUTSDIF.d file.
alpaqa::vec y0
Initial value of Lagrange multipliers.
Report get_report() const
alpaqa::Problem problem
Problem statement (bounds, objective, constraints)
std::unique_ptr< class CUTEstLoader > implementation
CUTEstProblem & operator=(CUTEstProblem &&)
CUTEstProblem(CUTEstProblem &&)
realvec vec
Default type for vectors.
The report generated by CUTEst.
double time_setup
CPU time (in seconds) for CUTEST_csetup.
std::ostream & operator<<(std::ostream &, const CUTEstProblem::Report &)
struct CUTEstProblem::Report::@1 calls
Function call counters.
Status
Status returned by CUTEst.
@ EvaluationError
Evaluation error.
@ ArrayBoundError
Array bound error.
@ AllocationError
Array allocation/deallocation error.
@ Success
Successful call.
std::string name
Name of the problem.
unsigned ncon
Number of constraints.
double time
CPU time (in seconds) since the end of CUTEST_csetup.
unsigned nvar
Number of independent variables.
enum CUTEstProblem::Report::Status status
Exit status.
Problem description for minimization problems.