The OPTMODEL Procedure

UNION Expression

set-expression UNION set-expression

The UNION expression returns the set union of the left and right operands. The result set contains values that are members of either the left or right operand. The operands must have compatible set types. The following example performs a set union:

  
    proc optmodel; 
       put ({1,3} union {2,3}); /* outputs {1,3,2} */
 

Previous Page | Next Page | Top of Page