The possible return values are summarized below.
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 optimizer (no crossover) |
int CPXgetmethod (CPXCENVptr env, CPXCLPptr lp); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
method = CPXgetmethod (env, lp); |