CPXgetcutoff


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 (CPXCENVptr env,
                    CPXCLPptr lp,
                    double *cutoff_p);

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().

double *cutoff_p

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

Example

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


Previous Page: CPXgetctype Return to Top Next Page: CPXgetdblparam