NO FRAMES

CPXgetsubmethod

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

The routine CPXgetsubmethod is used to access the solution method of the last subproblem optimization, in the case of an error termination during mixed integer optimization.

Example

 submethod = CPXgetsubmethod (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

 submethod = CPXgetsubmethod (env, lp);
 

Returns:

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