BurgerKingModel2

BurgerKingModel2 - set NUTR ordered; set FOOD ordered;...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 set NUTR ordered set FOOD ordered param cost {FOOD} >= 0 param f_min {FOOD} >= 0, default 0 param f_max {j in FOOD} >= f_min[j], default 2 param n_min {NUTR} >= 0, default 0 param n_max {i in NUTR} >= n_min[i], default Infinity param amt {NUTR,FOOD} >= 0 # -------------------------------------------------------- var Buy {j in FOOD} integer >= f_min[j], <= f_max[j] # -------------------------------------------------------- minimize Total_Cost: sum {j in FOOD} cost[j] * Buy[j] minimize Nutr_Amt {i in NUTR}: sum {j in FOOD} amt[i,j] * Buy[j] # -------------------------------------------------------- subject to Diet {i in NUTR}: n_min[i] <= sum {j in FOOD} amt[i,j] * Buy[j] <= n_max[i] # -------------------------------------------------------- subject to BurgerSauces: Buy["Barbecue Dipping Sauce (1 oz)"] + Buy["Honey Mustard Dipping Sauce (1 oz)"] + Buy["Sweet and Sour Dipping Sauce (1 oz)"] + Buy["Ranch Dipping Sauce (1 oz)"] + Buy["Buffalo Dipping Sauce (1 oz)"] <= 1 * Buy["CHICKEN TENDERS (4 pc)"] + 2 * Buy["CHICKEN TENDERS (6 pc)"] + 3 * Buy["CHICKEN TENDERS (8 pc)"] + 2 * Buy["BK CHICKEN FRIES (6 pc)"] + 3 * Buy["BK CHICKEN FRIES (9 pc)"] + 4 * Buy["BK CHICKEN FRIES (12 pc)"] subject to SaladToppings: Buy["Garlic Parmesan Croutons"] <= Buy["TENDERGRILL Chicken Garden Salad"] + Buy["TENDERCRISP Chicken Garden Salad"] subject to SaladDressings: Buy["KEN'S Light Italian Dressing (2 oz)"] +
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Sheet1 Page 2 Buy["KEN'S Ranch Dressing (2 oz)"] + Buy["KEN'S Creamy Caesar Dressing (2 oz)"] + Buy["KEN'S Honey Mustard Dressing (2 oz)"] <= Buy["TENDERGRILL Chicken Garden Salad"] + Buy["TENDERCRISP Chicken Garden Salad"] subject to OneDrinkPerMeal: 3 = Buy["Vanilla Milk Shake - Small (16 fl oz)"] + Buy["Vanilla Milk Shake - Medium (22 fl oz)"] + Buy["Vanilla Milk Shake - Large (32 fl oz)"] + Buy["Chocolate Milk Shake - Small (16 fl oz)"] + Buy["Chocolate Milk Shake - Med (22 fl oz)"] + Buy["Chocolate Milk Shake - Large (32 fl oz)"] + Buy["Strawberry Milk Shake - Small (16 fl oz)"] + Buy["Strawberry Milk Shake - Med (22 fl oz)"] + Buy["Strawberry Milk Shake - Large (32 fl oz)"] + Buy["Coca Cola classic - 22 oz small"] + Buy["Coca Cola classic - 32 oz medium"] + Buy["Coca Cola classic - 42 oz large"] + Buy["Diet Coke - 22oz small"] + Buy["Diet Coke - 32 oz medium"] + Buy["Diet Coke - 42 oz large"] + Buy["Sprite - 22 oz small"] + Buy["Sprite - 32 oz medium"] + Buy["Sprite - 42 oz large"] + Buy["Dr. Pepper - 22 oz small"] + Buy["Dr. Pepper - 32 oz medium"] + Buy["Dr. Pepper - 42 oz large"] + Buy["Minute Maid Apple Juice - 6.67 oz"] + Buy["Minute Maid Orange Juice - 10 oz"] + Buy["Icee Coca Cola- 16 fl oz"] + Buy["Icee Coca Cola- 22 fl oz"] + data param: FOOD: cost f_min f_max := "WHOPPER Sandwich" 2.19. . "WHOPPER Sandwich w/o Mayo" 2.19.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

BurgerKingModel2 - set NUTR ordered; set FOOD ordered;...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online