NO FRAMES

CPXgetpsbcnt

public int CPXgetpsbcnt(CPXCENVptr env, CPXCLPptr lp)
Definition file: cplex.h

The routine CPXgetpsbcnt accesses the number of primal super-basic variables in the current solution.

Example

 psbcnt = CPXgetpsbcnt (env, lp);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

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

Example

 psbcnt = CPXgetpsbcnt (env, lp);
 

Returns:

If a solution exists, CPXgetpsbcnt returns the number of primal super-basic variables. If no solution exists, CPXgetpsbcnt returns the value 0 (zero).