CPXXgetpsbcnt and CPXgetpsbcnt
The routine CPXXgetpsbcnt/CPXgetpsbcnt accesses the number of
primal super-basic variables in the current solution.
CPXDIM CPXXgetpsbcnt( CPXCENVptr env, CPXCLPptr lp )
int CPXgetpsbcnt( CPXCENVptr env, CPXCLPptr lp )
Description
The routine CPXXgetpsbcnt/CPXgetpsbcnt accesses the number of
primal super-basic variables in the current solution.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob.
Return
If a solution exists,CPXXgetpsbcnt/CPXgetpsbcnt returns the number of primal super-basic variables. If no solution exists, CPXXgetpsbcnt/CPXgetpsbcnt returns the value 0 (zero).
Example
psbcnt = CPXgetpsbcnt (env, lp);