CPXXcallbackgetinfodbl and CPXcallbackgetinfodbl

Accesses information of type double from a generic callback.

int CPXXcallbackgetinfodbl( CPXCALLBACKCONTEXptrcontext, CPXCALLBACKINFOwhat, double*data_p )

int CPXcallbackgetinfodbl( CPXCALLBACKCONTEXptrcontext, CPXCALLBACKINFOwhat, double*data_p )

Description

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