tru_inform_type structure#

#include <galahad_tru.h>

struct tru_inform_type {
    // components

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ iter;
    ipc_ cg_iter;
    ipc_ f_eval;
    ipc_ g_eval;
    ipc_ h_eval;
    ipc_ factorization_max;
    ipc_ factorization_status;
    int64_t max_entries_factors;
    int64_t factorization_integer;
    int64_t factorization_real;
    rpc_ factorization_average;
    rpc_ obj;
    rpc_ norm_g;
    rpc_ radius;
    struct tru_time_type time;
    struct trs_inform_type trs_inform;
    struct gltr_inform_type gltr_inform;
    struct dps_inform_type dps_inform;
    struct psls_inform_type psls_inform;
    struct lms_inform_type lms_inform;
    struct lms_inform_type lms_inform_prec;
    struct sec_inform_type sec_inform;
    struct sha_inform_type sha_inform;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

return status. See TRU_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_ 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_ 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_ factorization_average

the average number of factorizations per sub-problem solve

rpc_ obj

the value of the objective function at the best estimate of the solution determined by the package.

rpc_ norm_g

the norm of the gradient of the objective function at the best estimate of the solution determined by the package.

rpc_ radius

the current value of the trust-region radius

struct tru_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 dps_inform_type dps_inform

inform parameters for DPS

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 sec_inform_type sec_inform

inform parameters for SEC

struct sha_inform_type sha_inform

inform parameters for SHA