Previous Page: CPXgetlpcallbackfuncFirst PageNext Page: CPXgetmipcallbackfunc

CPXgetmethod


Description

The routine CPXgetmethod() returns an integer indicating the solution algorithm used to solve the resident LP problem.

Return Value

The possible return values are summarized below. If no solution exists, CPXgetmethod() returns 0.

Value  
Symbolic Constant  
Algorithm  
0  
CPX_ALG_NONE  
None  
1  
CPX_ALG_PRIMAL  
Primal simplex  
2  
CPX_ALG_DUAL  
Dual simplex  
4  
CPX_ALG_BARRIER  
Barrier solver (no crossover)  
5  
CPX_ALG_PIVOTIN  
CPXpivotin()  
6  
CPX_ALG_PIVOTOUT  
CPXpivotout()  

Synopsis

int CPXgetmethod (CPXENVptr env,
                  CPXLPptr lp);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXLPptr lp
A pointer to a CPLEX LP problem object as returned by CPXcreateprob().

Example

method = CPXgetmethod (env, lp);
Previous Page: CPXgetlpcallbackfuncFirst PageNext Page: CPXgetmipcallbackfunc