NO FRAMES

CPXgetobjoffset

int CPXPUBLIC CPXgetobjoffset(CPXCENVptr env, CPXCLPptr lp, double * objoffset_p)
Definition file: cplex.h
Include files: cplex.h
Note

This is an advanced routine. Advanced routines typically demand a profound understanding of the algorithms used by ILOG CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, ILOG encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.

The routine CPXgetobjoffset returns the objective offset between the original problem and the presolved problem.

Parameters:

env

The pointer to the ILOG CPLEX environment, as returned by CPXopenCPLEX.

lp

A pointer to a reduced CPLEX LP problem object, as returned by CPXgetredlp.

objoffset_p

A pointer to a variable of type double to hold the objective offset value.

Returns:

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