Basic Linear Programming Concepts

Slides:



Advertisements
Similar presentations
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
Advertisements

Lesson 08 Linear Programming
Linear Programming Problem
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.
19 Linear Programming CHAPTER
Operation Research Chapter 3 Simplex Method.
Basic Linear Programming Concepts Lecture 2 (4/1/2015)
Linear Programming. Linear programming A technique that allows decision makers to solve maximization and minimization problems where there are certain.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Linear Programming.
FORS 4710 / 6710 Forest Planning FORS 8450 Advanced Forest Planning Lecture 2 Linear Programming.
© Copyright 2004, Alan Marshall 1 Lecture 1 Linear Programming.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Chapter 13 Supplement.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
___________________________________________________________________________ Operations Research  Jan Fábry Linear Programming.
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
1 Chapter 7 Linear Programming. 2 Linear Programming (LP) Problems Both objective function and constraints are linear. Solutions are highly structured.
___________________________________________________________________________ Quantitative Methods of Management  Jan Fábry Linear Programming.
Chapter 6 Supplement Linear Programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 4-5 LP Formulation Example and Excel Solver.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 3 Basics of the Simplex Algorithm.
Advanced Operations Research Models Instructor: Dr. A. Seifi Teaching Assistant: Golbarg Kazemi 1.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
LINEAR PROGRAMMING.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Supply Chain Management By Dr. Asif Mahmood Chapter 9: Aggregate Planning.
Linear Programming for Solving the DSS Problems
Linear Programming.
Solving Linear Program by Simplex Method The Concept
MID-TERM EXAM/REVISION
Chapter 2 An Introduction to Linear Programming
Linear Programming Topics General optimization model
Linear Programming – Introduction
McCarl and Spreen Chapter 2
Chapter 19 – 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.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
MBA 651 Quantitative Methods for Decision Making
Chapter 5 Sensitivity Analysis: An Applied Approach
Chapter 5 Simplex-Based Sensitivity Analysis and Duality
Linear Programming Topics General optimization model
Linear Programming Prof. Sweta Shah.
Linear Programming Topics General optimization model
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Linear Programming Topics General optimization model
Chapter 3 The Simplex Method and Sensitivity Analysis
Duality Theory and Sensitivity Analysis
DECISION MAKING Pongsa Pornchaiwiseskul
St. Edward’s University
Linear Programming SIMPLEX METHOD.
ECEN 460 Power System Operation and Control
Operations Research Models
Linear Programming – Sensitivity Analysis
Linear Programming Problem
Copyright © 2019 Pearson Education, Inc.
Introduction to Linear Programming
Linear Programming.
Presentation transcript:

Basic Linear Programming Concepts Lecture 2 (3/29/2017)

Definition “Linear Programming (LP) is a mathematical method to allocate scarce resources to competing activities in an optimal manner when the problem can be expressed using a linear objective function and linear inequality constraints.”

An Liner Program (LP) Objective function coefficient: represents the contribution of one unit of each variable to the value of the obj. func. Decision variables RHS constraint coefficient: they represent limitations Non-negativity constraint

Formulating Linear Programs Identify the decision variables; Formulate the objective function; Identify and formulate the constraints; and Write out the non-negativity constraints

The Lumber Mill Problem A lumber mill can produce pallets or high quality lumber. Its lumber capacity is limited by its kiln size. It can dry 200 mbf per day. Similarly, it can produce a maximum of 600 pallets per day. In addition, it can only process 400 logs per day through its main saw. Quality lumber sells for $490 per mbf, and pallets sell for $9 each. It takes 1.4 logs on average to make one mbf of lumber, and four pallets can be made from one log. Of course, different grades of logs are used in making each product. Grade 1 lumber logs cost $200 per log, and pallet-grade logs cost only $4 per log. Processing costs per mbf of quality lumber are $200 per mbf, and processing costs per pallet are only $5. How many pallets and how many mbf of lumber should the mill produce?

Solving the Lumber Mill Problem Defining the decision variables: What do I need to know? P = the number of pallets to produce each day, and L = the number of mbf of lumber to produce each day 2. Formulate the objective function

Formulating the objective function Formulating the constraints

The complete formulation: 3. Non-negativity constraints The complete formulation:

A logging Problem A logging company must allocate logging equipment between two sites in the manner that will maximize its daily net revenues. They have determined that the net revenue of a cord of wood is $1.90 from site 1 and $2.10 from site 2. At their disposal are two skidders, one forwarder and one truck. Each kind of equipment can be used for 9 hours per day, and this time can be divided in any proportion between the two sites. The equipment needed to produce a cord of wood from each site varies as show in the table below: Site Skidder Forwarder Truck 1 0.30 0.17 2 0.40 0.15

Solving the Logging Problem Defining the decision variables: What do I need to know? X1 = the number of cords per day to produce from site 1; X2 = the number of cords per day to produce from site 2. 2. Formulate the objective function

Formulating the objective function Formulating the constraints

The complete formulation: 3. Non-negativity constraints The complete formulation:

The complete formulation of the Logging Problem

Graphical solution to the Logging Problem 60 0.30X1+0.15X2<=9 50 40 0.17X1+0.17X2<=9 (12,36) Production at Site 2 (X2: cords/day) 0.3X1+0.4X2<=18 30 20 Feasible Region 1.9X1+2.1X2=98.4 10 Production at Site 1 (X1: cords/day) 5 10 15 20 25 30 35

Key points from the graphical solution Constraints define a polyhedron (polygon for 2 variables) called feasible region The objective function defines a set of parallel n-dimensional hyperplanes (lines for 2 variables) – one for each potential objective function value The optimal solution(s) is the last corner or face of the feasible region that the objective function touches as its value is improved

Solving an LP The Simplex Algorithm: searching for the best corner solution(s) Multiple versus unique solutions Binding constraints

Graphical solution to the Logging Problem 60 0.30X1+0.15X2<=9 50 40 0.17X1+0.17X2<=9 (12,36) Production at Site 2 (X2: cords/day) 0.3X1+0.4X2<=18 30 20 Feasible Region 1.9X1+2.1X2=98.4 10 Production at Site 1 (X1: cords/day) 5 10 15 20 25 30 35

Graphical solution to the Lumber Mill Problem 1000 10L+3P=3,585.7 900 10L+3P=3,000 (150,760) 800 700 P<=600 600 (178.6,600) Pallets (pallets/day) 500 10L+3P=4,000 400 L>=0 Feasible Region 300 L<=200 200 100 1.4L+0.25P<=400 P>=0 50 100 150 200 250 300 Lumber (mbf/day) (285.7,0)

Interpreting Computer Solutions to LPs Optimal values of the variables The optimal objective function value Reduced costs Slack or surplus values Dual (shadow) prices

Reduced costs Reduced costs are associated with the variables Reduced cost values are non-zero only when the optimal value of a variable is zero It indicates how much the objective function coefficient on the corresponding variable must be improved before the value of the variable will turn positive in the optimal solution

Reduced costs cont. Minimization (improved = reduced) Maximization (improved = increased) If the optimal value of a variable is positive, the reduced cost is always zero If the optimal value of a variable is zero and the corresponding reduced cost value is also zero, then multiple solutions exist

Slack or surplus They are associated with each constraint Slack: less-than-or-equal constraints Surplus: greater-than-or-equal constraints For binding constraints: the slack or surplus is zero Slack: amount of resource not being used Surplus: extra amount being produced over the constraint

Dual Prices Also called: shadow prices They are associated with each constraint The dual price gives the improvement in the objective function if the constraint is relaxed by one unit

Sample LP solution output MAX 3 P + 10 L st L <= 200 P <= 600 0.25 P + 1.4 L <= 400 End LP OPTIMUM FOUND AT STEP 2 OBJECTIVE FUNCTION VALUE 1) 3585.714 VARIABLE VALUE REDUCED COST P 600.000000 0.000000 L 178.571400 0.000000 ROW SLACK OR SURPLUS DUAL PRICES 2) 21.418570 0.000000 3) 0.000000 1.214286 4) 0.000000 7.142857 NO. ITERATIONS= 2

The Fundamental Assumptions of Linear Programming Linear constraints and objective function Proportionality: the value of the obj. func. and the response of each resource is proportional to the value of the variables Additivity: there is no interaction between the effects of different activities Divisibility (the values of the decision variables can be fractions) Certainty Data availability