Initializing help system before first use

getrcost

getrcost


Purpose
Get the reduced cost value of a variable.
Synopsis
function getrcost(v:mpvar):real
Argument
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