NO FRAMES

CPXgetcutoff

int CPXPUBLIC CPXgetcutoff(CPXCENVptr env, CPXCLPptr lp, double * cutoff_p)
Definition file: cplex.h
Include files: cplex.h

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 branch & cut.

Example

 status = CPXgetcutoff (env, lp, &cutoff);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

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

cutoff_p

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

Example

 status = CPXgetcutoff (env, lp, &cutoff);

Returns:

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