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
getslack, getsol, getdual.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.