getub
| getub | 
  Purpose
 
 
 This function returns the current upper bound of the domain of the variable passed in the argument.
 
 
  Synopsis
 
 function getub(x:cpvar) : integer
 function getub(x:cpfloatvar) : real
 
  Argument
 
 | 
     x 
     | 
     the decision variable
     | 
  Return value
 
 
 The current upper bound of x
 
  Example
 
 
 The following example shows how to get the upper bound of a cpvar
 x
 
 val:=getub(x)
  Related topics
 
 
 KALIS_DEFAULT_UB
 getlb
 getmiddle
 getsize
 getval
 is_fixed
 getdegree
 gettarget
 getrand
 getnext
 getprev
 contains
 
 
