The OPTMODEL Procedure |
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 © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.