Docsity

modeling guide for short, Summaries of Mathematical Modeling and Simulation

Toggle sidebar
bg1
1
Problem 1: Linear Programming, Sensitivy and Shadow Price Report ........................... 2
Problem 2: Distribution Problem ......................................................................................... 7
Problem 3: Decision Making ............................................................................................... 10
Problem 4: Forecasting ........................................................................................................ 12
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download modeling guide for short and more Summaries Mathematical Modeling and Simulation in PDF only on Docsity!

  • Problem 1: Linear Programming, Sensitivy and Shadow Price Report
  • Problem 2: Distribution Problem
  • Problem 3: Decision Making
  • Problem 4: Forecasting

Problem 1: Linear Programming, Sensitivy and Shadow Price Report You should follow this format: Example : Wyndor Problem After running the solver for this part, remember to also choose Sensitivity report

(Example: D, W >= 0 (Non-negativity Constraints)) Step 2: Conclusion of Solver results: To achieve a maximum profit/minimum cost of …, [Firm’s Name] should produce…. This production plan fully utilizes the … (Example: To achieve a maximum total profit of 3,600 , the optimal production plan of WynDor is to produce 2 Doors and 6 Windows. At this level of production, the resource usage of this plan is exactly 2 hours out of 4 hours for P1 , 12 hours for P2 , and 18 hours for P3 .) Step 3: Sensitivity Report Interpret When the unit profit of … and window is … and … respectively, the optimal solution is producing … and …. This original optimal solution will still be optimal if the unit profit of … varies from … and …. (Example: Variables: Allowable increase of unit profit of door: $450 => $300 + $450 = $ Allowable decrease of unit profit of door: $300 => $300 - $300 = $ When the unit profit of door and window is $ 300 and $ 500 respectively, the optimal solution is producing 2 doors and 6 windows. This original optimal solution will still be optimal if the unit profit of door varies from $0 and $. =>Allowable Range of Door is: $0 <= Door <= $ Allowable increase of unit profit of window: Infinity => $500 + Infinity = Infinity Allowable decrease of unit profit of window: $300 => $500 - $300 = $

When the unit profit of door and window is $ 300 and $ 500 respectively, the optimal solution is producing 2 doors and 6 windows. This original optimal solution will still be optimal if the unit profit of window varies from 200 to Infinity. =>Allowable Range of Window is: $200 <= Window <= Infinity Constraints: Allowable increase of working hours of Plant 1: Infinity => 4 + Infinity = Infinity (hours) Allowable decrease of working hours of Plant 1: 2 => 4 - 2 = 2 (hours) When the unit profit of door and window is $ 300 and $ 500 respectively, the optimal solution is producing 2 doors and 6 windows. This original optimal solution will still be optimal if the available working hours of Plant 1 varies from 2 to Infinity hours. =>Allowable Range of Constraint 1 is: 2 <= P1 <= Infinity (hours) Allowable increase of working hours of Plant 2: 6 => 12 + 6 = 18 (hours) Allowable decrease of working hours of Plant 2: 6 => 12 - 6 = 6 (hours) When the unit profit of door and window is $ 300 and $ 500 respectively, the optimal solution is producing 2 doors and 6 windows. This original optimal solution will still be optimal if the available working hours of Plant 2 varies from 6 to 18 hours. =>Allowable Range of Constraint 1 is: 6 <= P2 <= 18 (hours) Allowable increase of working hours of Plant 3: 6 => 18 + 6 = 24 (hours) Allowable decrease of working hours of Plant 3: 6 => 18 - 6 = 12 (hours) When the unit profit of door and window is $ 300 and $ 500 respectively, the optimal solution is producing 2 doors and 6 windows. This original optimal solution will still be optimal if the available working hours of Plant 3 varies from 12 to 24 hours. =>Allowable Range of Constraint 1 is: 12 <= P3 <= 24 (hours)) Step 4: Shadow Price Interpret When the available working hours in P1, 2, 3 are 4, 12, 18 hours respectively, the used hours in plant 1, 2, 3 are 2, 12, 18 respectively. The shadow price of plant 1 is $0 , means the total profit changes (increase or decrease) $0 for 1 hour changed (increase or decrease) of available hours in Plant 1 (RHS). The shadow price definitely will still be valid if the available hours in Plant 1 varies from 2 (4 - 2) to Infinity (4 + Infinity) hours.

Problem 2 : Distribution Problem Type 1: Minimum Cost-Flow Problem Netflow = Tổng supply - Tổng demand SUMIF([Vùng cần dò: Cột From (Cố định)], [Điều kiện cần dò: Ô Tên của Node], [Vùng dữ liệu(Cố định)]) - SUMIF([Vùng cần dò: Cột To (Cố định)], [Điều kiện cần dò: Ô Tên của Node], [Vùng dữ liệu(Cố định)]) Dùng để tính Netflow của 1 Node Thiết lập 2 ràng buộc:

  • Lượng hàng vận chuyển <= Giới hạn vận chuyển.
  • Netflow = Supply/Demand.

Quy tắc:

  • Điểm supply luôn dương, điểm trung chuyển luôn 0, điểm nhận hàng luôn âm.
  • Lượng hàng nhận được bằng lượng hàng tối đa mà hãng sản xuất được. Example Conclusion: To achieve a minimum total transportation cost of $117,000 , the optimal shipping plan is to distribute the units as follows:
  • Ship 30 units from F1 to W
  • Ship 50 units from F1 to DC
  • Ship 30 units from DC to W
  • Ship 50 units from DC to W
  • Ship 30 units from F2 to DC
  • Ship 40 units from F2 to W This distribution plan successfully meets all supply and demand requirements across the network without exceeding the capacity of any route. Type 2: Maximum Flow Đối với dạng bài này thì, Maximum Flow = Supply Node (Maximum Flow = I3 (Net Flow Stuttgart)) Example Conclusion: The maximum flow that can be sent through the network from Stuttgart (Source) to Los Angeles (Sink) is 150 units. To achieve this maximum capacity, the flow departing from Stuttgart should be distributed as follows: 50 units to Rotterdam, 70 units to Bordeaux, and 30 units to Lisbon.

Problem 3 : Decision Making

  • Alternatives are the options for the decision to be made by the decision maker (Ex: Sell or Drill)
  • State of Nature are possible states/situations (Ex: Oil or Dry) Decision Making without Probabilities 1. Maximax Criterion The maximax criterion is the decision criterion for the eternal optimist. It says to focus only on the best that can happen to us. Here is how this criterion works:
  • Identify the maximum payoff from any state of nature for each decision alternative.
  • Find the maximum of these maximum payoffs and choose the corresponding decision alternative. => The maximax criterion always chooses the decision alternative that can give the largest possible payoff 2. Maximin Criterion The maximin criterion is the criterion for the total pessimist. In contrast to the maximax criterion, it says to focus only on the worst that can happen to us. Here is how this criterion works:
  • Identify the minimum payoff from any state of nature for each decision alternative.
  • Find the maximum of these minimum payoffs and choose the corresponding decision alternative. => The maximin criterion always chooses the decision alternative that provides the best guarantee for its minimum possible payoff.

Decision Making with Probabilities

1. Maximum Likelihood The maximum likelihood criterion says to focus on the most likely state of nature as follows.

  • Identify the state of nature with the largest prior probability.
  • Choose the decision alternative that has the largest payoff for this state of nature. 2. Bayes Decision Rules Bayes’ decision rule directly uses the prior probabilities of the possible states of nature as summarized below.
  • For each decision alternative, calculate the weighted average of its payoffs by multiplying each payoff by the prior probability of the corresponding state of nature and then summing these products. Using statistical terminology, refer to this weighted average as the expected payoff (EP) for this decision alternative.
  • Bayes’ decision rule says to choose the alternative with the largest expected payoff.