CPXXbinvrow and CPXbinvrow

The routine CPXXbinvrow/CPXbinvrow computes the i-th row of the basis inverse.

int  CPXXbinvrow( CPXCENVptr env, CPXCLPptr lp, CPXDIM i, double * y )

int  CPXbinvrow( CPXCENVptr env, CPXCLPptr lp, int i, double * y )

Description

Warning:

This is an advanced routine. Advanced routines typically demand a thorough understanding of the algorithms used by CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, the team encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.

The routine CPXXbinvrow/CPXbinvrow computes the i-th row of the basis inverse.

Arguments

env
The pointer to the CPLEX environment, as returned by CPXXopenCPLEX/CPXopenCPLEX.
lp
A pointer to the CPLEX LP problem object, as returned by CPXXcreateprob/CPXcreateprob.
i
An integer that specifies the index of the row to be computed.
y
An array containing the i-th row of Binv (the inverse of the matrix B). The array must be of length at least equal to the number of rows in the problem.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.