1 Linear Programming (LP) 線性規劃 - George Dantzig, 1947.

Slides:



Advertisements
Similar presentations
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Advertisements

1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
Chapter 19 – Linear Programming
LINEAR PROGRAMMING (LP)
Lesson 08 Linear Programming
Linear Programming.
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
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
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 and Integer Programming Models
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
© 2008 Prentice-Hall, Inc. Chapter 7 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created.
Linear Programming Introduction. linear function linear constraintsA Linear Programming model seeks to maximize or minimize a linear function, subject.
An Introduction to Linear Programming : Graphical and Computer Methods
NEW MEXICO INSTITUTE OF MINING AND TECHNOLOGY Department of Management Management Science for Engineering Management (EMGT 501) Fall, 2005 Instructor :
Linear Programming (6S) and Transportation Problem (8S)
Linear and Integer Programming Models
Linear Programming (LP)
1 Lecture 2 & 3 Linear Programming and Transportation Problem.
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 Models: Graphical Methods 5/4/1435 (1-3 pm)noha hussein elkhidir.
FORMULATION AND GRAPHIC METHOD
Linear Programming.
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
3.4 Linear Programming.
MIN:50x1 + 83x x3 + 61y1 + 97y y3 Demand Constraints x 1 + y 1 = 3,000} model 1 x 2 + y 2 = 2,000} model 2 x 3 + y 3 = 900} model 3 Resource.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
Linear and Integer Programming Models 1 Chapter 2.
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.
1 Additional examples LP Let : X 1, X 2, X 3, ………, X n = decision variables Z = Objective function or linear function Requirement: Maximization of the.
CDAE Class 11 Oct. 3 Last class: Result of Quiz 2 2. Review of economic and business concepts Today: Result of Quiz 2 3. Linear programming and applications.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
BUSINESS MATHEMATICS & STATISTICS. LECTURE 45 Planning Production Levels: Linear Programming.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
Introduction to Linear Programming BSAD 141 Dave Novak.
1 Linear and Integer Programming Models Chapter 2.
CDAE Class 12 Oct. 5 Last class: Quiz 3 3. Linear programming and applications Today: Result of Quiz 3 3. Linear programming and applications Next.
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
作業研究(二) Operations Research II - 廖經芳 、 王敏. Topics - Revised Simplex Method - Duality Theory - Sensitivity Analysis and Parametric Linear Programming -
1 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear model consists of the.
ENGM 631 Optimization Ch. 3: Introduction to Linear Programming.
LP Formulation Set 2. 2 Ardavan Asef-Vaziri June-2013LP-Formulation Problem (From Hillier and Hillier) Strawberry shake production Several ingredients.
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.
CDAE Class 12 Oct. 4 Last class: 2. Review of economic and business concepts Today: 3. Linear programming and applications Quiz 3 (sections 2.5 and.
LINEAR PROGRAMMING.
Linear Programming.  Linear Programming provides methods for allocating limited resources among competing activities in an optimal way.  Linear → All.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Adeyl Khan, Faculty, BBA, NSU 1 Introduction to Linear Programming  A Linear Programming model seeks to maximize or minimize a linear function, subject.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
Linear Programming Chapter 14 Supplement Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
1 Linear Programming 2 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Linear Programming.
Linear Programming – Introduction
Chapter 5 Linear Inequalities and Linear Programming
LP Modeling Most common type of LP involves allocating resources to activities Determining this allocation involves choosing the levels of the activities.
Linear Programming Introduction.
Optimization Theory Linear Programming
Linear Programming Introduction.
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Presentation transcript:

1 Linear Programming (LP) 線性規劃 - George Dantzig, 1947

2 [1] LP Formulation (a) Decision Variables : All the decision variables are non-negative. (b) Objective Function : Min or Max (c) Constraints s.t. : subject to

3 [2] Example A company has three plants, Plant 1, Plant 2, Plant 3. Because of declining earnings, top management has decided to revamp the company’s product line. Product 1: It requires some of production capacity in Plants 1 and 3. Product 2: It needs Plants 2 and 3.

4 The marketing division has concluded that the company could sell as much as could be produced by these plants. However, because both products would be competing for the same production capacity in Plant 3, it is not clear which mix of the two products would be most profitable.

5 The data needed to be gathered: 1. Number of hours of production time available per week in each plant for these new products. (The available capacity for the new products is quite limited.) 2. Production time used in each plant for each batch to yield each new product. 3. There is a profit per batch from a new product.

6 Production Time per Batch, Hours Production Time Available per Week, Hours Plant Product Profit per batch $3,000 $5,000

7 : # of batches of product 1 produced per week : # of batches of product 2 produced per week : the total profit per week Maximize subject to

[3] Graphical Solution (only for 2-variable cases ) Feasible region

Feasible region

Feasible region

Feasible region

Maximize: The optimal solution The largest value Slope-intercept form:

13 Max s.t. [4] Standard Form of LP Model

14 [5] Other Forms The other LP forms are the following: 1. Minimizing the objective function: 2. Greater-than-or-equal-to constraints: Minimize

15 3. Some functional constraints in equation form: 4. Deleting the nonnegativity constraints for some decision variables: : unrestricted in sign

16 [6] Key Terminology (a) A feasible solution is a solution for which all constraints are satisfied (b) An infeasible solution is a solution for which at least one constraint is violated (c) A feasible region is a collection of all feasible solutions

17 (d) An optimal solution is a feasible solution that has the most favorable value of the objective function (e) Multiple optimal solutions have an infinite number of solutions with the same optimal objective value

18 and Maximize Subject to Example Multiple optimal solutions:

Feasible region Every point on this red line segment is optimal, each with Z=18. Multiple optimal solutions

20 (f) An unbounded solution occurs when the constraints do not prevent improving the value of the objective function.

21 [7] Case Study The Socorro Agriculture Co. is a group of three farming communities. Overall planning for this group is done in its Coordinating Technical Office. This office currently is planning agricultural production for the coming year.

22 Group Usable Land (Acres) Water Allocation (Acre Feet) The agricultural production is limited by both the amount of available land and the quantity of water allocated for irrigation. These data are given below.

23 The crops suited for this region include sugar beets, cotton, and sorghum, and these are the three products being considered for the upcoming season. These crops differ primarily in their expected net return per acre and their consumption of water.

24 Crop Sugar beets Cotton Sorghum Net Return ($/Acre) In addition, there is a maximum quota for the total acreage that can be devoted to each of these crops by Socorro Agriculture Co. Water Consumption (Acre Feet/Acre) Maximum Quota (Acres) ,

25 Because of the limited water available for irrigation, the Socorro Agriculture Co. will be unable to use all its land for planting crops. To ensure equity among the three groups, it has been agreed that it will plant the same proportion of its available land. For example, if Group 1 plants 200 of its available 400 acres, then Group 2 must plant 300 of its 600 acres, while Group 3 plants 150 acres of its 300 acres.

26 The job facing the Coordinating Technical Office is to plan how many acres to devote to each crop while satisfying the given restrictions. The objective is to maximize the total net return as a whole.

27 The quantities to be decided are the number of acres to devote to each of the three crops at each of the three groups. The decision variables represent these nine quantities. Crop Sugar beets Cotton Sorghum Allocation(Acres) Group 1 2 3

28 Maximize Z= The measure of effectiveness Z is the total net return and the resulting linear programming model for this problem is 1. Usable land for each group:

29 3. Total land use for each crop: 2. Water allocation for each group:

30 4. Equal proportion of land planted:

31 5. Nonnegativity: ( j =1, 2, …, 9) The final form is

32 An optimal solution is The resulting optimal value of the objective function is $633,

33 [8] Case Study - Personal Scheduling UNION AIRWAYS needs to hire additional customer service agents. Management recognizes the need for cost control while also consistently providing a satisfactory level of service to customers. Based on the new schedule of flights, an analysis has been made of the minimum number of customer service agents that need to be on duty at different times of the day to provide a satisfactory level of service.

34 * * * * * * * * * * Shift Time Period Covered Minimum # of Agents needed Time Period 6:00 am to 8:00 am 8:00 am to 10:00 am 10:00 am to noon Noon to 2:00 pm 2:00 pm to 4:00 pm 4:00 pm to 6:00 pm 6:00 pm to 8:00 pm 8:00 pm to 10:00 pm 10:00 pm to midnight Midnight to 6:00 am Daily cost per agent

35 The problem is to determine how many agents should be assigned to the respective shifts each day to minimize the total personnel cost for agents, while meeting (or surpassing) the service requirements. Activities correspond to shifts, where the level of each activity is the number of agents assigned to that shift. This problem involves finding the best mix of shift sizes.

36 : # of agents for shift 1 (6AM - 2PM) : # of agents for shift 2 (8AM - 4PM) : # of agents for shift 3 (Noon - 8PM) : # of agents for shift 4 (4PM - Midnight) : # of agents for shift 5 (10PM - 6AM) The objective is to minimize the total cost of the agents assigned to the five shifts.

37 Min s.t. all

38 Total Personal Cost = $30,610

39 Basic assumptions for LP models: 1.Additivity: c 1 x 1 + c 2 x 2 ; a i1 x 1 + a i2 x 2 2.Proportionality: c i x i ; a ij x j 3.Divisibility: x i can be any real number 4.Certainty: all parameters are known with certainty

40 Other Examples Galaxy manufactures two toy doll models: –Space Ray. –Zapper. Resources are limited to –1000 pounds of special plastic. –40 hours of production time per week.

41 Marketing requirement –Total production cannot exceed 700 dozens. –Number of dozens of Space Rays cannot exceed number of dozens of Zappers by more than 350. Technological input –Space Rays requires 2 pounds of plastic and 3 minutes of labor per dozen. – Zappers requires 1 pound of plastic and 4 minutes of labor per dozen.

42 The current production plan calls for: –Producing as much as possible of the more profitable product, Space Ray ($8 profit per dozen). –Use resources left over to produce Zappers ($5 profit per dozen), while remaining within the marketing guidelines. The current production plan consists of: Space Rays = 450 dozen Zapper = 100 dozen Profit = $4100 per week 8(450) + 5(100)

43 Management is seeking a production schedule that will increase the company ’ s profit.

44 A linear programming model can provide an insight and an intelligent solution to this problem.

45 :Decisions variables: –X 1 = Weekly production level of Space Rays (in dozens) –X 2 = Weekly production level of Zappers (in dozens). Objective Function: – Weekly profit, to be maximized The Galaxy Linear Programming Model

46 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1 - X 2  350 (Mix) X j > = 0, j = 1,2 (Nonnegativity) The Galaxy Linear Programming Model