NO FRAMES

CPXgetmethod

int CPXPUBLIC CPXgetmethod(CPXCENVptr env, CPXCLPptr lp)
Definition file: cplex.h
Include files: cplex.h

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

Example

 method = CPXgetmethod (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.

Returns:

The possible return values are summarized in the table.
ValueSymbolic ConstantAlgorithm
0CPX_ALG_NONENone
1CPX_ALG_PRIMALPrimal simplex
2CPX_ALG_DUALDual simplex
4CPX_ALG_BARRIERBarrier optimizer (no crossover)