lsqp_inform_type structure#

#include <galahad_lsqp.h>

struct lsqp_inform_type {
    // components

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ iter;
    ipc_ factorization_status;
    int64_t factorization_integer;
    int64_t factorization_real;
    ipc_ nfacts;
    ipc_ nbacts;
    rpc_ obj;
    rpc_ potential;
    rpc_ non_negligible_pivot;
    bool feasible;
    struct lsqp_time_type time;
    struct fdc_inform_type fdc_inform;
    struct sbls_inform_type sbls_inform;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

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

the total number of “wasted” function evaluations during the linesearch

rpc_ obj

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

rpc_ potential

the value of the logarithmic potential function sum -log(distance to constraint boundary)

rpc_ non_negligible_pivot

the smallest pivot which was not judged to be zero when detecting linear dependent constraints

bool feasible

is the returned “solution” feasible?

struct lsqp_time_type time

timings (see above)

struct fdc_inform_type fdc_inform

inform parameters for FDC

struct sbls_inform_type sbls_inform

inform parameters for SBLS