Initializing help system before first use

XPRMgetvsol

XPRMgetvsol


Purpose
Get the solution value of a variable.
Synopsis
double XPRMgetvsol(XPRMmodel model, XPRMmpvar var);
Arguments
model 
Reference to a model
var 
Reference to a decision variable
Return value
Solution value or 0.
Further information
This function returns the value of a given variable if the problem has been solved successfully (LP: optimal LP solution or 0, global: last integer solution or 0).
Related topics