21 CUTEstProblem(
const char *so_fname,
const char *outsdif_fname,
43 unsigned objective = 0;
45 unsigned objective_grad = 0;
47 unsigned objective_hess = 0;
49 unsigned hessian_times_vector = 0;
51 unsigned constraints = 0;
53 unsigned constraints_grad = 0;
55 unsigned constraints_hess = 0;
60 double time_setup = 0;
70 std::string
name =
"<UNKNOWN>";
Implements common problem functions for minimization problems with box constraints.
Wrapper for CUTEst problems loaded from an external shared library.
void eval_grad_gi(crvec x, index_t i, rvec grad_gi) const
Calls calls
Function call counters.
real_t eval_f_g(crvec x, rvec g) const
Report get_report() const
void eval_grad_L(crvec x, crvec y, rvec grad_L, rvec work_n) const
Eigen::VectorX< int > J_row
Eigen::VectorX< int > J_col
CUTEstProblem(CUTEstProblem &&) noexcept
Eigen::VectorX< int > H_col
CUTEstProblem(const CUTEstProblem &)
void eval_hess_L(crvec x, crvec y, real_t scale, rindexvec inner_idx, rindexvec outer_ptr, rvec H_values) const
std::string name
Problem name.
util::copyable_unique_ptr< class CUTEstLoader > impl
real_t eval_f_grad_f(crvec x, rvec grad_fx) const
vec y0
Initial value of Lagrange multipliers.
void eval_grad_g_prod(crvec x, crvec y, rvec grad_gxy) const
void eval_hess_L_prod(crvec x, crvec y, real_t scale, crvec v, rvec Hv) const
vec x0
Initial value of decision variables.
Eigen::VectorX< int > H_row
void eval_grad_f(crvec x, rvec grad_fx) const
real_t eval_f(crvec x) const
void eval_g(crvec x, rvec gx) const
length_t get_jac_g_num_nonzeros() const
std::ostream & format_report(std::ostream &os, const Report &r) const
CUTEstProblem & operator=(const CUTEstProblem &)
void eval_jac_g(crvec x, rindexvec inner_idx, rindexvec outer_ptr, rvec J_values) const
std::ostream & format_report(std::ostream &os) const
void eval_hess_ψ_prod(crvec x, crvec y, crvec Σ, real_t scale, crvec v, rvec Hv) const
length_t get_hess_L_num_nonzeros() const
The report generated by CUTEst.
#define USING_ALPAQA_CONFIG(Conf)
typename Conf::indexvec indexvec
typename Conf::real_t real_t
typename Conf::rindexvec rindexvec
typename Conf::index_t index_t
typename Conf::length_t length_t
typename Conf::crvec crvec
Double-precision double configuration.