OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin

Slides:



Advertisements
Similar presentations
Thank you and welcome Linear Programming (LP) Modeling Application in manufacturing And marketing By M. Dadfar, PhD.
Advertisements

Solving LP Problems in a Spreadsheet
Optimization problems using excel solver
1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
Chapter 19 – Linear Programming
LINEAR PROGRAMMING (LP)
Introduction to Mathematical Programming
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
Chapter 5 Sensitivity Analysis: An Applied Approach
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc. 1 Chapter 5 Sensitivity Analysis: An Applied Approach to accompany Introduction to.
OPSM 301 Operations Management
Linear Programming.
Planning with Linear Programming
Linear Programming Problem
Linear Programming Models & Case Studies
Session II – Introduction to Linear Programming
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.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Operations Management Linear Programming Module B - Part 2
Linear Programming Using the Excel Solver
19 Linear Programming CHAPTER
1 Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 3 Introduction to Linear Programming to accompany Introduction to Mathematical.
Optimization Methods LI Xiao-lei ftp:// :112/upload.
Linear Programming (6S) and Transportation Problem (8S)
Linear and Integer Programming Models
6s-1Linear Programming CHAPTER 6s Linear Programming.
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
Operations Management - 5 th Edition Chapter 13 Supplement Roberta Russell & Bernard W. Taylor, III Linear Programming.
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.
Chapter 19 Linear Programming McGraw-Hill/Irwin
The application of mathematics and the scientific
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.
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.
___________________________________________________________________________ Operations Research  Jan Fábry Linear Programming.
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.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
___________________________________________________________________________ Quantitative Methods of Management  Jan Fábry Linear Programming.
Chapter 6 Supplement Linear Programming.
OPSM 301 Operations Management Class 10: Introduction to Linear Programming Koç University Zeynep Aksin
Giapetto's Woodcarving: The LP Model
Examples discussed in class
Route Planning Texas Transfer Corp (TTC) Case 1. Linear programming Example: Woodcarving, Inc. Manufactures two types of wooden toys  Soldiers sell for.
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
Constraint management Constraint Something that limits the performance of a process or system in achieving its goals. Categories: Market (demand side)
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.
Math Programming Concept of Optimization (L.O. a ) Linear Programming Managerial Value of Information (L.O. d) Theory (L.O. b) Example Applications (L.O.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
OPSM 301 Operations Management Class 13&14: Linear Programming using Excel Koç University Zeynep Aksin
LINEAR PROGRAMMING.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
BUAD306 Chapter 19 – Linear Programming. Optimization QUESTION: Have you ever been limited to what you can get done because you don’t have enough ________?
MCCARL AND SPREEN TEXT CH. 2 T Y/MCCARL-BRUCE/BOOKS.HTM Lecture 2: Basic LP Formulation.
-114- HMP654/EXECMAS Linear Programming Linear programming is a mathematical technique that allows the decision maker to allocate scarce resources in such.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
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.
Chapter 3 Introduction to Linear Programming to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c)
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
Class 10: Introduction to Linear Programming
Linear Programming.
OPSM301 Spring 2012 Class11: LP Model Examples
Linear Programming – Introduction
Exam 1 Review/Instructions
Chapter 5 Sensitivity Analysis: An Applied Approach
The application of mathematics and the scientific
Linear Programming.
Presentation transcript:

OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin

Announcement  Linear programming: Appendix A from our book  Skip graphical solution, skip sensitivity analysis for now  You can use examples done in class, example A1, solved problem 1, Problem 3 as a study set (and all other problems if you like)  Quiz 2 next Thursday  Office hours by Tas as previously announced

Linear Programming (LP)  Making decisions on the allocation of scarce resources in environments of certainty using a mathematical optimization approach

Example Applications  OPSM: Product mix problem-how much of each product should be produced given resource constraints to maximize profits  Finance: Construct a portfolio of securities that maximizes return while keeping "risk" below a predetermined level  Marketing: Develop an advertising strategy to maximize exposure of potential customers while staying within a predetermined budget

Conditions for Applicability of Linear Programming  Resources must be limited  There must be an objective function  There must be linearity in the constraints and in the objective function  Resources and products must be homogeneous  Decision variables must be divisible and non- negative

Components of Linear Programming  A specified objective or a single goal, such as the maximization of profit, minimization of machine idle time etc.  Decision variables represent choices available to the decision maker in terms of amounts of either inputs or outputs  Constraints are limitations which restrict the alternatives available to decision makers

Components of Linear Programming  There are three types of constraints: –(=<) An upper limit on the amount of some scarce resource –(>=) A lower bound that must be achieved in the final solution –(=) An exact specification of what a decision variable should be equal to in the final solution  Parameters are fixed and given values which determine the relationships between the decision variables of the problem

Example: Giapetto's Woodcarving  Two types of toys are manufactured: soldiers and trains  Soldiers: –Sells for $27 –Uses raw materials worth $10 –Each soldier increases variable labor and overhead costs by $14  Trains: –Sells for $21 –Uses raw materials worth $9 –Each train increases variable labor and overhead costs by $10

Giapetto's Woodcarving  Manufacture requires skilled labor of two types –Carpentry –Finishing  Resource requirements by product –Soldier: 1 hour of carpentry and 2 hours of finishing –Train: 1 hour of carpentry and 1 hour of finishing  Total resources available –Unlimited raw materials –80 hours of carpentry –100 hours of finishing labor

Giapetto's Woodcarving  Demand –for trains is unlimited –At most 40 soldiers can be sold each week  Objective is to maximize weekly profit  Formulate as a linear program (LP)

Towards the Mathematical Model: Define (decision variables) –x 1 : number of soldiers produced each week –x 2 : number of trains produced each week Objective function: –maximize weekly profit = weekly profit from soldiers + weekly profit from trains Constraints: –each week, no more than 100 hours of finishing time may be used –each week, no more than 80 hours of carpentry time may be used –each week, the number of soldiers produced should not exceed 40 because of limited demand

Giapetto's Woodcarving: The LP Model max 3x 1 + 2x 2 subject to 2x 1 + x 2  100 (finishing hours) x 1 + x 2  80 (carpentry hours) x 1  40 (demand for soldiers) x 1  0 (nonnegativity constraint) x 2  0 (nonnegativity constraint)  Where –x 1 : number of soldiers produced each week –x 2 : number of trains produced each week

The Excel Model soldierstrains Total(obj ective) changing cells2060 profit32180 soldierstrainsusedcapacity finishing21100 carpenter1180 demand 2040 Filled in by Excel Solver

 The optimal solution for Giapetto is to produce 20 soldiers and 60 trains per week, resulting in an optimal profit of $180. (The maximum possible profit attainable is $180, which can be achieved by producing 20 soldiers and 60 trains) Reading the variable information

C 10 min/un B 15 min/un C 5 min/un A 15 min/un. A 10 min/un. B 15 min/un. D 10 min/un D 5 min/un PQ Sales price:90 $/unit Max demand:100 units/week Sales price: 100 $/unit Max Demand:50 units/week RM1 20$/un RM2 20$/un RM3 20$/un Products P and Q are produced using the given process routing. 4 machines are used:A,B,C,D. (available for 2400 min/week) The price and raw material costs are given. Problem: Formulate an LP to find the product mix that maximizes weekly profit. i.e. How many of each product should we produce given the capacity and demand constraints? What is the bottleneck of this process? Purchase Part 5$/un Source: Paul Jensen Example 1:Product Mix Problem 15

LP Formulation  Decision variables: –P:Amount of product P to produce per week –Q:Amount of product Q to produce per week  Objective Function: Maximize Profit –Max 45P+60 Q  Constraints:  Machine hours used should be less than or equal to 2400 minutes: –A: 15 P + 10 Q <= 2400 –B: 15 P + 30 Q <= 2400 –C: 15 P + 5 Q <= 2400 –D: 10 P + 5 Q <= 2400  Production should not exceed demand: –P<=100 –Q<=50  Non-negativity –P>=0, –Q>=0 16

Solver Solution PQ changing cells10030 objective Coefficients4560 Profit6300 Constraint Coefficients:PQL.H.S. Value R.H.S. Machine A <=2400 Machine B <=2400 Machine C <=2400 Machine D <=2400 Demand P10100<=100 Demand Q0130<=50 17

The Huntz Company purchases cucumbers and makes two kinds of pickles: sweet and dill. The company policy is that at least 30%, but no more than 60%, of the pickles be sweet. The demand for pickles is SWEET:5000 jars + additional 3 jars for each $1 spent on advertising DILL:4000 jars + additional 5 jars for each $1 spent on advertising  Sweet and dill pickles are advertised separately. The production costs are: SWEET:0.60 $/jar DILL:0.85 $/jar and the selling prices are: SWEET:1.45 $/jar DILL:1.75 $/jar Huntz has $16,000 to spend on producing and advertising pickles. Formulate an appropriate Linear Program. Example Problem

Xs: Number of Sweet pickle jars produced. Xd: Number of Dill pickle jars produced. As: Amount of advertisement done for Sweet Pickles in dollars Ad: Amount of advertisement done for Dill Pickles in dollars  Objective; maximize profits: (Revenue - Cost) max[(1,45* Xs + 1,75* Xd)-( 0,6* Xs + 0,85* Xd + As + Ad)] Subject to: Demand Constraints: Xs ≤ 5, As Xd ≤ 4, Ad Budget Constraint: 0,6* Xs + 0,85* Xd + As + Ad ≤ 16,000 Ratio Constraint: Xs / (Xs + Xd) ≥ 0,3  0,7 Xs – 0,3 Xd ≥ 0 Xs / (Xs + Xd) ≤ 0,6  0,4 Xs – 0,6 Xd ≤ 0 Non-negativity Constraints: Xs, Xd, As, Ad ≥0 Solution: LP Formulation