Linear Programming: Basic Concepts. Chapter 2: Hillier and Hillier

Similar documents
Setup and graphical solution of Linear Programming Problems [2-variables] Mathematical Programming Characteristics

Introduction to Linear Programming. Chapter 3: Hillier and Lieberman Chapter 3: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

Linear Programming the simple Wyndor Glass example

Solving linear programming

Introduction. Linear because it requires linear functions. Programming as synonymous of planning.

Prepared By. Handaru Jati, Ph.D. Universitas Negeri Yogyakarta.

Lesson 08 Linear Programming

Linear programming II João Carlos Lourenço

A B C D E F. = 1/3 1 divided by 3, that is, The product of cells A2 and C12. Cell C6 divided by the difference of D4 and E4

Chapter 7. Linear Programming Models: Graphical and Computer Methods

Full file at Linear Programming Models: Graphical and Computer Methods

Tutorial 9. Review. Data Tables and Scenario Management. Data Validation. Protecting Worksheet. Range Names. Macros

NOTATION AND TERMINOLOGY

Let s start by examining an Excel worksheet for the linear programming. Maximize P 70x 120y. subject to

Network Optimization Problems. Chapter 6: Hillier and Hillier

Excel Forecasting Tools Review

II. Linear Programming

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016

Linear Programming. L.W. Dasanayake Department of Economics University of Kelaniya

AM 221: Advanced Optimization Spring 2016

Tutorial 10: Performing What-If Analyses. Microsoft Excel 2013 Enhanced

ISE 203 OR I. Chapter 3 Introduction to Linear Programming. Asst. Prof. Dr. Nergiz Kasımbeyli

Chapter 13-1 Notes Page 1

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

ISE203 Optimization 1 Linear Models. Dr. Arslan Örnek Chapter 4 Solving LP problems: The Simplex Method SIMPLEX

Documenting Models in Word

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014

Application of Cutting Stock Problem in Minimizing The Waste of Al-Quran Cover

Jump Right In! Essential Computer Skills Using Microsoft 2013 By Andrews, Dark, and West

Unit.9 Integer Programming

Linear Programming Problems: Geometric Solutions

4. Linear Programming

Network Optimization Models. Chapter 10: Hillier and Lieberman Chapter 8: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

1 GIAPETTO S WOODCARVING PROBLEM

Linear Programming. Meaning of Linear Programming. Basic Terminology

Linear Programming with Bounds

Introduction. Chapter 15. Optimization Modeling: Applications. Integer Programming. Manufacturing Example. Three Types of ILP Models

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University)

Using Linear Programming for Management Decisions

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.

Quantitative Technique

LINEAR PROGRAMMING INTRODUCTION 12.1 LINEAR PROGRAMMING. Three Classical Linear Programming Problems (L.P.P.)

Optimization. Using Analytic Solver Platform REVIEW BASED ON MANAGEMENT SCIENCE

Transportation Problems

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

4.1 The original problem and the optimal tableau

Three-Dimensional (Surface) Plots

Systems of Inequalities and Linear Programming 5.7 Properties of Matrices 5.8 Matrix Inverses

The Simplex Algorithm for LP, and an Open Problem

LP Graphic Solution & Solver for LP

Convex Optimization CMU-10725

Fundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology Madras.

Agenda. Spreadsheet Applications. Spreadsheet Terminology A workbook consists of multiple worksheets. By default, a workbook has 3 worksheets.

Computer & Careers Mr. Lewis

Applications of Linear Programming

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

Introduction to Linear Programming

MULTIMEDIA UNIVERSITY FACULTY OF ENGINEERING PEM2046 ENGINEERING MATHEMATICS IV TUTORIAL

Module 1 Lecture Notes 2. Optimization Problem and Model Formulation

Econ 172A - Slides from Lecture 8

CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH. Unit : I - V

M i c r o s o f t E x c e l A d v a n c e d. Microsoft Excel 2010 Advanced

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

Graphing Linear Inequalities in Two Variables.

3x + y 50. y=10. x=15 3x+y=50. 2x + 3y = 40

Introduction to Linear Programing Problems

Section 3. Formulas. By the end of this Section you should be able to:

OPTIMIZAÇÃO E DECISÃO 09/10

Chapter 2 An Introduction to Linear Programming

Problem Set 2 Geometry, Algebra, Reality

Linear Programming & Graphic Solution. Dr. Monther Tarawneh

LOGISTICS: Teaching Assistant: Textbook: Class Schedule and Location

Econ 172A - Slides from Lecture 2

Accuplacer Arithmetic Study Guide

Using the Graphical Method to Solve Linear Programs J. Reeb and S. Leavengood

Solutions for Operations Research Final Exam

Introduction to Linear Programming. Algorithmic and Geometric Foundations of Optimization

Chapter 4: The Mechanics of the Simplex Method

Chapter 10 Part 1: Reduction

Terminology of Frequency Distribution Table.

a) Alternative Optima, b) Infeasible(or non existing) solution, c) unbounded solution.

A Survey of Software Packages for Teaching Linear and Integer Programming

SPREADSHEET (Excel 2007)

Introduction to Operations Research

Learning Microsoft Office 2010 NASTA Edition, 2011

A theme park charges $12 entry to visitors. Find the money taken if 1296 people visit the park.

Microsoft Office Excel 2007: Basic Course 01 - Getting Started

CHAPTER 2 LINEAR PROGRAMMING: BASIC CONCEPTS

Ch.02 Modeling with Linear Programming. Management Science / Instructor: Bonghyun Ahn

Optimization in One Variable Using Solver

Graphical Methods in Linear Programming

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

An Introduction to Management Science, 12e. Instructions for Using Excel 2007

Wits Maths Connect Secondary Project Card-sorting Activities

Free Microsoft Office 2010 training from MedCerts. Course Outline

Contents. Session 2. COMPUTER APPLICATIONS Excel Spreadsheets

Chapter 2 - An Introduction to Linear Programming

COMP1000 / Spreadsheets Week 2 Review

Math Introduction to Operations Research

OPERATIONS RESEARCH. Transportation and Assignment Problems

Transcription:

Linear Programming: Basic Concepts Chapter 2: Hillier and Hillier

Agenda Define Linear Programming The Case of the Wyndor Glass Co. A Maximization Problem Developing a Mathematical Representation of Wyndor s Problem A Spreadsheet Model of Wyndor s Problem A Graphical Solution to Wyndor s Problem

Agenda Cont. A Spreadsheet Solution to Wyndor s Problem The Case of Profit & Gambit A Minimization Problem

Linear Programming (LP) Linear programming can be defined as the planning of activities represented by a linear mathematical model. Hence, in a linear programming problem, the objective and the constraints are all linear. Given this assumption of linearity, LP is used to find the best mix of activities.

A Summary of the Case of Wyndor Glass Two new products have been developed: An 8-foot glass door A 4x6 foot glass window Wyndor has three production plants Production of the door utilizes Plants 1 and 3 Production of the window utilizes Plants 2 and 3 Objective is to find the optimal mix of these two new products.

A Summary of the Case of Wyndor Glass Cont. Production Time Used for Each Unit Produced Plant Doors Windows Available Per Week 1 1 hour 0 hour 4 hour 2 0 hour 2 hour 12 hour 3 3 hour 2 hour 18 hour Unit Profit $300 $500

A Mathematical Representation of Wyndor s Problem In general terms, we need to do five steps when developing the mathematical model: Gather the relevant data This is from the table on the previous slide Identify the decisions to be made, i.e., decision variables The amount of doors (D) and windows (W) to produce

A Mathematical Representation of Wyndor s Problem Cont. Identify the constraints of the decisions There are five constraints: How much of Plant 1 the doors and windows use How much of Plant 2 the doors and windows use How much of Plant 3 the doors and windows use The two non-negativity constraints on the quantity produced of doors and windows

A Mathematical Representation of Wyndor s Problem Cont. Identify the overall measure of performance, i.e., the objective function Profit = $300*(#Doors) + $500*(# Windows) Convert the verbal description of the constraints and the measure of performance into quantitative expressions in terms of the data and the decisions Given on next slide

A Mathematical Representation of Wyndor s Problem Cont. Max w.r.t. D, W 300D + 500W Subject to : D 4 (Constraint 1) 2W 12(Constraint 2) 3D + 2W 18 (Constraint 3) D 0, W 0 (Constraints 4 and 5)

A Spreadsheet Model of Wyndor s Problem Formulation Procedure Gather data for the problem Enter the data into data cells on the spreadsheet Identify the decisions to be made on the level of the activities and designate them as the changing cells for displaying these decisions Identify the constraints on the decisions and introduce output cells as needed to specify the constraints

A Spreadsheet Model of Wyndor s Problem Cont. Choose the overall measure of performance to be entered into the target cell. Use an appropriate Excel function, e.g., the SUMPRODUCT function, to enter the appropriate value into each output cell (including the target cell).

A Spreadsheet Model of Wyndor s Problem Cont. See Hillier and Hillier CD spreadsheet for chapter 2. Two special features are in this spreadsheet model: Naming of a range of cells SUMPRODUCT Excel Command

Naming a Range of Cells To Name a range of cells, you must first select the cells you would like to name. Once these cells are selected, you want to choose insert from the main menu. Next choose Name and then Define. When the Dialog box comes up, type in the name you would like to call the range of cells. Finally, click close.

SUMPRODUCT Function in Excel The SUMPRODUCT function multiplies corresponding numeric components in given ranges or arrays and returns the sum of those products. An array in this case is a list of numbers where the ordering of the list and the dimensionality (number of elements in the list) of the list matters. Example: 1, 2, 3, 4, 5 is an array Example: 5, 4, 3, 2, 1 is a completely different array Arrays can be known as column or row vectors.

SUMPRODUCT Function in Excel Suppose you have two arrays of numbers. Array1 is defined as a1, a2, a3 Array2 is defined as b1, b2, b3 SUMPRODUCT(Array1, Array2) =a1*b1+a2*b2+a3*b3 Suppose Array1 is defined as 1, 2, 3 Array2 is defined as 3, 2, 1 SUMPRODUCT(Array1, Array2) =1*3 + 2*2 + 3*1 = 10

Needed Terminology for Graphical Solution Constraint Boundary Equation This equation dictates the boundary of the feasible and infeasible solutions given a particular constraint. Constraint Boundary Line This line is dictated by the constraint boundary equation when you have only two decision variables. It is the edge of the constraint boundary equation when the constraint is met with equality.

Needed Terminology for Graphical Solution Cont. Objective Function Line This line is a line determined by setting the objective function to a particular value. Each point on this line gives the same value for the objective function. Feasible Solution A point within the region that consist of all the points that can be considered as a solution. It is a point that meets all the boundary constraints simultaneously.

Needed Terminology for Graphical Solution Cont. Infeasible Solution A point that does not meet all of the constraints. Optimal Solution A point or points that optimize the objective function. Feasible Region This is the region that holds all the feasible solutions.

Graphical Method of Solving Wyndor s Problem This will be examined in class using the LP Interactive Management Module located at http://highered.mcgrawhill.com/sites/0073129038/student_view0/manage ment_science_modules.html, as well as solving this by hand. What happens when you change 300 to 3 and 500 to 5? What happens when you change D from being less than 4 to now being less than 5?

Needed Terminology for Solver Changing Cells Solution These are the cells on the spreadsheet that are representative of the decision variables. Data Cells These are the cells on the spreadsheet that show all the parameters/data of the problem.

Needed Terminology for Solver Output Cells Solution Cont. These are cells that are calculated using the changing cells/decision variables. Target Cell This cell represents the overall measure of performance, i.e., the objective function.

Major Components of Solver Set Target Cell Equal to: Max Min Value of By Changing Cells

Major Components of Solver Subject to the Constraints Add Change Delete Options Assume Linear Model Assume Non-Negative Solve

Solver Method of Solving Wyndor s Problem This will be examined in class using Solver.

A Summary of the Case of Profit & Gambit Trying to develop an advertising campaign that will affect there three products. Stain Remover Liquid Detergent Powder Detergent The have a choice of: TV Print media

A Summary of the Case of Profit & Gambit Cont. Profit & Gambit has three restrictions on the minimum required increase on product sales. Objective is to find the optimal mix of these two advertising avenues that meet the constraints at the lowest cost.

A Summary of the Case of Profit & Gambit Cont. Increase in Sales Per Unit of Advertising Product TV Print Media Minimum Required Increase Stain Remover 0 % 1 % 3 % Liquid Detergent 3% 2% 18 % Powder Detergent -1 % 4 % 4 % Unit Cost $1 Mil. $2 Mil.

A Mathematical Representation of Profit & Gambit Cont. In general terms, we need to do five steps when developing the mathematical model: Gather the relevant data This is from the table on the previous slide Identify the decisions to be made, i.e., decision variables The amount of television ads run (TV) and the amount of print ads run (PM)

A Mathematical Representation of Profit & Gambit Cont. Identify the constraints of the decisions There are five constraints: A minimum increase in the amount of sales of the Stain Remover A minimum increase in the amount of sales of the Liquid Detergent A minimum increase in the amount of sales of the Powder Detergent The two non-negativity constraints on the quantity of TV and Print Media ads

A Mathematical Representation of Profit & Gambit Cont. Identify the overall measure of performance, i.e., the objective function Cost = $1 Mil.*(# TV) + $2 Mil*(# PM) Convert the verbal description of the constraints and the measure of performance into quantitative expressions in terms of the data and the decisions Given on next slide

A Mathematical Representation of Profit & Gambit Cont. Min w.r.t. TV, PM Subject to : PM 3TV -1TV TV + 3 (Constraint 1) 0, TV 2PM + 4PM PM + 2PM 18(Constraint 2) 4 (Constraint 3) 0 (Constraints 4 and 5)

Solution to Profit & Gambit The following solutions will be discussed in class: Hand Graphical Solver