alpaqa 1.0.0a14
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions | Variables
alpaqa::cutest Namespace Reference

Classes

struct  Function
 Reference to CUTEst function. More...
 
struct  function_call_error
 
struct  function_load_error
 
struct  Name
 Compile-time string for CUTEst function names. More...
 

Typedefs

using csetup = Function<"cutest_cint_csetup_", void(integer *status, const integer *funit, const integer *iout, const integer *io_buffer, integer *n, integer *m, doublereal *x, doublereal *bl, doublereal *bu, doublereal *v, doublereal *cl, doublereal *cu, logical *equatn, logical *linear, const integer *e_order, const integer *l_order, const integer *v_order)>
 
using cterminate = Function<"cutest_cterminate_", void(integer *status)>
 
using cdimen = Function<"cutest_cdimen_", void(integer *status, const integer *funit, integer *n, integer *m)>
 
using cdimsj = Function<"cutest_cdimsj_", void(integer *status, integer *nnzj)>
 
using cdimsh = Function<"cutest_cdimsh_", void(integer *status, integer *nnzh)>
 
using probname = Function<"cutest_probname_", void(integer *status, char *pname)>
 
using creport = Function<"cutest_creport_", void(integer *status, doublereal *calls, doublereal *time)>
 
using ureport = Function<"cutest_ureport_", void(integer *status, doublereal *calls, doublereal *time)>
 
using cfn = Function<"cutest_cfn_", void(integer *status, const integer *n, const integer *m, const doublereal *x, doublereal *f, doublereal *c)>
 
using cofg = Function<"cutest_cint_cofg_", void(integer *status, const integer *n, const doublereal *x, doublereal *f, doublereal *g, const logical *grad)>
 
using ccfg = Function<"cutest_cint_ccfg_", void(integer *status, const integer *n, const integer *m, const doublereal *x, doublereal *c, const logical *jtrans, const integer *lcjac1, const integer *lcjac2, doublereal *cjac, const logical *grad)>
 
using clfg = Function<"cutest_cint_clfg_", void(integer *status, const integer *n, const integer *m, const doublereal *x, const doublereal *y, doublereal *f, doublereal *g, const logical *grad)>
 
using ccfsg = Function<"cutest_cint_ccfsg_", void(integer *status, const integer *n, const integer *m, const doublereal *x, doublereal *c, integer *nnzj, const integer *lcjac, doublereal *cjac, integer *indvar, integer *indfun, const logical *grad)>
 
using ccifg = Function<"cutest_cint_ccifg_", void(integer *status, const integer *n, const integer *icon, const doublereal *x, doublereal *ci, doublereal *gci, const logical *grad)>
 
using cdh = Function<"cutest_cdh_", void(integer *status, const integer *n, const integer *m, const doublereal *x, const doublereal *y, const integer *lh1, doublereal *h)>
 
using cshp = Function<"cutest_cshp_", void(integer *status, const integer *n, integer *nnzh, const integer *lh, integer *irnh, integer *icnh)>
 
using csh = Function<"cutest_csh_", void(integer *status, const integer *n, const integer *m, const doublereal *x, const doublereal *y, integer *nnzh, const integer *lh, doublereal *h, integer *irnh, integer *icnh)>
 
using cigr = Function<"cutest_cigr_", void(integer *status, const integer *n, const integer *iprob, const doublereal *x, doublereal *g)>
 
using chprod = Function<"cutest_chprod_", void(integer *status, const integer *n, const integer *m, const logical *goth, const doublereal *x, const doublereal *y, doublereal *p, doublereal *q)>
 
using cjprod = Function<"cutest_cjprod_", void(integer *status, const integer *n, const integer *m, const logical *gotj, const logical *jtrans, const doublereal *x, const doublereal *p, const integer *lp, doublereal *r, const integer *lr)>
 
using csjp = Function<"cutest_csjp_", void(integer *status, integer *nnzj, const integer *lj, integer *J_var, integer *J_con)>
 
using fortran_open = Function<"fortran_open_", void(const integer *funit, const char *fname, integer *ierr)>
 
using fortran_close = Function<"fortran_close_", void(const integer *funit, integer *ierr)>
 
using integer = int
 
using doublereal = double
 
using logical = int
 

Enumerations

enum class  Status { Success = 0 , AllocErr = 1 , BoundErr = 2 , EvalErr = 3 }
 

Functions

constexpr const charenum_name (Status s)
 

Variables

constexpr logical True = 1
 
constexpr logical False = 0
 
constexpr doublereal inf = 1e20
 
constexpr size_t fstring_len = 10
 

Typedef Documentation

◆ csetup

Definition at line 46 of file cutest-functions.hpp.

◆ cterminate

using cterminate = Function<"cutest_cterminate_", void(integer *status)>

Definition at line 47 of file cutest-functions.hpp.

◆ cdimen

using cdimen = Function<"cutest_cdimen_", void(integer *status, const integer *funit, integer *n, integer *m)>

Definition at line 49 of file cutest-functions.hpp.

◆ cdimsj

using cdimsj = Function<"cutest_cdimsj_", void(integer *status, integer *nnzj)>

Definition at line 50 of file cutest-functions.hpp.

◆ cdimsh

using cdimsh = Function<"cutest_cdimsh_", void(integer *status, integer *nnzh)>

Definition at line 51 of file cutest-functions.hpp.

◆ probname

using probname = Function<"cutest_probname_", void(integer *status, char *pname)>

Definition at line 53 of file cutest-functions.hpp.

◆ creport

typedef Function<"cutest_creport_", void(integer *status, doublereal *calls, doublereal *time)> creport

Definition at line 54 of file cutest-functions.hpp.

◆ ureport

using ureport = Function<"cutest_ureport_", void(integer *status, doublereal *calls, doublereal *time)>

Definition at line 56 of file cutest-functions.hpp.

◆ cfn

using cfn = Function<"cutest_cfn_", void(integer *status, const integer *n, const integer *m, const doublereal *x, doublereal *f, doublereal *c)>

Definition at line 58 of file cutest-functions.hpp.

◆ cofg

using cofg = Function<"cutest_cint_cofg_", void(integer *status, const integer *n, const doublereal *x, doublereal *f, doublereal *g, const logical *grad)>

Definition at line 59 of file cutest-functions.hpp.

◆ ccfg

Definition at line 60 of file cutest-functions.hpp.

◆ clfg

Definition at line 61 of file cutest-functions.hpp.

◆ ccfsg

Definition at line 62 of file cutest-functions.hpp.

◆ ccifg

Definition at line 63 of file cutest-functions.hpp.

◆ cdh

Definition at line 64 of file cutest-functions.hpp.

◆ cshp

Definition at line 65 of file cutest-functions.hpp.

◆ csh

Definition at line 66 of file cutest-functions.hpp.

◆ cigr

using cigr = Function<"cutest_cigr_", void(integer *status, const integer *n, const integer *iprob, const doublereal *x, doublereal *g)>

Definition at line 67 of file cutest-functions.hpp.

◆ chprod

Definition at line 68 of file cutest-functions.hpp.

◆ cjprod

Definition at line 69 of file cutest-functions.hpp.

◆ csjp

Definition at line 70 of file cutest-functions.hpp.

◆ fortran_open

using fortran_open = Function<"fortran_open_", void(const integer *funit, const char *fname, integer *ierr)>

Definition at line 72 of file cutest-functions.hpp.

◆ fortran_close

using fortran_close = Function<"fortran_close_", void(const integer *funit, integer *ierr)>

Definition at line 73 of file cutest-functions.hpp.

◆ integer

Definition at line 25 of file cutest-types.hpp.

◆ doublereal

Definition at line 26 of file cutest-types.hpp.

◆ logical

Definition at line 27 of file cutest-types.hpp.

Enumeration Type Documentation

◆ Status

enum class Status
strong
Enumerator
Success 

Successful call.

AllocErr 

Array allocation/deallocation error.

BoundErr 

Array bound error.

EvalErr 

Evaluation error.

Definition at line 11 of file cutest-errors.hpp.

Function Documentation

◆ enum_name()

constexpr const char * enum_name ( Status  s)
inlineconstexpr

Definition at line 18 of file cutest-errors.hpp.

Variable Documentation

◆ True

constexpr logical True = 1
constexpr

Definition at line 28 of file cutest-types.hpp.

◆ False

constexpr logical False = 0
constexpr

Definition at line 29 of file cutest-types.hpp.

◆ inf

constexpr doublereal inf = 1e20
constexpr

Definition at line 30 of file cutest-types.hpp.

◆ fstring_len

constexpr size_t fstring_len = 10
constexpr

Definition at line 31 of file cutest-types.hpp.