CPXXcallbackgetinfolong and CPXcallbackgetinfolong

Accesses information of type long from a generic callback.

int  CPXXcallbackgetinfolong( CPXCALLBACKCONTEXptr context, CPXCALLBACKINFO what, CPXLONG *data_p )

int  CPXcallbackgetinfolong( CPXCALLBACKCONTEXptr context, CPXCALLBACKINFO what, CPXLONG *data_p )

Description

From the user-written function of a generic callback, this routine queries information of type long 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.