Corso MAE Metodi Quantitativi per il Management Quantitative methods for Management Roma, 18 settembre - 24 ottobre 2003 Prof. Gianni Di Pillo Prof. Laura.

Slides:



Advertisements
Similar presentations
With Vegetable Farm Example
Advertisements

Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Linear Programming Problem
Introduction to Mathematical Programming
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
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’,
Corso MAE Metodi Quantitativi per il Management Quantitative methods for Management Roma, 18 settembre - 24 ottobre 2003 Prof. Gianni Di Pillo Prof. Laura.
Corso MAE Metodi Quantitativi per il Management Quantitative methods for Management Roma, 18 settembre - 24 ottobre 2003 Prof. Gianni Di Pillo Prof. Laura.
Pure, Mixed-Integer, Zero-One Models
Linear Programming.
Linear Programming Problem
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Corso MAE Metodi Quantitativi per il Management Quantitative methods for Management Roma, 18 settembre - 24 ottobre 2003 Prof. Gianni Di Pillo Prof. Laura.
Managerial Decision Modeling with Spreadsheets
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
Chapter 2: Introduction to Linear Programming
An Introduction to Linear Programming : Graphical and Computer Methods
QM B Linear Programming
Corso MAE Metodi Quantitativi per il Management Quantitative methods for Management Roma, 18 settembre - 24 ottobre 2003 Prof. Gianni Di Pillo Prof. Laura.
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
Linear Programming Models: Graphical Methods 5/4/1435 (1-3 pm)noha hussein elkhidir.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
FORMULATION AND GRAPHIC METHOD
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
Linear Programming Models: Graphical and Computer Methods
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.
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Chapter 13 Supplement.
Modeling.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Linear Programming: Basic Concepts
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 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
Linear Programming An Example. Problem The dairy "Fior di Latte" produces two types of cheese: cheese A and B. The dairy company must decide how many.
Managerial Decision Making and Problem Solving
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
Chapter 7 Introduction to Linear Programming
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Department of Business Administration FALL -SPRING Management Science Operations Research by Ass. Prof. Sami Fethi Assoc. Prof. Sami Fethi © 2007 Pearson.
1 Geometrical solution of Linear Programming Model.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
1 Introduction to Linear Programming Linear Programming Problem Linear Programming Problem Problem Formulation Problem Formulation A Simple Maximization.
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
An Introduction to Linear Programming
Engineering Economics (2+0)
Linear Programming – Introduction
Linear Programming Dr. T. T. Kachwala.
Duality Theory and Sensitivity Analysis
Linear Programming Problem
Dr. Arslan Ornek DETERMINISTIC OPTIMIZATION MODELS
Presentation transcript:

Corso MAE Metodi Quantitativi per il Management Quantitative methods for Management Roma, 18 settembre - 24 ottobre 2003 Prof. Gianni Di Pillo Prof. Laura Palagi Dipartimento di Informatica e Sistemistica Universita` di Roma “La Sapienza”

What is management Science ? Use of quantitative analysis in supporting large companies to choose the best decisions among many different possibilities The key to every management science application is a mathematical model: quantitative representation, or approximation, of a real problem. Why go through mathematical models: - growing complexity of systems - possibility of extract the essence of problem in concise form - growing availability of data - cheap and abundant computer power

Decision Support Systems Computer software designed for specific applications which may include the possibility of solve a model A decision support system includes: - data bases easily accessible - user friendly interface - mathematical model - automatic procedure for the solution of the model Easy interaction with managers or decision makers who need not to fully understand the mathematical aspects, but can concentrate on results for their specific application.

The concept of a model Many applications of science make use of models The term ‘model’ is usually used for a structure which has been built purposely to exhibit features and characteristics of some real object. Models Concrete: model aircraft for wind tunnel experiments Abstract: using mathematical symbolism Pure descriptive

The management scientist valuate the (possible more) alternatives obtained at the previous step Modelling process Define the problem Collecting data Formulate a mathematical model Verify the model, use for prediction Select a suitable alternativeValuate the resultImplement Feedback loops The management scientist defines the organization system including objctives Estimate the parameters that affect the problems The management scientist verifies whether the model is an accurate representation of reality dummy Relationships in the real world (technological relationships, physical laws, marketing constraints) translated into a set of equations, inequalities, logical dependencies Optimization of one (or more) objective function: maximizing a profit, minimizing a cost Use of software packages

Mathematical models Mathematical model: representation of a real problem in terms of mathematical expressions. benefit It reveals not apparent relationships, makes mathematical analysis possible Simulation of scenarios (what happens if …) Use of mathematical solution procedure drawback Lack of precision of data Impossibility of quantifying some data (social value)

Optimization models Optimization models plays a fundamental role in mathematical programming mathematical programming Different from computer programming “planning” Optimization model Involve maximize something or minimize something, choosing among different alternatives

Optimization model: formal definition Set of possible alternatives Feasible solutions x stays in a set F f: F   objective function One optimization criterion finite infinite or

An easy example Which is the shortest path to go from place A to place B ? Feasible solutionsF={x=all possible paths from A to B} Definition of the problem Objective functionMinimize the length f of the path

Production planning An engineering factory produces two types of tools: pliers and spanners. Pliers cost to the production 1.5 € each Spanners cost to the production 1 € each Pliers are sold at 6 € each Spanners are sold at 5 € each How much should the factory produce to maximize its profit ? Production costs Selling price Objective function

A possible scenario Assume that we are constructing P TOT = number of pliers * unit profit for pliers + number of spanners * unit profit for spanners pliers spanners Let us define the data of the problem 4,5 = (6 – 1,5) unit profit for pliers4 = (5 – 1) unit profit for spanners unit profit = selling price – unit cost Objective function = total profit P TOT

A possible scenario (2) CH = number of spanners to be produced PI = number of pliers to be produced P TOT = 4  CH + 4,5  PI = 4 * ,5 * = Equation of the overall profit Formally: variables output of our model Unit profit of spanners Unit profit of pliers Is this the best value ?

First use of Excel for data storing We use an Excel table to summarize data and objective P TOT = 4  CH + 4,5  PI Profit equation C9 = C6 * C8 + D6 * D8 Excel formulaCH = D8 = number of pliers PI = C8 = number of spanners 4,5= unit profit pliers = D4 – D5 4 = unit profit spanners = C4-C5

Constraints Every point in the non negative quadrant is a possible feasible solution (a possible production planning) Spanners (thousands) Pliers (thousands) In practice: constraints exist that limit the production In principle: the more I produce the more I gain ! (25000) overall profit (68000) (127500)

A standard constraint: the budget one Budget constraint: the overall cost must not greater than € C TOT = overall cost CH = D8 = number of pliers PI = C8 = number of spanners C TOT = 1  CH +1,5  PI Unit cost spanner Unit cost pliers Cost equation C11 = C5 * C8 + D5 * D8 C TOT = 1  CH + 1,5  PI  budget =18000 Budget constraint

Geometric view of the constraint Let draw the set F of the feasible solutions In the plane (PI, CH), first draw the equation of the Feasible region All non negative points “below” the line budget constraint 1  CH + 1,5  PI = 18 C TOT = C TOT = 7000  18000: ammissibile > 18000: non ammissibile C TOT = *CH + 1,5* PI = CH PI

Geometric view of the problem We need to find the “right” solution among the feasible ones “right” It satisfies the budget constraint It maximizes the profit Points in the red area satisfies the budget constraint, which is the better one ? CH 12 PI *CH + 1,5* PI = 18

Scenarios with Excel Let us see with different scenarios feasible Not feasible feasible Best among the three feasible. Is the optimum ? By chance ?

Limit of the “What If” approach The scenarios are too many: infinite solutions ! It is not possible to look over all of them !! We may wonder if may be better when the number of solutions is finite This is not always true, let see with an example

A first example: capital budgeting A management firm is considering 3 possible capital projects to invest in during the coming year Definition of the problem Data Budget15 millions Investment (I) required for each project Earnings (E) for each project

Capital budgeting: a possible scenario Each Project Selected (YES = 1) Not selected (NO = 0) Investment required = = 13 Earning obtained = = 19 Is this the best ?

Capital budgeting: constructing the model Feasible solutions Definition of the possible alternatives Each Project Selected (YES = 1) Not selected (NO = 0)

Capital budgeting Budget15 millions All choices Not acceptable Are all compatible with the budget ?

A bad model: capital budgeting All possible choices F= Best value Which is the best with respect to the earnings ?

A bad model: capital budgeting Feasible solutionsExhaustive representation 2 n = huge number for large n Not independent from data If data changes, all the model must be change It may be even impossible to write it down

A good model: capital budgeting Implicit representation of feasible solutions Independent from data xi=xi= 1 if project i is selected 0 if project i is not selected Decision variables Budget constraint8 x 1 +6 x 2 +5 x 3 Investment for project 1 Investment for project 2 budget Investment for project 3

A good model: capital budgeting xi=xi= 1 if project i is selected 0 if project i is not selected earnings12 x 1 +8 x 2 +7 x 3 earnings for project 1 Earnings for project 2 Earnings for project 3 If data changes, only coefficients must be changed, but the model is the same

Construction of a good model: general rules xi=xi= 1 if project i is selected 0 if project i is not selected Definition of the objectives 12 x 1 +8 x 2 +7 x 3 Definition of the decision variables max earnings Definition of the constraints 8 x 1 +6 x 2 +5 x 3 budget i=1,2,3

Geometric view of the production problem The scenarios are too many 12 CH PI *CH + 1,5* PI = 18 P TOT = 69 Actual best value Draw the line of the profit P TOT 4  CH + 4,5  PI = 69 We must find another method Depict the feasible region F (red area)

Geometric view of the problem 12 CH PI *CH + 1,5* PI = 18 Growing direction P TOT = 72 Draw the line of the profit P TOT 4  CH + 4,5  PI For growing values of P TOT = P TOT = P TOT = 0 0 P TOT = Optimum !! Old best value

Another constraint: technology To produce 1000 pliers or 1000 spanners is required 1 hour of usage of a plant CH = D8= number of spanners PI = C8= number of pliers The plant can work for a maximum of 14 hours per day H TOT = total hours nedeed H TOT =  CH  PI Equation of the total hours C11 = C7 * C8 + D7 * D8 Technological constraint H TOT =  CH  PI  max_hours=14

14 PI CH *CH + 1* PI = 14 hours 16 > 14: not feasible 16 Geometric view of the technological constraint  CH  PI  14 1  CH + 1  PI  In the plane (PI, CH), first draw the equation of the technological constraint Feasible region of the technological constraint  14: feasible hours 6

Mixing the two constraints We must put together budget and technological constraints. Both must be satisfied Spanner Plier Both violated budget violated technological satisfied Budget satisfied technological violated Both satisfied

Geometric view of both constraints CH PI *CH + 1* PI = 14 1*CH + 1,5* PI = 18 Hours: feasible Budget: not feasible Hours: not feasible Budget: feasible Feasible set F Hours: not feasible Budget: not feasible Hours: feasible Budget: feasible Not feasible points

Final feasible region Feasible solutions (CH,PI) satisfy: CH  0 PI  0 Non negativity 1  CH + 1,5  PI  18 1  CH + 1  PI  14 budget hours Which is the best value for (CH,PI)* among the feasible ones ? The best one (CH,PI)* maximizes the profit 4  CH + 4,5  PI 1  CH + 1,5  PI = 18 CH PI  CH + 1  PI = 14 F

Linear Programming 1  CH + 1,5  PI  18 1  CH + 1  PI  14 budget hours CH  0PI  0 Non negativity LINEAR PROGRAMMING (LP) Max or Min of one linear objective function Constraints are linear equalities (=) or inequalities (  =  ) max 4  CH + 4,5  PI CH, PI  R Objective function profit constraints CH,PI Real decision variables CH, PI  R

Construction of a good model: general rules Definition of the objectives Definition of the decision variables 4 x 1 +4,5 x 2 max profit Definition of the constraints x 1 + 1,5 x 2 budget CH, PI  R x 1, x 2  R x 1 + x 2 hours x 1, x 2 The name is not important

Graphical solution for LP PI CH 1  CH + 1,5  PI =  CH + 1  PI = 14 Let choice a feasible point The profit P TOT is 4  CH + 4,5  PI = 34 (34000 €) Better solution must have a value of P TOT  34 The idea is looking for solutions that satisfy also the “new fictitious” constrait 4  CH + 4,5  PI  34. (4,4) (4000 spanners e 4000 pliers) P TOT = 34

Graphical solution for LP PI 1  CH + 1,5  PI =  CH + 1  PI = 14 CH 4  CH + 4,5  PI = 34 Draw the new feasible region F’ Let choice (2,10). with Excel A better solution (if any) must be in the new feasible region F’ F’ The profit P TOT is now 4  CH + 4,5  PI = 53 (53000 €) P TOT = 53

Graphical solution for LP CH The feasible region F” is more and more narrow (violet region) PI 1  CH + 1,5  PI =  CH + 1  PI = 14 4  CH + 4,5  PI = 53 Increasing values of P TOT The region with the constraint P TOT > 60 is empty !!! Behind this point (6,8) with P TOT = 60, there are non more feasible better points P TOT = 60 The point (6,8) is the best feasible one

Graphical solution of LP: summary 1.Draw the constraints and the feasible region 2.Choice a feasible point 3.Draw the line of the objective function passing for this point 4.Parallel move the line of the objective function in the direction of better values 5.The last feasible point “touched” by the line is the optimal solution When the number of variables is two:

Solution of LP We use Excel Solver ( Graphical solution can be applied only when the number of variables is two Real problems has usually more than two variables Many standard software exist to solve LP problems of different level of complexity Computer must be used as a tool to tackle large quantities of data and arithmetic