The OPTMODEL Procedure

SYMDIFF Expression

set-expression SYMDIFF set-expression

The SYMDIFF expression returns the symmetric set difference of the left and right operands. The result set contains values that are members of either the left or right operand but are not members of both operands. The operands must have compatible set types.

The following example demonstrates a symmetric difference:

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

Previous Page | Next Page | Top of Page