qpa_inform_type structure#

#include <galahad_qpa.h>

struct qpa_inform_type {
    // components

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ major_iter;
    ipc_ iter;
    ipc_ cg_iter;
    ipc_ factorization_status;
    int64_t factorization_integer;
    int64_t factorization_real;
    ipc_ nfacts;
    ipc_ nmods;
    ipc_ num_g_infeas;
    ipc_ num_b_infeas;
    rpc_ obj;
    rpc_ infeas_g;
    rpc_ infeas_b;
    rpc_ merit;
    struct qpa_time_type time;
    struct sls_inform_type sls_inform;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

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

the total number of major iterations required

ipc_ iter

the total number of iterations required

ipc_ cg_iter

the total number of conjugate gradient iterations required

ipc_ factorization_status

the return status from the factorization

int64_t factorization_integer

the total integer workspace required for the factorization

int64_t factorization_real

the total real workspace required for the factorization

ipc_ nfacts

the total number of factorizations performed

ipc_ nmods

the total number of factorizations which were modified to ensure that th matrix was an appropriate preconditioner

ipc_ num_g_infeas

the number of infeasible general constraints

ipc_ num_b_infeas

the number of infeasible simple-bound constraints

rpc_ obj

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

rpc_ infeas_g

the 1-norm of the infeasibility of the general constraints

rpc_ infeas_b

the 1-norm of the infeasibility of the simple-bound constraints

rpc_ merit

the merit function value = obj + rho_g * infeas_g + rho_b * infeas_b

struct qpa_time_type time

timings (see above)

struct sls_inform_type sls_inform

inform parameters for SLS