NO FRAMES

CPXgetdnorms

int CPXPUBLIC CPXgetdnorms(CPXCENVptr env, CPXCLPptr lp, double * norm, int * head, int * len_p)
Definition file: cplex.h
Include files: cplex.h
Note

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 CPXgetdnorms accesses the norms from the dual steepest edge. As in CPXcopydnorms, the argument head is an array of column or row indices corresponding to the array of norms. Column indices are indexed with nonnegative values. Row indices are indexed with negative values offset by 1 (one). For example, if head[0] = -5, norm[0] is associated with row 4.

See Also:

Parameters:

env

The pointer to the ILOG CPLEX environment, as returned by CPXopenCPLEX.

lp

A pointer to the CPLEX LP problem object, as returned by CPXcreateprob.

norm

An array containing the dual steepest-edge norms in the ordered specified by head[]. The array must be of length at least equal to the number of rows in the LP problem object.

head

An array containing column or row indices. The allocated length of the array must be at least equal to the number of rows in the LP problem object.

len_p

A pointer to an integer that indicates the number of entries in both norm[] and head[]. The value assigned to the pointer *len_p is needed by the routine CPXcopydnorms.

Returns:

The routine returns zero on success and nonzero if an error occurs.