70
1 Wiederholung Wiederholung Operations Research

1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

  • View
    233

  • Download
    5

Embed Size (px)

Citation preview

Page 1: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

1

WiederholungWiederholung

Operations Research

Page 2: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

2

Operations ResearchOperations Research

Operations Research (OR) is the field of how to form mathematical models

of complex management decision problems and how to analyze the

models to gain insight about possible solutions.

Page 3: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

3

OR ProcessOR Process

Model solution

Real world problem

Model

Real world solution

Analysis

Abstraction Interpretation

Assessment

Page 4: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

4

Operations ResearchOperations Research

Operations Research deals with decision problems by formulating and

analyzing mathematical models – mathematical representations of

pertinent problem features.

Page 5: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

5

Operations ResearchOperations Research

The model-based OR approach to problem solving works best on problems important enough to

warrant the time and resources for a careful study.

Page 6: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

6

Mathematical ProgrammingMathematical Programming

Optimization Models

Page 7: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

7

OR modelsOR models

The three fundamental concerns of forming operations research models are

• decisions open to decision makers,• the constraints limiting decision choices, and• the objectives making some decisions

preferred to others.

Page 8: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

8

Mortimer MiddlemanMortimer Middleman

55/2000

25550.3 qqrMin

55

100..

r

qts

45630$),(

7.250

55

**

*

*

qrc

q

r

Page 9: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

9

Mathematical Programming Mathematical Programming DeterministicDeterministic Optimization Optimization

• Maximise/Minimise– a single real function– of real or integer variables

• subject to constraints on the variables

Page 10: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

10

VariablesVariables

• Variables in optimization models represent the decisions to be taken.

• Variable-type constraints specify the domain of definition for decision variables: the set of values for which the variables have meaning.

Page 11: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

11

Main constraintsMain constraints

• Main constraints of optimization models specify the restriction and interactions, other than variable type, that limit decision variables.

Page 12: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

12

Objective FunctionsObjective Functions

• Objective functions in optimization models quantify the decision consequences to be maximized or minimized.

Page 13: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

13

Mortimer MiddlemanMortimer Middleman

• d ... weekly demand

• f ... fixed cost of replenishment

• h ... cost per carat per week holding

• s ... cost per carat lost sales

• l ... lead time

• m ... minimum order size

Page 14: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

14

Mortimer MiddlemanMortimer Middleman

dqfq

qr dlrhMin /2,

dlr

mqts

..

Page 15: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

15

Parameters – Output VariablesParameters – Output Variables

• Parameters – quantities taken as given– Weekly demand, fixed cost of

replenishment, cost for holding inventory, cost per carat lost sales, lead time, minimum order size.

• Parameters and decision variables determine results measured as output variables– c(r,q ; d,f,h,s,l,m)

Page 16: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

16

Canonical Form of a (Non-Linear) Canonical Form of a (Non-Linear) Optimization ProblemOptimization Problem

• Maximize f(x)

subject to g(x) <= 0

x >= 0

• Key Components of Optimization Pb.– Objective Function– Decision Variables– Constraints

Page 17: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

17

Two Crude Petroleum CaseTwo Crude Petroleum Case

21 6050: xxMin

6

9

5.03.02.0

5.12.04.0

0.24.03.0..

2

1

21

21

21

x

x

xx

xx

xxts

;0;0: 21 xxNNC

gasoline

jet fuel

lubricant

Saudi

Venezuelan

Page 18: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

18

Fence ExcerciseFence Excercise

wlMax :

8022.. wlts

;0;0: wlNNC

Page 19: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

19

Howie’s Hot Tub ProblemHowie’s Hot Tub Problem• Blue Ridge Hot Tubs manufactures and sells two models of hot tubs:

the Acqua-Spa and the Hydro-Lux. Howie Jones, the owner and manager of the company, needs to decide how many of each type of hot tub to produce during his next production cycle. Howie buys prefabricated fiberglass hot tub shells from a local supplier and adds the pump and tubing to the shells to create his hot tubs. (This supplier has the capacity to deliver as many hot tub shells as Howie needs.) Howie installs the same type of pump into both hot tubs. He will have only 200 pumps available during his next production cycle. From a manufacturing standpoint, the main difference between the two models of hot tubs is the amount of tubing and labor required. Each Acqua-Spa requires 9 hours of labor and 12 feet of tubing. Each Hydro-Lux requires 6 hours of labor and 16 feet of tubing. Howie expects to have 1,566 production labor hours and 2,880 feet of tubing available during the next production cycle. Howie earns a profit of $350 on each Aqua-Spa he sells and $300 on each Hydro-Luc he sells. He is confident that he can sell all the hot tubs he produces. The question is, how many Acqua-Spas and Hydro-Luxes should Howie produce if he wants to maximize his profits during the next production cycle?

Taken from Ragsdale’s Book

Page 20: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

20

Howie’s Decision ProblemHowie’s Decision Problem

• Let– X1 = # of Aqua-spas produced– X2 = # of Hydro-Luxs produced

• Maximize Z = 350 X1 + 300 X2

s.t.X1 + X2 <= 200 (pumps)9 X1 + 6 X2 <= 1,566 (labor hours)12 X1 + 16 X2 <= 2880 (feet of tubing)X1, X2 >= 0 (non-negativity)

Page 21: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

21

FeasibleFeasible

• The feasible set (or region) of an optimization model is the collection of choices for decision variables satisfying all model constraints.

• The feasible set for an optimization model is plotted by introducing constraints one by one, keeping track of the region satisfying all at the same time.

Page 22: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

22

Optimal SolutionOptimal Solution

An optimal solution is a feasible choice for decision variables with objective function value at least equal to that of any other solution satisfying all constraints.

Page 23: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

23

Graphing Objective FunctionsGraphing Objective Functions

Objective functions are normally plotted in the same coordinate system as the feasible set of optimization model by introducing contours – lines or curves through points having equal objective function values.

Page 24: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

24

Optimal SolutionOptimal Solution

Optimal solutions show graphically as points lying on the best objective function contour that intersects the feasible region.

Page 25: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

25

Graphical SolutionGraphical Solution(Only practical for 2D Pbs.)(Only practical for 2D Pbs.)

• Plot the constraints

• Identify the feasible region

• Draw contours (level curves; iso-value lines) of objective function

• Most desirable level curve will intersect feasible region

Page 26: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

26

Mathematical ProgrammingMathematical Programming

Graphical Solution

Page 27: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

27

Howie’s hot tube problemHowie’s hot tube problem

Excel Workbook

Lawrence W. Robinson

Johnson Grad. School of Mgmt, Cornell University

Page 28: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

28

Optimal ValueOptimal Value

• The optimal value in an optimization model is the objective function value of any optimal solution.

• An optimization model can have only one optimal value.

Page 29: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

29

Use Graphical Solution to Use Graphical Solution to Develop Some IntuitionDevelop Some Intuition

• Alternate optimal solutions– If obj. fn. is parallel to a binding constraint

• Redundant constraints– Plays no role in determining feasible region

• Unbounded solution– Can occur if feasible region is unbounded

• Infeasible problem– There is no feasible region; constraints are

inconsistent

Page 30: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

30

Fence ExcerciseFence Excercise

Page 31: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

31

Mathematical ProgrammingMathematical Programming

Large Scale Optimisation

Page 32: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

32

Pi Hybrids ExamplePi Hybrids Example

Mingjian Zuo, Way Kuo, and Keith L. McRoberts (1991),

„Application of Mathematical programming to a Large-Scale Agricultural Production and Distribution System“,

Journal of Operational Research Society, 42, 639-648

Page 33: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

33

Pi Hybrids ExamplePi Hybrids Example

• l l = 20 facilities

• m m = 25 hybrid corn

• n n = 30 sales region

Page 34: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

34

Pi Hybrids ExamplePi Hybrids Example

• The producing cost($/bag)

• The corn processing capacity (bushels)

• The corn needed to produce a bag (bushels/bag)

• Hybrid corn demanded (bag)

• The cost per bag shipping ($/bag)

Page 35: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

35

IndexingIndexing

The first step in formulating a large optimization model is to choose appropriate indexes for the different dimensions of the problem.

Page 36: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

36

Pi Hybrids ExamplePi Hybrids Example

• f = 1...l f = 1...l (facilities)

• h = 1...m h = 1...m (hybrid variety)

• r = 1...n r = 1...n (sales region)

Indexes:

Page 37: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

37

Indexing parametersIndexing parameters

To describe large-scale optimization models compactly it is usually necessary to assign indexed symbolic names to variables and to most input parameters, even though they are being treated as constant.

Summation Notation

Page 38: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

38

Pi Hybrids ExamplePi Hybrids Example

• xf,h f = 1,...,l; h = 1,...,m

– bags h at facility f

• yf,h,r f = 1,...,l; h = 1,...m, r = 1,...,n

– bags h from facility f to region r

Variables:

Page 39: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

39

Pi Pi HybridsHybrids Example Example

• pf,h f = 1,...,l; h = 1,...,m

– production cost ($/bag)

• sf,h,r f = 1,...,l; h = 1,...m, r = 1,...,n

– shipping cost ($/bag)

Parameters:

Page 40: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

40

Pi Pi HybridsHybrids Example Example

• uf f = 1,...,l;

– capacity (bushel)

• ah h = 1,...,m;

– (bushel/bag)

• dh,r h = 1,...,m; r = 1,...,n

– demand (bag)

Parameters (continued):

Page 41: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

41

Indexed families of ConstraintsIndexed families of Constraints

Families of similar constraints distinguished by indexes may be expressed in a single-line format

(constraint for fixed indexes) (ranges of indexes)

which implies one constraint for each combination of indexes in the ranges specified.

Page 42: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

42

Pi Pi HybridsHybrids Example Example

Page 43: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

43

Large-scaleLarge-scale

Optimization models become large mainly by a relatively small number of objective function and constraint elements being repeated many times for different periods, locations, products, and so on.

Page 44: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

44

Mathematical ProgrammingMathematical Programming

Linear or Nonlinear

Page 45: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

45

LP ModelLP Model

An optimization model is a linear program (or LP) if it has continuous variables, a single linear objective function, and all constraints are linear equalities or inequalities.

Page 46: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

46

Linear functionsLinear functions

• A function is linear if it is a constant-weighted sum of decision variables. Otherwise, it is nonlinear.

• Linear functions implicitly assume that each unit increase in a decision variable has the same effect as the preceding increase: equal returns to scales.

Page 47: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

47

LinearityLinearity

• Proportional– regular hourly wage rates– machine output per hour– …

• Non-Proportional– wage rates for over time– freight rates– quantity purchasing discout

Page 48: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

48

f(f(xx) is linear if it is a sum of constants ) is linear if it is a sum of constants times the components of times the components of xx

• Linear– y = f(x) = a x + b

– f(x) = c0 + c1 x1 + c2 x2 + c3 x3 + ...

• Not linear– f(x) = sin(x)

– f(x1, x2) = x1/x2

– f(x) = ex

Page 49: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

49

Linear Programming: Linear Programming: A Special Kind of NLPA Special Kind of NLP

• Suppose – Objective function is linear– Constraints are linear– Decision variables are continuous

• Max cT x (i.e., c1 x1 + c2 x2 + ...)

st A x <= b (a1,1 x1 + a1,2 x2 + ... <= b1

a2,1 x1 + a2,2 x2 + ... <= b2)

x >= 0 (i.e., x1 >= 0, x2 >= 0, ...)

Page 50: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

50

E-MartE-Mart

P. Doyle and J. Saunders (1990),

„Multiproduct Advertising Budgeting“,

Marketing Science, 9, 97-113

Page 51: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

51

E-MartE-Mart

Page 52: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

52

Mathematical ProgrammingMathematical Programming

Discrete (Integer) vs. Continuous

Page 53: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

53

Discrete decision var.Discrete decision var.

• A variable is discrete if it is limited to a fixed countable set of values. Often, the choices are integer or only binary (0 and 1).

• A variable is continuous if it can take on any value in a specified interval.

Page 54: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

54

Integer ProgramInteger Program

An optimization model is an integer program (IP) if any one if its decision variables is discrete. If all variables are discrete, the model is a (pure) integer program; otherwise, it is a mixed-integer program (MIP).

Page 55: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

55

Bethlehem Ingot MoldBethlehem Ingot Mold

F.J. Vasko, F.E. Wolf, K.S. Stott, J.W. Scheirer (1989),

„Selecting Optimal Ingot Sizes for Bethlehem Steel“,

Interfaces, 19:1, 68-84

Page 56: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

56

Bethlehem Ingot MoldBethlehem Ingot Mold

Page 57: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

57

Integer ProgramInteger Program

• A discrete or integer programming model is an integer linear program (ILP) if its (single) objective function and all main constraints are linear.

• A discrete or integer programming model is an integer nonlinear program (INLP) if its (single) objective function or any of its main constraints is nonlinear.

Page 58: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

58

Exam SchedulingExam Scheduling

C.J. Horan and W.D. Coates (1990)

„Using More Than ESP to Schedule Final Exams: Purdue‘s Examination Scheduling Procedure II (ESP II)“

College and University Computer Users Conference Proceedings, 35, 133-142

Page 59: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

59

Exam SchedulingExam Scheduling

Page 60: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

60

LP Models are preferredLP Models are preferred

When there is an option, such as when optimal variable magnitudes are likely to be large enough that fractions have no practical importance, modeling with continuous variables is preferred.

Page 61: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

61

Mathematical ProgrammingMathematical Programming

Multiobjective Optimization Models

Page 62: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

62

DuPage Land UseDuPage Land Use

Deepak Bammi and Dalip Bammi (1979)

„Development of a Comprehensive Land Use Plans by means of a Multiple Objective Mathematical Progamming Model,“

Interfaces, 9:2, part 2, 50-63

Page 63: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

63

DuPage Land UseDuPage Land Use

1. Single-family residential

2. Multiple-family residential

3. Commerical

4. Offices

5. Manufacturing

6. Schools and other institutions

7. Open space

Page 64: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

64

DuPage Land UseDuPage Land Use

Page 65: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

65

LP ModelLP Model

• Linear programming requires a single objective function

• If not:– including objectives as constraints in the model +

Sensitivity Analysis– Goal Programming– MCDM

Page 66: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

66

Single objectives are preferredSingle objectives are preferred

When there is an option, single-objective optimization models are preferred to multiobjective ones because conflicts among objectives usually make multiobjective models less tractable.

Page 67: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

67

Beispiel 1Beispiel 1Production Allocation: The Acme Axle Company produces

both car and track axles for national and international markets. Each axle must complete two manufacturing processes: molding and finishing. Each car axle requires 16 units of molding and 10 units of finishing, whereas a truck axle requires 24 units of molding and 20 units of finishing. Weekly, 480 units of molding and 360 units of finishing are available. The demand for Acme‘s axles is such that the firm may sell all it produces. Acme achieves a profit of $50 per car axle and $60 per truck axle. Acme also has an agreement with the Spitz Motor Company to supply 12 car axles and 8 truck axles weekly. Given the above constraints and requirements, Acme desires to know what amounts of car and truck axles to produce weekly in order to maximize profit. Formulate an LP Model to gain insights on the optimal production mix.

Page 68: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

68

Beispiel 2Beispiel 2Large scale: Suppose that the decision variables of a mathematical

programming model are

xi l t … amount of product i produced on manufacturing line l during week t

where i=1,…,17; l=1,…,5; t=1,…,7. Use summation and indexed notation to write expressions for each of the following systems of constraints in terms of these decision variables, and determine how many constraints belong to each system:

• Total production on any line in any week should not exceed 200.

• The total 7-week production of product i=5 should not exceed 4000.

• At least 100 units of each product should be produced each week.

Page 69: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

69

Bsp - EvaluierungBsp - Evaluierung

Evaluation: Five car salespeople had the following sales for the past two months:

The general manager believes that total dollar sales doesn’t adequately capture performance and would like to use a weighted average of luxury car, SUV, and mid-sized sales instead. The manager asks each salesperson to come up with a (positive) weight for each car category, but stipulates that weights cannot allow anyone’s total weighted score to exceed 100. For example, defining w1 = luxury weight, w2 = SUV weight, and w3 = mid-sized weight, Fred’s weighted score would be: 3 w1 + 6 w2 + 12 w3. Develop an LP model that will find a set of weights that will make John’s weighted score as large as possible.

Salesperson Luxury Cars SUV’s Mid-sized Fred 3 6 12 Mary 7 4 15 John 1 4 18 Jane 2 3 24 Chris 5 5 16

Page 70: 1 Wiederholung Operations Research. 2 Operations Research (OR) is the field of how to form mathematical models of complex management decision problems

70

BreakBreak