Initializing help system before first use

gettarget

gettarget


Purpose
Returns the target value (preferred value for instantiation) for the variable passed in argument
Synopsis
function gettarget(var:cpvar) : integer
function gettarget(var:cpfloatvar) : real
Argument
var 
the decision variable
Return value
The target value of var
Example
The following example shows how to get the target value of a cpvar 'x'
tval := gettarget(x)
Related topics