Previous Page: CPXgetctypeFirst PageNext Page: CPXgetdblparam

CPXgetcutoff


Usage

Mixed Integer Users Only

Description

The routine CPXgetcutoff() is used to access the MIP cutoff value being used during mixed integer optimization. The cutoff is updated with the objective function value, each time an integer solution is found during the branch-and-bound process.

Return Value

The routine returns a zero on success, and a nonzero if an error occurs.

Synopsis

int CPXgetcutoff (CPXENVptr env,
                  CPXLPptr lp,
                  double *cutoff_p);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

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

double *cutoff_p
A pointer to a location where the value of the cutoff is returned.

Example

status = CPXgetcutoff (env, lp, &cutoff);
Previous Page: CPXgetctypeFirst PageNext Page: CPXgetdblparam