CPXXgetobjoffset and CPXgetobjoffset

The routine CPXXgetobjoffset/CPXgetobjoffset accesses the objective offset.

int  CPXXgetobjoffset( CPXCENVptr env, CPXCLPptr lp, double * objoffset_p )

int  CPXgetobjoffset( CPXCENVptr env, CPXCLPptr lp, double * objoffset_p )

Description

The routine CPXXgetobjoffset/CPXgetobjoffset accesses the objective offset of the problem.

Arguments

env
The pointer to the CPLEX environment, as returned by CPXXopenCPLEX/CPXopenCPLEX.
lp
A pointer to a CPLEX LP problem object.
objoffset_p
A pointer to a variable of type double to hold the objective offset value.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.