The OPTMODEL Procedure

INTER Expression

set-expression INTER set-expression

The INTER operator returns a set that contains the intersection of the left and right operands. This is the set that contains values that are members of both operand sets. The operands must have compatible set types.

The following code evaluates and prints a set intersection:

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

Previous Page | Next Page | Top of Page