Trying to generate a list of all possible combinations using the following data: Food Group Name Points Grains Brown Rice 2 Grains Quinoa 2 Grains White Rice 3 Grains English Muffin 4 Fruits Watermelon 3 Fruits Apple 2 Fruits Peach 1 Fruits Grapes 4 Fruits Canned Fruit 4 Fruits Pear 1 Fruits Mango 2 Vegetables/Legumes Iceberg Lettuce 2 Vegetables/Legumes Squash 2 Vegetables/Legumes Eggplant 1 Vegetables/Legumes Kale 3 Vegetables/Legumes Red Cabbage 4 Vegetables/Legumes Asparagus 3 Vegetables/Legumes Sweet Potato 2 Vegetables/Legumes White Potato 1 Vegetables/Legumes Corn on Cob 1 Vegetables/Legumes Red Lentils 4 Vegetables/Legumes Tomato 2 Vegetables/Legumes Bok Choy 3 Vegetables/Legumes Frozen Vegetables 1 Vegetables/Legumes Red Onion 2 Sweets Ice Cream 1 Sweets Pudding 1 Sweets Dark Chocolate 4 Sweets Milk Chocolate 3 Lean Meats Chicken 2 Lean Meats Fish 4 Lean Meats Ground Turkey 2 Lean Meats Fried Fish 1 My exercise is to generate all of the combinations where I have 1 Grain, 2 Fruit, 3 Vegetables, 1 Sweet, 1 Lean Meat where total points is less than or equal to 25. I do not have access to PROC IML. Thanks!
... View more