alpaqa 1.0.0a9
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Types | Public Attributes | Related Functions | List of all members
CUTEstProblem::Report Struct Reference

#include <alpaqa/cutest/cutest-loader.hpp>

Detailed Description

The report generated by CUTEst.

See also
man CUTEST_creport and man CUTEST_ureport

Definition at line 33 of file cutest-loader.hpp.

+ Collaboration diagram for CUTEstProblem::Report:

Public Types

enum  Status { Success = 0 , AllocationError = 1 , ArrayBoundError = 2 , EvaluationError = 3 }
 Status returned by CUTEst. More...
 

Public Attributes

std::string name
 Name of the problem.
 
int nvar = 0
 Number of independent variables.
 
int ncon = 0
 Number of constraints.
 
enum alpaqa::CUTEstProblem::Report::Status status = Status::Success
 Exit status.
 
struct {
unsigned objective = 0
 Number of calls to the objective function.
 
unsigned objective_grad = 0
 Number of calls to the objective gradient.
 
unsigned objective_hess = 0
 Number of calls to the objective Hessian.
 
unsigned hessian_times_vector = 0
 Number of Hessian times vector products.
 
unsigned constraints = 0
 Number of calls to the constraint functions.
 
unsigned constraints_grad = 0
 Number of calls to the constraint gradients.
 
unsigned constraints_hess = 0
 Number of calls to the constraint Hessians.
 
calls
 Function call counters.
 
double time_setup = 0
 CPU time (in seconds) for CUTEST_csetup.
 
double time = 0
 CPU time (in seconds) since the end of CUTEST_csetup.
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &, const CUTEstProblem::Report &)
 

Member Enumeration Documentation

◆ Status

enum Status

Status returned by CUTEst.

Enumerator
Success 

Successful call.

AllocationError 

Array allocation/deallocation error.

ArrayBoundError 

Array bound error.

EvaluationError 

Evaluation error.

Definition at line 44 of file cutest-loader.hpp.

Friends And Related Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  ,
const CUTEstProblem::Report  
)
related

Definition at line 597 of file cutest-loader.cpp.

Member Data Documentation

◆ name

std::string name

Name of the problem.

Definition at line 35 of file cutest-loader.hpp.

◆ nvar

int nvar = 0

Number of independent variables.

Definition at line 38 of file cutest-loader.hpp.

◆ ncon

int ncon = 0

Number of constraints.

Definition at line 40 of file cutest-loader.hpp.

◆ status

Exit status.

◆ 

struct { ... } calls

Function call counters.

Note
Note that hessian_times_vector, constraints and constraints_grad may account for codes which allow the evaluation of a selection of constraints only and may thus be much smaller than the number of constraints times the number of iterations. Function call counters.

◆ time_setup

double time_setup = 0

CPU time (in seconds) for CUTEST_csetup.

Definition at line 76 of file cutest-loader.hpp.

◆ time

double time = 0

CPU time (in seconds) since the end of CUTEST_csetup.

Definition at line 78 of file cutest-loader.hpp.


The documentation for this struct was generated from the following file: