NO FRAMES

CPXgetcutoff

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

The routine CPXgetcutoff accesses 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 if successful and nonzero if an error occurs.