Retrieve the piecewise-linear objective function for a variable. The
return value gives the number of points that define the function, and
the and arguments give the coordinates of the points,
respectively. The and arguments must be large enough to hold
the result. Call this method with
null values for and
if you just want the number of points.
Refer to this discussion for additional information on what the values in and mean.
var: The variable whose objective function is being retrieved.
x: The values for the points that define the piecewise-linear function. These will always be in non-decreasing order.
y: The values for the points that define the piecewise-linear function.
The number of points that define the piecewise-linear objective function.