NO FRAMES

CPXcopypnorms

int CPXPUBLIC CPXcopypnorms(CPXCENVptr env, CPXLPptr lp, const double * cnorm, const double * rnorm, int len)
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 CPXcopypnorms copies the primal steepest-edge norms to the specified LP problem object.

See Also:

Parameters:

env

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

lp

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

cnorm

An array containing values to be used in a subsequent call to CPXprimopt, with a setting of CPX_PARAM_PGRADIENT of 2 or 3, as the initial values for the primal steepest-edge norms of the first len columns in the LP problem object. The array must be of length at least equal to the value of the argument len.

rnorm

An array containing values to be used in a subsequent call to CPXprimopt with a setting of CPX_PARAM_PGRADIENT of 2 or 3, as the initial values for the primal steepest-edge norms of the slacks and ranged variables that are nonbasic. The array must be of length at least equal to the number of rows in the LP problem object.

len

An integer that indicates the number of entries in the array cnorm[].

Returns:

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