CPXERR_BAD_METHOD

1292 Invalid choice of optimization method

#define CPXERR_BAD_METHOD 1292

CPLEX returns this error from such routines as CPXXhybnetopt and CPXhybnetopt, CPXXhybbaropt and CPXhybbaropt, or other routines where the user specifies the optimization algorithm for CPLEX to use. In that case, choose a different algorithm (CPX_ALG_PRIMAL or CPX_ALG_DUAL, for example).