Presentation is loading. Please wait.

Presentation is loading. Please wait.

Previously in Chapter 4 Assignment Problems Network Flow Problems Vehicle Routing Problems Transportation Problems Staffing Problems.

Similar presentations


Presentation on theme: "Previously in Chapter 4 Assignment Problems Network Flow Problems Vehicle Routing Problems Transportation Problems Staffing Problems."— Presentation transcript:

1 Previously in Chapter 4 Assignment Problems Network Flow Problems Vehicle Routing Problems Transportation Problems Staffing Problems

2 Agenda Sensitivity Analysis Optimization tricks: If statements Diseconomy of Scale Projects Sequential Decision Processes –a.k.a. Production Planning

3 Sensitivity Analysis If you are missing these columns

4 Sensitivity Analysis

5 make sure it is checked

6 If statements (Part 1) Not in typical optimization formulation Harder for solvers minf(x 1,x 2,…,x n ) s.t.g 1 (x 1,x 2,…,x n ) ≤ b 1 g 2 (x 1,x 2,…,x n ) = b 2 … x 1 ≤0, x 3 binary, x 4 ≥0, x 4 integer, … (note that there is sign-constraint on x 2, sometimes we say “x 2 is a free variable”)

7 If statements (Part 2) 0 ≤x and If x≤b, then y=c, else y=d create binary 0/1 variable z add the constraints (b-x)/b ≤ z(if x≤b, then z=1) z≤1+(b-x)/b(if x>b, then z=0) y=cz+d(1-z)(if z=1, then y=c else y=d)

8 If statements (Part 3) Binary variables are hard for solvers –though better than if statements Sometimes can be avoided –for example: diseconomies of scale (certain piecewise linear functions)

9 Diseconomy of Scale quantity revenue or profit quantity cost mathematically equivalent

10 Economy of Scale revenue or profit quantity cost mathematically equivalent

11 Projects 10% of final grade (worth a couple of homeworks) Groups of up to 3 Topic areas: –optimization (should start around now) –stochastic models (later)

12 Optimization Projects airline scheduling asset allocation production planning class scheduling tournament setup design optimization comparing algorithms I will post more details online

13 Examples Airline scheduling –Virgin America network –2 flight/day per link –How many planes are needed? Asset Allocation –July ‘08 Northwestern endowment at $8b –How would you have invested it?

14 Todo Group should meet me discuss project negotiate deliverables and deadlines –earlier for optimization topics

15 Sequential Decision Process Discretize Time Variables for each period –for example: #workers W k, inventory level I k period k=12345…

16 Production Planning (4.12) 1.List time periods –maybe add an extra at beginning and end 2.List variables (things to keep track of) –states and actions 3.Make timeline for a single period 4.Add constraints –“laws of motion”: constraints connecting a period to the next 5.Add objective 6.Solve

17 Problem Summary Producing snow tires Monthly demand: Oct-March Goal: cheaply meet demand Decisions: –hire or fire, overtime, production quantity Inventory cost, trainees are less productive

18 Production Planning (4.12) 1.List time periods –maybe add an extra at beginning and end 2.List variables (things to keep track of) –states and actions 3.Make timeline for a single period 4.Add constraints –“laws of motion”: constraints connecting a period to the next 5.Add objective 6.Solve

19 Production Planning (4.12) 1.List time periods –maybe add an extra at beginning and end 2.List variables (things to keep track of) –states and actions 3.Make timeline for a single period 4.Add constraints –“laws of motion”: constraints connecting a period to the next 5.Add objective 6.Solve

20 Variables For each period # hired H k, #fired F k #trained and trainee workers –total #workers W k, #trained workers T k units produced overtime used –R k units produced with regular hours, –O k units produced with overtime inventory I k

21 Production Planning (4.12) 1.List time periods –maybe add an extra at beginning and end 2.List variables (things to keep track of) –states and actions 3.Make timeline for a single period 4.Add constraints –“laws of motion”: constraints connecting a period to the next 5.Add objective 6.Solve

22 Timeline Period k W k #workers H k #hired F k #fired Production Decision R k #units with regular time O k #units with overtime T k #trained workers I k #units inventory D k #units shipped next periodprev. period

23 Production Planning (4.12) 1.List time periods –maybe add an extra at beginning and end 2.List variables (things to keep track of) –states and actions 3.Make timeline for a single period 4.Add constraints –“laws of motion”: constraints connecting a period to the next 5.Add objective 6.Solve

24 Constraints Inventory: I 1 =0, I k+1 =I k +R k +O k -D k Meeting Demand: I k+1 ≥ 0 Workforce W 1 =90, W k+1 =W k +H k -F k T k =W k -F k, T 7 =100 Capacity R k ≤18T k +8H k O k ≤(18/4)T k Nonnegativity

25 Production Planning (4.12) 1.List time periods –maybe add an extra at beginning and end 2.List variables (things to keep track of) –states and actions 3.Make timeline for a single period 4.Add constraints –“laws of motion”: constraints connecting a period to the next 5.Add objective 6.Solve

26 Objective Hiring / Firing costs $3000*(H 1 +…+H 7 ) $7000*(F 1 +…+F 7 ) Compensation $2600*(W 2 +…+W 7 ) $2600*1.5*(O 1 +…+O 7 )/18 Inventory $40*(I 1 +…+I 7 )

27 Variations and Extensions Transportation Problem with delays Multiple products Multiple production steps Warehouses Everything combined


Download ppt "Previously in Chapter 4 Assignment Problems Network Flow Problems Vehicle Routing Problems Transportation Problems Staffing Problems."

Similar presentations


Ads by Google