wcp_inform_type structure#

#include <galahad_wcp.h>

struct wcp_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_ c_implicit;
    ipc_ x_implicit;
    ipc_ y_implicit;
    ipc_ z_implicit;
    rpc_ obj;
    rpc_ mu_final_target_max;
    rpc_ non_negligible_pivot;
    bool feasible;
    struct wcp_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 WCP_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_ c_implicit

the number of general constraints that lie on (one) of their bounds for feasible solutions

ipc_ x_implicit

the number of variables that lie on (one) of their bounds for all feasible solutions

ipc_ y_implicit

the number of Lagrange multipliers for general constraints that lie on (one) of their bounds for all feasible solutions

ipc_ z_implicit

the number of dual variables that lie on (one) of their bounds for all feasible solutions

rpc_ obj

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

rpc_ mu_final_target_max

the largest target value on termination

rpc_ non_negligible_pivot

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

bool feasible

is the returned primal-dual “solution” strictly feasible?

struct wcp_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