gltr_inform_type structure#

#include <galahad_gltr.h>

struct gltr_inform_type {
    // fields

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ iter;
    ipc_ iter_pass2;
    rpc_ obj;
    rpc_ multiplier;
    rpc_ mnormx;
    rpc_ piv;
    rpc_ curv;
    rpc_ rayleigh;
    rpc_ leftmost;
    bool negative_curvature;
    bool hard_case;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

return status. See gltr_solve_problem 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 required

ipc_ iter_pass2

the total number of pass-2 iterations required if the solution lies on the trust-region boundary

rpc_ obj

the value of the quadratic function

rpc_ multiplier

the Lagrange multiplier corresponding to the trust-region constraint

rpc_ mnormx

the \(M\) -norm of \(x\)

rpc_ piv

the latest pivot in the Cholesky factorization of the Lanczos tridiagona

rpc_ curv

the most negative cuurvature encountered

rpc_ rayleigh

the current Rayleigh quotient

rpc_ leftmost

an estimate of the leftmost generalized eigenvalue of the pencil \((H,M)\)

bool negative_curvature

was negative curvature encountered ?

bool hard_case

did the hard case occur ?