trb_inform_type structure#

#include <galahad_trb.h>

struct trb_inform_type {
    // components

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ iter;
    ipc_ cg_iter;
    ipc_ cg_maxit;
    ipc_ f_eval;
    ipc_ g_eval;
    ipc_ h_eval;
    ipc_ n_free;
    ipc_ factorization_max;
    ipc_ factorization_status;
    int64_t max_entries_factors;
    int64_t factorization_integer;
    int64_t factorization_real;
    rpc_ obj;
    rpc_ norm_pg;
    rpc_ radius;
    struct trb_time_type time;
    struct trs_inform_type trs_inform;
    struct gltr_inform_type gltr_inform;
    struct psls_inform_type psls_inform;
    struct lms_inform_type lms_inform;
    struct lms_inform_type lms_inform_prec;
    struct sha_inform_type sha_inform;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

return status. See TRB_solve for details

ipc_ alloc_status

the status of the last attempted allocation/deallocation

char bad_alloc[81]

the name of the array for which an allocation/deallocation error occurred

ipc_ iter

the total number of iterations performed

ipc_ cg_iter

the total number of CG iterations performed

ipc_ cg_maxit

the maximum number of CG iterations allowed per iteration

ipc_ f_eval

the total number of evaluations of the objective function

ipc_ g_eval

the total number of evaluations of the gradient of the objective function

ipc_ h_eval

the total number of evaluations of the Hessian of the objective function

ipc_ n_free

the number of variables that are free from their bounds

ipc_ factorization_max

the maximum number of factorizations in a sub-problem solve

ipc_ factorization_status

the return status from the factorization

int64_t max_entries_factors

the maximum number of entries in the factors

int64_t factorization_integer

the total integer workspace required for the factorization

int64_t factorization_real

the total real workspace required for the factorization

rpc_ obj

the value of the objective function at the best estimate of the solution determined by TRB_solve

rpc_ norm_pg

the norm of the projected gradient of the objective function at the best estimate of the solution determined by TRB_solve

rpc_ radius

the current value of the trust-region radius

struct trb_time_type time

timings (see above)

struct trs_inform_type trs_inform

inform parameters for TRS

struct gltr_inform_type gltr_inform

inform parameters for GLTR

struct psls_inform_type psls_inform

inform parameters for PSLS

struct lms_inform_type lms_inform

inform parameters for LMS

struct lms_inform_type lms_inform_prec

inform parameters for LMS used for preconditioning

struct sha_inform_type sha_inform

inform parameters for SHA