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