The OPTMODEL Procedure

DIFF Expression

set-expression DIFF set-expression

The DIFF operator returns a set that contains the set difference of the left and right operands. The result set contains values that are members of the left operand but not members of the right operand. The operands must have compatible set types. The following code evaluates and prints a set difference:

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

Previous Page | Next Page | Top of Page