getsol
getsol |
Purpose
Get the solution value of an expression from a solution object.
Synopsis
function getsol(ms:mpsol,v:mpvar):real
function getsol(ms:mpsol,c:linctr):real
function getsol(ms:mpsol,nl:nlctr):real
function getsol(bv:boolvar):boolean
function getsol(ms:mpsol,bv:boolvar):boolean
function getsol(lc:logctr):boolean
function getsol(ms:mpsol,lc:logctr):boolean
Arguments
ms
|
A solution object
|
v
|
A decision variable
|
bv
|
A pseudo boolean decision variable
|
c
|
A linear constraint
|
nl
|
A non linear constraint
|
lc
|
A logical constraint
|
Return value
Solution value or 0 (or
false for a logical parameter).
Further information
This function returns an evaluation of an expression using the provided solution object as solution values for the decision variables.
Related topics
Module