getprobobj
getprobobj |
Purpose
Synopsis
XPRMlinctr getprobobj(XPRMcontext ctx);
Argument
ctx
|
Mosel's execution context
|
Return value
The linear constraint used as objective function or
NULL if the objective function is not available.
Further information
This function returns the current objective function. Note that the objective function is not available if it was defined as a local linear constraint.
Related topics