dgo_inform_type structure#

#include <galahad_dgo.h>

struct dgo_inform_type {
    // components

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ iter;
    ipc_ f_eval;
    ipc_ g_eval;
    ipc_ h_eval;
    rpc_ obj;
    rpc_ norm_pg;
    rpc_ length_ratio;
    rpc_ f_gap;
    char why_stop[2];
    struct dgo_time_type time;
    struct hash_inform_type hash_inform;
    struct ugo_inform_type ugo_inform;
    struct trb_inform_type trb_inform;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

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

rpc_ obj

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

rpc_ norm_pg

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

rpc_ length_ratio

the ratio of the final to the initial box lengths

rpc_ f_gap

the gap between the best objective value found and the lowest bound

char why_stop[2]

why did the iteration stop? This wil be ‘D’ if the box length is small enough, ‘F’ if the objective gap is small enough, and ‘ ‘ otherwise

struct dgo_time_type time

timings (see above)

struct hash_inform_type hash_inform

inform parameters for HASH

struct ugo_inform_type ugo_inform

inform parameters for UGO

struct trb_inform_type trb_inform

inform parameters for TRB