getrcost
getrcost |
Purpose
Synopsis
function getrcost(v:mpvar):real
Argument
v
|
A decision variable
|
Return value
Reduced cost value or 0.
Further information
This function returns the reduced cost value of a variable if the problem has been solved successfully and the variable is contained in the problem, otherwise 0 is returned.
Related topics