CPXXcallbackgetinfoint and CPXcallbackgetinfoint

Accesses information of type integer from a generic callback.

int  CPXXcallbackgetinfoint( CPXCALLBACKCONTEXptr context, CPXCALLBACKINFO what, CPXINT *data_p )

int  CPXcallbackgetinfoint( CPXCALLBACKCONTEXptr context, CPXCALLBACKINFO what, CPXINT *data_p )

Description

From the user-written function of a generic callback, this routine queries information of type integer about the solution process.

Arguments

context

The callback context as passed to the callback function that performs this query.

what

The information to query.

See the enumeration CPXCALLBACKINFO for documentation of possible values of this argument.

data_p

A pointer the memory location where the queried information is stored.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.