CPXXcallbackgetcandidateray and CPXcallbackgetcandidateray
Gets the unbounded ray for callback invocations in the context CPX_CALLBACKCONTEXT_CANDIDATE.
int CPXXcallbackgetcandidateray( CPXCALLBACKCONTEXTptr context, double *x, CPXDIM begin, CPXDIM end, double *obj_p, )
int CPXcallbackgetcandidateray( CPXCALLBACKCONTEXTptr context, double *x, CPXDIM begin, CPXDIM end, double *obj_p, )
Description
This routine queries unbounded ray.
Arguments
- context
-
The callback context as passed into the user-written callback function.
- x
-
Buffer to store the values queried. The buffer must have size at least 1+
end-end. The buffer can beNULLifbeginandendspecify an empty range. - begin
-
First column (inclusive) to query from the unbounded ray.
- end
-
Last column (inclusive) to query from the unbounded ray.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.