The OPTMODEL Procedure |
INTER 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} */
Copyright © SAS Institute, Inc. All Rights Reserved.