CPXXgetsubmethod and CPXgetsubmethod

The routine CPXXgetsubmethod/CPXgetsubmethod accesses the solution method of the last subproblem optimization, in the case of an error termination during mixed integer optimization.

int  CPXXgetsubmethod( CPXCENVptr env, CPXCLPptr lp )

int  CPXgetsubmethod( CPXCENVptr env, CPXCLPptr lp )

Description

The routine CPXXgetsubmethod/CPXgetsubmethod accesses the solution method of the last subproblem optimization, in the case of an error termination during mixed integer optimization.

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

The possible return values are summarized here.

Example


 submethod = CPXgetsubmethod (env, lp);
 
Value Symbolic Constant Algorithm
-1 CPX_ALG_NONE None
1 CPX_ALG_PRIMAL Primal simplex
2 CPX_ALG_DUAL Dual simplex
4 CPX_ALG_BARRIER Barrier optimizer (no crossover)