1 Linear Programming Design of mathematical model.

Slides:



Advertisements
Similar presentations
Chapter 3: Linear Programming Modeling Applications © 2007 Pearson Education.
Advertisements

BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
Chapter 19 – Linear Programming
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Lesson 08 Linear Programming
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Planning with Linear Programming
Linear Programming Problem
Linear Programming Models & Case Studies
Session II – Introduction to Linear Programming
Chapter 2: Modeling with Linear Programming & sensitivity analysis
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Chapter 5 Linear Inequalities and Linear Programming
Learning Objectives for Section 5.3
Chapter 5 Linear Inequalities and Linear Programming Section 3 Linear Programming in Two Dimensions: A Geometric Approach.
Linear Programming Problem Formulation.
Marketing Applications: Media selection
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: Formulations & Graphical Solution.
Linear Programming Applications in Marketing, Finance and Operations
© 2008 Prentice-Hall, Inc. Chapter 7 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created.
Chapter 6 Linear Programming: The Simplex Method
19 Linear Programming CHAPTER
Operations Management
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
INTRODUCTION TO LINEAR PROGRAMMING
Linear-Programming Applications
Chapter 10. Resource Allocation
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Linear Programming Chapter 13 Supplement.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Optimization Models Mathematical optimization models usually contain an objective (what to do) constraints (the rules that must be followed). Also referred.
Production Management Application by Aparna Asha. v Saritha Jinto Antony Kurian.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
Spreadsheet Modeling & Decision Analysis:
OPSM 301 Operations Management
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
1 Linear Programming Chapter 2 By Mohammad Shahid Khan M.Eco, MBA, B.Cs, B.Ed. Lecturer in Economics & Business Administration Department of Economics.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
Linear Programming Introduction: Linear programming(LP) is a mathematical optimization technique. By “Optimization” technique we mean a method which attempts.
Examples discussed in class
Linear Programming last topic of the semester What is linear programming (LP)? Not about computer programming “Programming” means “planning” “Linear” refers.
Constraint management Constraint Something that limits the performance of a process or system in achieving its goals. Categories: Market (demand side)
1 Linear Programming (LP) 線性規劃 - George Dantzig, 1947.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
Integer Programming Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from.
LINEAR PROGRAMMING.
OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
LINEAR PROGRAMMING MEANING:
Chapter 3 Linear Programming Applications
ACCT 2302 Fundamentals of Accounting II Spring 2011 Lecture 18 Professor Jeff Yu.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
1 Geometrical solution of Linear Programming Model.
Introduction Operations Research (OR) It is a scientific approach to determine the optimum (best) solution to a decision problem under the restriction.
1 Introduction To Linear Programming l Today many of the resources needed as inputs to operations are in limited supply. l Operations managers must understand.
Linear Programming Applications
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Class 10: Introduction to Linear Programming
Linear Programming – Introduction
Chapter 5 Linear Inequalities and Linear Programming
Linear Programming Dr. T. T. Kachwala.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Constraint management
Presentation transcript:

1 Linear Programming Design of mathematical model

2 Formulating Linear Programming Model 1.decision variables These are the elements under the control of the decision-maker, and their values determine the solution of the model. 2.objective function – criterion function The decision maker will use it to evaluate alternative solutions to the problem. 3.Limitations These are the restrictions imposed upon the values of the decision variables. 4. Non negativity limits

3 Objective function Two tipes: – Minimization Costs, number of purchased good, kilometers – Maximization Profit, benefit, utility

4 Limitations – Capacities or Capacity Capacity of the storage Capacity of machine Capacity of sources – Requirements or Requirement Requirements for the quantity of variables – Balance Balance between the categories Relationships in production – Definitional Definition of

5 Example: Production Enterprise produces two products for shoes– ladies heel and mens heel Both of them has to be processed on two machines. The period of operation of machines is limited. Requirements for working and working time machine is in the table. Establish a structure of production, during which the sale of products to achieve maximum profit.

6 Example: Production Mens and Ladies heels

7 Table

8 Example: Juice and coctail glasses A machine can produce 100 cases of juice glasses in six hours, or 100 cases of cocktail glasses in five hours. It operates only 60 hours per week. The week’s production is kept in own stockroom where he has an effective capacity of 15,000 cubic centimeters. A case of juice glasses requires 10 cubic centimeters of storage space, while a case of cocktail glasses requires 20 cubic centimeters. The contribution of the juice glasses is EUR 5.00 per case; the only customer available will not accept more than 800 cases per week. The contribution of the cocktail glasses is EUR 4.50 per case and there is no limit on the amount that can be sold. How many cases of each type of glass should be produced each week in order to maximize the total contribution?

9 Example: Juice and coctail glasses 1.Decision variables : x1 = Number of cases of juice glasses produced per week (in hundreds of cases per week), and x2 = Number of cases of cocktail glasses produced per week (in hundreds of cases per week). 2.Objective function: Contribution = 500x x2

10 Example: Juice and coctail glasses 3.limitations Because the machine is limited to 60 hours per week, and production of juice glasses requires 6 hours per hundred cases while production of ten- ounce cocktail glasses requires 5 hours per hundred cases, the constraint imposed on production capacity in units of production hours per week is: 6x1 + 5x2 ≤ 60 We have only 15,000 cubic centimeters of effective storage space and a case of six-ounce juice glasses requires 10 cubic feet, while a case of ten- ounce cocktail glasses requires 20 cubic centimeters, the constraint on storage capacity, in units of hundreds of cubic feet of space per week, is: 10x1 + 20x2 ≤ 150 No more than 800 cases of six-ounce juice glasses can be sold each week. x1 ≤ 8 Since the decision variables must be nonnegative, x1 ≥ 0, x2≥ 0

11 Mathematical Model Z max = 500x x2 6x1 + 5x2 ≤ 60 10x1 + 20x2 ≤ 150 x1 ≤ 8 x1 ≥ 0, x2≥ 0 A GEOMETRICAL PREVIEW: Next lecture.

12 The Cutting Problem Example The company producing window frames has an order for 20 windows, which are made from wooden boards. The frame has the dimension of 60 x 120 cm, the boards are sold only in one length: 240 cm. Calculate how many boards at minimum should the company buy. The width of all board is the same, do not calculate with the wastage in cutting. window 120 cm 60 cm

13 The Cutting Problem We need: 40 pcs of 60 cm boards (pieces A) 40 pcs of 120 board (pieces B) Cutting plans: 120 cm 60 cm 120 cm

14 The Cutting Problem Decision variables: x 1 … number of boards cut by the plan 1 x 2 … number of boards cut by the plan 2 x 3 … number of boards cut by the plan 3 Objective function: x 1 +x 2 + x 3 →min Limitations: We need 40 pcs of A And 40 pcs of B

15 The Cutting Problem Limitations: Cuts A: 2x 1 + 4x 3 ⪰ 40 Cuts B: x 1 + 2x 2 ⪰ cm 60 cm 120 cm

16 Example: An iron foundry An iron foundry (slévárna) has a firm order to produce 1000 pounds of castings (odlitek) containing at least 0.45 percent manganese and between 3.25 percent and 5.50 percent silicon. The castings sell for $0.45 per pound. The foundry has three types of pig iron available with the following properties:

17 Example: An iron foundry Further, the production process is such that pure manganese can also be added directly to the melt. The costs of the various possible inputs are: Pig A $21/thousand pounds Pig B $25/thousand pounds Pig C $15/thousand pounds Manganese $ 8/pound. It costs 0.5 cents to melt down a pound of pig iron. Out of what inputs should the foundry produce the castings in order to maximize profits? Pig Iron ABC Silicon4%1%0.6% Manganese0.45%0.5%0.4%

18 Decision variables x1 = Thousands of pounds of pig iron A, x2 = Thousands of pounds of pig iron B, x3 = Thousands of pounds of pig iron C, x4 = Pounds of pure manganese.

19 Objective function Since we are producing exactly 1000 pounds of castings, the total income will be the selling price per pound times 1000 pounds. Total income = 0.45 × 1000 = 450. We should add the melting cost of $0.005/pound.Thus, the relevant unit cost of the pig iron, in dollars per thousand pounds, is: Pig iron A = 26, Pig iron B = 30, Pig iron C = 20. The total cost becomes: Total cost = 26x1 + 30x2 + 20x3 + 8x4 The total profit we want to maximize is: Total profit = Total income − Total cost. Total profit = 450 − 26x1 − 30x2 − 20x3 − 8x4

20 Limitations The total amount to be produced exactly equal to 1000 pounds; that is: 1000x x x3 + x4 = 1000 Next, the castings should contain at least 0.45 percent manganese, or 4.5 pounds in the 1000 pounds of castings to be produced: 4.5x x x3 + x4 ≥ 4.5 The term 4.5x1 is the pounds of manganese contributed by pig iron A since each 1000 pounds of this pig iron contains 4.5 pounds of manganese. The x2, x3, and x4 terms account for the manganese contributed by pig iron B, by pig iron C, and by the addition of pure manganese. Similarly, the restriction regarding the silicon content can be represented by the following inequalities: 40x1 + 10x2 + 6x3 ≥ x1 + 10x2 + 6x3 ≤ 55.0

21 Example: A liquer company A liquor company produces and sells : blended whiskey and bourbon. The bourbon requires 3 machine hours per bottle while, due to additional blending requirements, the blended whiskey requires 4 hours of machine time per bottle. There are 20,000 machine hours available in the current production period. The direct operating costs are $3.00 per bottle of bourbon and $2.00 per bottle of blended whiskey. The working capital available to finance labor and material is $4000; however, 45% of the bourbon sales revenues and 30% of the blended-whiskey sales revenues from production in the current period will be collected during the current period and be available to finance operations. The selling price to the distributor is $6 per bottle of bourbon and $5.40 per bottle of blended whiskey. Maximize the total sales!

22 Mathematical Model Minimize z = 26x1 + 30x2 + 20x3 + 8x4, subject to: 1000x x x3 + x4 = 1000, 4.5x x x3 + x4 ≥ x1 + 10x2 + 6x3 ≥ 32.5, 40x1 + 10x2 + 6x3 ≤ 55.0, x1 ≥ 0, x2 ≥ 0, x3 ≥ 0, x4 ≥ 0 (non negativity limits)

23 Example: An iron foundry Optimal Solution Decison variables x1x2x3X4RelationRequirement s Total lbs = Manganese4.5541≥ Silikon lower401060≥32.5 Silikon upper401060≤55.0 Objective Z(min) Solution

24 Example: Portfolio optimization A portfolio manager in charge of a bank portfolio has $10 million to invest. Government and agency bonds must total at least $4 million. The average quality of the portfolio cannot exceed 1.4 on the bank’s quality scale. (Note that a low number on this scale means a high-quality bond.) The average years to maturity of the portfolio must not exceed 5 years. The objective is to maximize after-tax earnings.

25 Example: Portfolio optimization Bond name Bond type Moody´sBank´sYears to maturi ty Yield to maturity After tax yield AMunici pal Aa294.3%4.3 BAgencyAa CGovernAaaa DGovernAaa EMunici pal Ba524.5

26 Example: Portfolio optimization x A =Amount to be invested in bond A; in millions of dollars. x B =Amount to be invested in bond B; in millions of dollars. x C =Amount to be invested in bond C; in millions of dollars. x D =Amount to be invested in bond D; in millions of dollars. x E =Amount to be invested in bond E; in millions of dollars. z = 0.043x A x B x C x D x E x A + x B + x C + x D + x E ≤ 10 x B + x C + x D ≤ 4

27 Example: Portfolio optimization The average quality of the portfolio, which is given by the ratio of the total quality to the total value of the portfolio, must not exceed 1.4: 0.6x A + 0.6x B − 0.4x C − 0.4x D + 3.6x E ≤ 0 The constraint on the average maturity of the portfolio is a similar ratio. The average maturity must not exceed five years: 4x A + 10x B − x C − 2x D − 3x E ≤ 0

28 LP: Basic Groups of Applications Shift pattern problem: The production manager of a chemical plant is attempting to devise a shift pattern for his workforce. Each day of every working week is divided into three eight-hour shift periods (00:01-08:00, 08:01-16:00, 16:01-24:00) denoted by night, day and late respectively. The plant must be manned at all times and the minimum number of workers required for each of these shifts over any working week is on the next slide:

29 Shift pattern problem Each worker is assigned to work either a night shift or a day shift or a late shift and once a worker has been assigned to a shift they must remain on the same shift every day that they work. Each worker works four consecutive days during any seven day period. In total there are currently 60 workers

30 Shift pattern problem Variables Any worker can only start their four consecutive work days on one of the seven days (Mon to Sun) and in one of the three eight-hour shifts (night, day, late). Let: x ij ….the number of workers starting their four consecutive work days on day i (i=1,...,7) and shift j (j=1,...,3) (These variables should be integer but, as formulate the problem as a linear program, we allow them to take fractional values )

31 Shift pattern problem Let D ij be the (known) number of workers required on day i (i=1,...,7) and shift period j (j=1,...,3) e.g. D 53 =11 (Friday, Late) i.e. lower limit on the total number of workers Monday: x 1j + x 7j + x 6j + x 5j >= D 1j j=1,...,3 Tuesday: x 2j + x 1j + x 7j + x 6j >= D 2j j=1,...,3 Wednesday: x 3j + x 2j + x 1j + x 7j >= D 3j j=1,...,3 Thursday: x 4j + x 3j + x 2j + x 1j >= D 4j j=1,...,3 Friday: x 5j + x 4j + x 3j + x 2j >= D 5j j=1,...,3 Saturday: x 6j + x 5j + x 4j + x 3j >= D 6j j=1,...,3 Sunday: x 7j + x 6j + x 5j + x 4j >= D 7j j=1,...,3 Constraints Upper limit on the total number of workers of 60

32 Shift pattern problem Objective It appears from the question that the production manager's objective is simply to find a feasible schedule so any objective is possible. Logically however he might be interested in reducing the size of the workforce so the objective function could be:

33 Summary Linear programming mathematical model Decision variables definition 3 parts of model: – Objective (target) function – Limits – Nonnegativity limites Percentage Bilance conditions