Initializing help system before first use

XPRMgetrcost

XPRMgetrcost


Purpose
Get the reduced cost value of a variable.
Synopsis
double XPRMgetrcost(XPRMmodel model, XPRMmpvar var);
Arguments
model 
Reference to a model
var 
Reference to a decision variable
Return value
Reduced cost value or 0.
Further information
This function returns the reduced cost value of a given variable if the problem has been solved successfully (otherwise 0).
Related topics