CPXgetmethod


Description

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

Return Value

The possible return values are summarized below.

Value 
Symbolic Constant 
Algorithm 
CPX_ALG_NONE 
None 
CPX_ALG_PRIMAL 
Primal simplex 
CPX_ALG_DUAL 
Dual simplex 
CPX_ALG_BARRIER 
Barrier optimizer (no crossover) 

Synopsis

  int CPXgetmethod (CPXCENVptr env,
                    CPXCLPptr lp);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXCLPptr lp

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

Example

  method = CPXgetmethod (env, lp);


Previous Page: CPXgetlpcallbackfunc Return to Top Next Page: CPXgetmipcallbackfunc