Overview | Group | Tree | Graph | Index | Concepts |
This is an advanced routine. Advanced routines typically demand a profound understanding of the algorithms used by ILOG CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, ILOG encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.
The routine CPXcheckax
finds the
L∞ norm of Ax - b. That
is, this routine checks for numeric (roundoff) error in the computation of
x (the resident solution) by putting it into that formula and determining
which row has the maximum error from zero. This routine also returns, in one
of its arguments, the index of the row with the maximum error from zero.
To get the L∞ norm for the scaled problem, set the parameter
scalrimtype = 1
.
env | The pointer to the ILOG CPLEX environment, as returned by |
lp | A pointer to the CPLEX LP problem object, as returned by |
imax_p | A pointer to the index of the row with the maximum absolute value in Ax - b. If no solution exists, |
scalrimtype | An integer that indicates the type of scaling to be applied to the returned L∞ norm. When this parameter is equal to |