Demo 1: Solving LP problem graphically and with Excel Solver
|
|
- Colleen Kennedy
- 5 years ago
- Views:
Transcription
1 MS-C2105 Introduction to Optimization Solutions 2 Ehtamo Demo 1: Solving LP problem graphically and with Excel Solver Solve the linear optimization problem graphically and with Excel Solver. a) max 8 + 3x 2 s.e x x x 2 1 0, x 2 0 b) min + x 2 s.e x x 2 1 0, x 2 0 c) Write problems of sections a) and b) in matrix form: min c T x s.e. Ax b x 0 Solution a) Draw on a, x 2 plane the lines according to the inequality constraints. An easy way to do this is to calculate values of and x 2 in two different points and draw a line through them. The feasible area is between the four lines. Optimal solution can be found by drawing level curves of the objective function (lines in which the objective function has the same value). Move with the level curves in the direction of the objective function (the perpendicular of the line) and the last feasible point is the optimum. The optimum is in the intersection of the constraints 4 + 3x 2 21 and 2x 2 1 which is = 4, 09 and x 2 = 1, 55. The optimal objective function value is 37,36. Remember that the optimum of a linear optimization problem can be found in one of the feasible area corners. 1
2 x 2 48 x x x x The use of Excel Solver is similar to Exercise Session 1. The Excel cells can also be arranged using the matrix form of the LP problem (see. section c). The decision variables are placed in the cells B2 and C2. The coefficients of the decision variables in objective function are inserted in the cells B4 and C4. The objective function values is calculated in the cell E4 with formula =SUMPRODUCT($B$2:$C$2;B4:C4) which sums the products of the corresponding variables. Sign $ is placed befor the character and the number of the cell reference so that the Excel doesn t change the reference cell if you copy the cell formula downward. Write the coefficients of the decision variables in the first constraint, 3 and 8, in the cells B7 and C7 and calculate the constraint value with the formula =SUMPRODUCT($B$2:$C$2;B7:C7) in the cell E7. Place the constant value of the constraint in the G7. Repeat the procedure to all of the constraint by using cells G8 and H8. Use these cells in the Solver to set the constraints and the objective function in the cell E7 in the Aseta tavoite (Set target) selection. b) Draw the lines of the inequality constraints in the graph. Draw the level curves of the objective function to find the optimum. The optimum solutions are on the edge of the area, in which + x 2 = 2, 0 and x
3 x x x x Insert the information in the Excel as in the section a. By changing the initial values you realize that the Solver gives different solutions in which +x 2 = 2, 0 and x 2 1. c) a) Decision variables are in a column vector x [ ] x1 x = and the objective function coefficients of the objective function are in a column vector c [ ] 8 c =. 3 Now the objective function can be presented as max c T x = [ 8 3 ] [ ] = 8x + 3x 2. 2 The constraints coefficients of the decision variables are in a matrix A 3 8 A = and the constant terms of constraints in a column vector b 48 b = x 2
4 Now the constraints can be presented as 3 8 [ ] 3 + 8x 2 48 Ax b 4 3 x1 = 4x + 3x x 2 1 Non-negativity constraints for decision variables are [ ] [ ] x1 0 x 0 0 c) b) Now the objective function is max c T x = [ 1 1 ] [ ] x 2 x 2 = + x 2. There are constraints among the constraints so those have to be changed to constraints by multiplying the both sides of the inequality with -1 to turn the sign of the inequality: 2 + 2x x 2 4 and x 2 1 x 2 1. Now the constraints are 2 2 [ ] 2 2x 2 4 Ax b 1 0 x1 = x x 2 1 and non-negativity constraints are x 0 [ x1 x 2 ] [ ] 0 0 Demo 2: Formulation of linear optimization problem The Finnish Steel Co. has decided to optimize its production which consists of carbon steel, stainless steel and tool steel. In one week the company can use 100 tons of iron and 10 tons of chrome in its production. Thanks to double shift work week there are 80 h of work time. One ton of carbon steel requires 1,1 tons of iron and 1 h of work time. One stainless steel ton requires one ton of iron, 0,1 tons of chrome and 1 h 15 min of work time. One tool steel ton needs one ton of iron, 0,15 tons of chrome and 1 h 45 min of work time. The company has also made a deal with United Components Ltd. to deliver 25 tons of carbon steel to United Components each week. Current prices for the steels are 400 eper ton for carbon steel, 500 eper ton for stainless steel and 700 eper ton for tool steel. How much of each of the steels should the company produce to maximize its profits? Formulate as LP problem and solve with Excel Solver. Solution The decision variables are the quantities of the steels: := x 2 := x 3 := quantity of carbon steel (ton) quantity of stainless steel (ton) quantity of tool steel (ton) 4
5 The objective is to maximize the profits: max x x 3. There is 100 tons of iron available in a week and carbon steel requires 1,1 tons, stainless steel 1 ton and tool steel also 1 ton: 1, 1 + x 2 + x The stainless and tool steels require also chrome of which there are 10 tons available in a week. The stainless steel requires 0,1 tons and tool steel 0,15 tons: 0, 1x 2 + 0, 15x There are 80 h of work time and carbon steel requires 1 h, stainless steel 1,25 h and tool steel 1,75 h: + 1, 25x 2 + 1, 75x The deal made forces the company to produce at least 25 tons of carbon steel: 25. The quantities of the steels cannot be negative: 0, x 2 0 and x 3 0. Solve the problem with Excel Solver. Optimally the company produces only the demanded 25 tons of carbon steel and uses the rest of its capacity to produce 31,42 tons of tool steel. This way the company gains profits of e. Problem 1: Solving LP problem graphically and with Excel Solver Solve the linear problem graphically and with Excel Solver. a) max 6 + 5x 2 s.e x x x x 2 1 0, x 2 0 5
6 b) min 6 + 5x 2 s.e x x x 2 9 0, x 2 0 Solution a) Draw the lines of constraints to perceive the feasible area and draw the objective function level curves to find the optimum. The optimum is the intersection of the constraint lines 5 + 3x 2 12 ja 3 + 8x 2 24 which is = 0, 774 and x 2 = 2, 710. The objective function value is 20,13. The same solution can be found with Excel Solver x x x x x 2 1 x b) Again, draw the constraint lines and the level curves of the objective function. The optimum is = 0 and x 2 = 3 which is the intersection of constraints 0 and 3 + 5x The objective function values is 15 which can also be found with Excel Solver. 6
7 x x 2 15 x x 2 14 x Problem 2: Putte the Pig Name Day Party Putte the Pig is arranging his name day party, again. He is expecting 100 guests to his party and he has to make delicacies for all of them. Putte has decided to make only three kind of delicacies: cake, cookies and buns. In one cake there is enough for 10 persons, one cookie for one person and one batch of buns for 20 persons. Unfortunately there is only 10 h to the party and everything has to be ready by then. Baking a cake takes 30 min, one cookie takes 1 min on average and one batch of buns takes 40 min. The yearly party is expensive so Putte tries to minimize the costs. The ingredients for a cake cost 5 e, for a batch of buns 10 e and for a cookie 1 e. How many of each delicacies should Putte make? Also notice that Putte thinks that there should be enough for at least 20 persons of every delicacy and there should be cake for at least twice as many persons as there are cookies for. Formulate as LP problem and solve with Excel Solver. Solution The decision variables are the quantities of delicacies: := x 2 := x 3 := quantity of cakes (piece) quantity of cookies (piece) quantity of bun batches (piece) Putte the Pig tries to minimize the costs: min 5 + x x 3. 7
8 There are 100 persons and one cake is enough for 10 persons, a cookie for one person and batch of buns for 20 persons: 10 + x x There has to be enough for at least 20 persons of every delicacy: 10 20, x 2 20 and 20x Putte also wants that the ratio between the cake and the cookies is at least two to one:: 10 2 x 2. Putte has 600 min to prepare the delicacies and a cake takes 30 min, a cookie 1 min and batch of bun 40 min: 30 + x x The quantities of delicacies cannot be negative: 0, x 2 0 and x 3 0. Solve the problem with Excel Solver. Putte should optimally make 6 cakes, 20 cookies and one batch of buns. Total costs are 60 e. The solution indicates that the amount of guests and required quantities of cookies and bun batches are the active constraints. If you could decrease the constant term of these constraints the objective function value would decrease. Problem 3: Planning of residential area A construction company owns 800 hectares (ha) of land and is about to build onefamily, two-family and three-family houses. The company estimates that a onefamily house will profit the company e, it requires area of 1 ha, building costs are e, and the water consumption is l per day. Same key figure for two-family house are e, 1,5 ha, eand l per day, and for three-family house e, 2 ha, e and l per day. At least half of the houses have to be one-family houses. The water consumption for the area cannot surpass l per day. For every 200 families there has to be one recreational area. It requires 0,5 ha of area. Building costs are 700 e and water consumption is l per day. Streets etc. require 15 % of the total area. Formulate LP problem and find out how many and what kind of houses should the company build to maximize its profits? Note. In Excel the linear problem can also be solved as integer problem if you constraint the variables to be integers with Solver s kok (int) constraint. 8
9 Solution The decision variables are the quantities of houses and recreational areas: := x 2 := x 3 := x 4 := quantity of one-family houses (piece) quantity of two-family houses (piece) quantity of three-family houses (piece) quantity of recreational areas (piece) The construction company maximizes its profits (income - expenses): max x x x x x 4 At least half of the houses have to one-family houses: 1 2 ( + x 2 + x 3 ) x x 3 0. The water consumption of the residential are cannot surpass l per day and one-family house uses l per day, two-family house uses l per day, three-family house 3200 l per day and recreational area 2500 l per day: x x x For every 200 families there has to be one recreational area: x ( + 2x 2 + 3x 3 ) x x 3 + x 4 0. The construction company has to use 15 % (120 ha) of the total 800 ha of building area for the streets. The remaining 680 ha can be used for the houses and one-family house requires 1 ha of area, two-family house 1,5 ha, three-family house 2 ha and recreational area 0,5 ha: + 1, 5x 2 + 2x 3 + 0, 5x The quantities cannot be negative: 0, x 2 0, x 3 0 and x 4 0. Solve the problem with Excel Solver. The optimal solution is that the company build around 180 one-family houses, 180 two-family houses, no three-family houses and three recreational areas. This solution gives 24 million eprofits. The variables can be set as integers in Excel Solver by adding kok (int) constraint in the Reunaehto (Constraint) section and referring to the decision variable cells. Now the solution is 182 one-family houses, 177 two-family houses, no three-family houses and 3 recreational areas. Problem 4: Solving LP problem in 3D Solve the problem graphically. Check your answer with Excel Solver. 9
10 max 4x + 2y + 11z s.e. x + 2y + 3z 15 x + z 6 z 2 x 0, y 0, z 0 Solution Draw the constraint planes into x, y, z-space to perceive the feasible solutions. Draw level surface of the objective function and move in the direction of plane s perpendicular until there are only one feasible solution left, the optimal solution. The optimal solution is x = 4, y = 2, 5 and z = 2 and the objective function value is
11 Problem 5: Sensitivity analysis In this exercise you get know the Sensitivity Report of the Excel Solver. Solve the Exercise 2 with Excel Solver and when the Ratkaisimen tulokset (Solver results) window opens select the reports (Herkkyysanalyysi (Sensitivity), Vastaus (Answer) and Rajoitus (Limits)) from the right hand side. Unravel the meaning of the values in the reports, especially Varjohintaa (Shadow price). Tip. Try how the optimum solution changes if you, for example, change one of the constant terms in the constraints and solve the problem again. Solution Solve the Exercise 2 and select the reports (Herkkyysanalyysi (Sensitivity), Vastaus (Answer) and Rajoitus (Limits)) from the right hand side of the Ratkaisimen tulokset (Solver results) window. This opens three new spreadsheets in the Excel. On the first row of the Answer spreadsheet there are the initial and final values of the objective function. Next there are the initial and final values of the decision variables. From Kokonaisluku (Integer) section you can see if the variable has real or integer value. From Reunaehdot (Boundary condition) section you can see the values of the left side of the constraints and the formulas of the constraints. Tila (State) section tells if the constraint is binding (equality applies) or not. Liukuma (Slide) section tells how much the constraint value can change before the equality applies. In the first section of the Sensitivity spreadsheet there are final values. Vähentyneet kustannukset (Reduced costs) section tells how much can the coefficient in the objective function change before the decision variable enter the base (value is zero for base variables). Tavoitekerroin (Target coefficient) indicates how much the objective function value changes if value of certain decision variable is changed by one. Sallittu lisäys (Allowed increase) and vähennys (decrease) tell how much can the 11
12 objective function coefficients of the decision variables increase or decrease before the variable values in the optimal solution differ. In the second part of the spreadsheet Varjohinta (Shadow price) indicates how much the objective function increases if the value of the constant term in the constraint increases with one. Oikean puolen reunaehto (Right side boundary condition tells the value of constraint s constant term and Sallittu lisäys (Allowed increase) and vähennys (decrease) indicate how much the constant term can increase or decrease without changing the values of decision variables in the optimal solution. First on the Limits spreadsheets is the objective function value. Second section tells the final value, the minimum value and the maximum value of decision variables and the values of objective function with these decision variable values. Note. There are two optimal solutions in which = 4 and x 3 = 2 or = 5 and x 3 = 1 which affects the report values. 12
LINEAR PROGRAMMING: A GEOMETRIC APPROACH. Copyright Cengage Learning. All rights reserved.
3 LINEAR PROGRAMMING: A GEOMETRIC APPROACH Copyright Cengage Learning. All rights reserved. 3.4 Sensitivity Analysis Copyright Cengage Learning. All rights reserved. Sensitivity Analysis In this section,
More informationThe Simplex Method of Linear Programming
The Simplex Method of Linear Programming Online Tutorial 3 Tutorial Outline CONVERTING THE CONSTRAINTS TO EQUATIONS SETTING UP THE FIRST SIMPLEX TABLEAU SIMPLEX SOLUTION PROCEDURES SUMMARY OF SIMPLEX STEPS
More informationLP Definition and Introduction to Graphical Solution Active Learning Module 2
LP Definition and Introduction to Graphical Solution Active Learning Module 2 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material
More informationLinear programming I João Carlos Lourenço
Decision Support Models Linear programming I João Carlos Lourenço joao.lourenco@ist.utl.pt Academic year 2012/2013 Readings: Hillier, F.S., Lieberman, G.J., 2010. Introduction to Operations Research, 9th
More informationGraphical and Computer Methods
Chapter 7 Linear Programming Models: Graphical and Computer Methods Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna 2008 Prentice-Hall, Inc. Introduction Many management
More informationDeterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions
Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions 11. Consider the following linear program. Maximize z = 6x 1 + 3x 2 subject to x 1 + 2x 2 2x 1 + x 2 20 x 1 x 2 x
More informationOptimization Methods in Management Science
Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 2 First Group of Students) Students with first letter of surnames A H Due: February 21, 2013 Problem Set Rules: 1. Each student
More informationLinear Programming II NOT EXAMINED
Chapter 9 Linear Programming II NOT EXAMINED 9.1 Graphical solutions for two variable problems In last week s lecture we discussed how to formulate a linear programming problem; this week, we consider
More informationEssential Question How can you solve an absolute value inequality? Work with a partner. Consider the absolute value inequality x
Learning Standards HSA-CED.A.1 HSA-REI.B.3.6 Essential Question How can you solve an absolute value inequality? COMMON CORE Solving an Absolute Value Inequality Algebraically MAKING SENSE OF PROBLEMS To
More informationDr. S. Bourazza Math-473 Jazan University Department of Mathematics
Dr. Said Bourazza Department of Mathematics Jazan University 1 P a g e Contents: Chapter 0: Modelization 3 Chapter1: Graphical Methods 7 Chapter2: Simplex method 13 Chapter3: Duality 36 Chapter4: Transportation
More informationMathematical Foundations -1- Constrained Optimization. Constrained Optimization. An intuitive approach 2. First Order Conditions (FOC) 7
Mathematical Foundations -- Constrained Optimization Constrained Optimization An intuitive approach First Order Conditions (FOC) 7 Constraint qualifications 9 Formal statement of the FOC for a maximum
More informationIntroduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras
Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module - 03 Simplex Algorithm Lecture 15 Infeasibility In this class, we
More informationIntroduction. Formulating LP Problems LEARNING OBJECTIVES. Requirements of a Linear Programming Problem. LP Properties and Assumptions
Valua%on and pricing (November 5, 2013) LEARNING OBJETIVES Lecture 10 Linear Programming (part 1) Olivier J. de Jong, LL.M., MM., MBA, FD, FFA, AA www.olivierdejong.com 1. Understand the basic assumptions
More informationSystems of Equations. Red Company. Blue Company. cost. 30 minutes. Copyright 2003 Hanlonmath 1
Chapter 6 Systems of Equations Sec. 1 Systems of Equations How many times have you watched a commercial on television touting a product or services as not only the best, but the cheapest? Let s say you
More informationPractice Questions for Math 131 Exam # 1
Practice Questions for Math 131 Exam # 1 1) A company produces a product for which the variable cost per unit is $3.50 and fixed cost 1) is $20,000 per year. Next year, the company wants the total cost
More information3E4: Modelling Choice
3E4: Modelling Choice Lecture 6 Goal Programming Multiple Objective Optimisation Portfolio Optimisation Announcements Supervision 2 To be held by the end of next week Present your solutions to all Lecture
More informationChapter 3 Introduction to Linear Programming PART 1. Assoc. Prof. Dr. Arslan M. Örnek
Chapter 3 Introduction to Linear Programming PART 1 Assoc. Prof. Dr. Arslan M. Örnek http://homes.ieu.edu.tr/~aornek/ise203%20optimization%20i.htm 1 3.1 What Is a Linear Programming Problem? Linear Programming
More informationChapter 4 Test Review. 1. Sketch the graph of the equation 3x + 5y = Sketch the graph of the equation 4x + 3y = 24.
Name Chapter 4 Test Review Per. 1. Sketch the graph of the equation 3x + 5y = 30. 2. Sketch the graph of the equation 4x + 3y = 24. 3. Sketch the graph of the inequality 2x + 4y 12. 4. Sketch the graph
More informationSpring 2018 IE 102. Operations Research and Mathematical Programming Part 2
Spring 2018 IE 102 Operations Research and Mathematical Programming Part 2 Graphical Solution of 2-variable LP Problems Consider an example max x 1 + 3 x 2 s.t. x 1 + x 2 6 (1) - x 1 + 2x 2 8 (2) x 1,
More informationFebruary 22, Introduction to the Simplex Algorithm
15.53 February 22, 27 Introduction to the Simplex Algorithm 1 Quotes for today Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime. -- Lao Tzu Give a man
More informationCh.03 Solving LP Models. Management Science / Prof. Bonghyun Ahn
Ch.03 Solving LP Models Management Science / Prof. Bonghyun Ahn Chapter Topics Computer Solution Sensitivity Analysis 2 Computer Solution Early linear programming used lengthy manual mathematical solution
More informationFunctions of One Variable
Functions of One Variable Mathematical Economics Vilen Lipatov Fall 2014 Outline Functions of one real variable Graphs Linear functions Polynomials, powers and exponentials Reading: Sydsaeter and Hammond,
More informationProblem #1. The following matrices are augmented matrices of linear systems. How many solutions has each system? Motivate your answer.
Exam #4 covers the material about systems of linear equations and matrices (CH. 4.1-4.4, PART II); systems of linear inequalities in two variables (geometric approach) and linear programming (CH.5.1-5.2,
More information2. Linear Programming Problem
. Linear Programming Problem. Introduction to Linear Programming Problem (LPP). When to apply LPP or Requirement for a LPP.3 General form of LPP. Assumptions in LPP. Applications of Linear Programming.6
More informationDuality in LPP Every LPP called the primal is associated with another LPP called dual. Either of the problems is primal with the other one as dual. The optimal solution of either problem reveals the information
More informationAn Introduction to Linear Programming
An Introduction to Linear Programming Linear Programming Problem Problem Formulation A Maximization Problem Graphical Solution Procedure Extreme Points and the Optimal Solution Computer Solutions A Minimization
More informationLinear Programming Duality
Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve
More informationMath 381 Midterm Practice Problem Solutions
Math 381 Midterm Practice Problem Solutions Notes: -Many of the exercises below are adapted from Operations Research: Applications and Algorithms by Winston. -I have included a list of topics covered on
More informationCollege Algebra. Systems of Equations and Inequalities with Matrices addendum to Lesson2. Dr. Francesco Strazzullo, Reinhardt University
College Algebra Systems of Equations and Inequalities with Matrices addendum to Lesson2 Dr. Francesco Strazzullo, Reinhardt University Objectives These notes concern topics covered in our textbook, at
More informationFundamentals of Operations Research. Prof. G. Srinivasan. Indian Institute of Technology Madras. Lecture No. # 15
Fundamentals of Operations Research Prof. G. Srinivasan Indian Institute of Technology Madras Lecture No. # 15 Transportation Problem - Other Issues Assignment Problem - Introduction In the last lecture
More informationLinear Programming Test Review. Day 6
Linear Programming Test Review Day 6 Warm-Up: Test Review Practice A machine can produce either nuts or bolts, but not both at the same time. The machine can be used at most 8 hours a day. Furthermore,
More informationLINEAR PROGRAMMING. Lessons 28. Lesson. Overview. Important Terminology. Making inequalities (constraints)
LINEAR PROGRAMMING Learning Outcomes and Assessment Standards Learning Outcome 2: Functions and algebra Assessment Standard 12.2.8 Solve linear programming problems by optimising a function in two variables,
More informationMS-E2140. Lecture 1. (course book chapters )
Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form problems Graphical representation
More informationAdvanced Algebra Name Date: Semester 1 Final Review ( ) , determine the average rate of change between 3 and 6? 4a) Graph: 3x
Advanced Algebra Name Date: Semester Final Review ) Given f ( x) x = +, determine the average rate of change between and 6? f x = fa fb b a ( 6) = ( 6 ) + ( ) = ( ) f = + = 9 f + = 4 + = 7 ( 6, 9 ) (,
More informationSection 4.1 Solving Systems of Linear Inequalities
Section 4.1 Solving Systems of Linear Inequalities Question 1 How do you graph a linear inequality? Question 2 How do you graph a system of linear inequalities? Question 1 How do you graph a linear inequality?
More informationLinear Programming Test Review. Day 6
Linear Programming Test Review Day 6 Arrival Instructions Take out: Your homework, calculator, and the unit outline Pick up: 1. Warm-Up Test Review Day 2. Test Review HW Sheet A sponge Yes, it is different
More informationLecture 3: Vectors. In Song Kim. September 1, 2011
Lecture 3: Vectors In Song Kim September 1, 211 1 Solving Equations Up until this point we have been looking at different types of functions, often times graphing them. Each point on a graph is a solution
More informationOptimization. Broadly two types: Unconstrained and Constrained optimizations We deal with constrained optimization. General form:
Optimization Broadly two types: Unconstrained and Constrained optimizations We deal with constrained optimization General form: Min or Max f(x) (1) Subject to g(x) ~ b (2) lo < x < up (3) Some important
More informationOptimization Methods in Management Science
Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 (Second Group of Students) Students with first letter of surnames G Z Due: February 12, 2013 1. Each
More informationSolution Cases: 1. Unique Optimal Solution Reddy Mikks Example Diet Problem
Solution Cases: 1. Unique Optimal Solution 2. Alternative Optimal Solutions 3. Infeasible solution Case 4. Unbounded Solution Case 5. Degenerate Optimal Solution Case 1. Unique Optimal Solution Reddy Mikks
More informationStudy Unit 3 : Linear algebra
1 Study Unit 3 : Linear algebra Chapter 3 : Sections 3.1, 3.2.1, 3.2.5, 3.3 Study guide C.2, C.3 and C.4 Chapter 9 : Section 9.1 1. Two equations in two unknowns Algebraically Method 1: Elimination Step
More informationIntroduction. Very efficient solution procedure: simplex method.
LINEAR PROGRAMMING Introduction Development of linear programming was among the most important scientific advances of mid 20th cent. Most common type of applications: allocate limited resources to competing
More informationMVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis
MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis Ann-Brith Strömberg 2017 03 29 Lecture 4 Linear and integer optimization with
More informationLinear Programming. Businesses seek to maximize their profits while operating under budget, supply, Chapter
Chapter 4 Linear Programming Businesses seek to maximize their profits while operating under budget, supply, labor, and space constraints. Determining which combination of variables will result in the
More informationSolutions to Review Questions, Exam 1
Solutions to Review Questions, Exam. What are the four possible outcomes when solving a linear program? Hint: The first is that there is a unique solution to the LP. SOLUTION: No solution - The feasible
More informationSolving an optimization problem of a profit calculation taking into account fixed costs in Excel
Solving an optimization problem of a profit calculation taking into account fixed costs in Excel AUTHORS ARTICLE INFO JOURNAL FOUNDER Lyudmyla Malyarets Olesia Iastremska Lyudmyla Malyarets and Olesia
More informationChapter 2 Introduction to Optimization & Linear Programming
Chapter 2 - Introduction to Optimization & Linear Programming : S-1 Spreadsheet Modeling and Decision Analysis A Practical Introduction to Business Analytics 8th Edition Ragsdale SOLUTIONS MANUAL Full
More informationBrief summary of linear programming and duality: Consider the linear program in standard form. (P ) min z = cx. x 0. (D) max yb. z = c B x B + c N x N
Brief summary of linear programming and duality: Consider the linear program in standard form (P ) min z = cx s.t. Ax = b x 0 where A R m n, c R 1 n, x R n 1, b R m 1,and its dual (D) max yb s.t. ya c.
More informationISE 330 Introduction to Operations Research: Deterministic Models. What is Linear Programming? www-scf.usc.edu/~ise330/2007. August 29, 2007 Lecture 2
ISE 330 Introduction to Operations Research: Deterministic Models www-scf.usc.edu/~ise330/007 August 9, 007 Lecture What is Linear Programming? Linear Programming provides methods for allocating limited
More informationReview Questions, Final Exam
Review Questions, Final Exam A few general questions 1. What does the Representation Theorem say (in linear programming)? 2. What is the Fundamental Theorem of Linear Programming? 3. What is the main idea
More informationSection 1.1 Solving Linear Equations and Inequalities a + 4b c
Section 1 Solving Linear Equations and Inequalities A. Evaluating Expressions Examples Evaluate the following if a = 7, b =, and c = ( a + c ) + b. a + b c B. The Distributive Property Try the Following
More informationGoing from graphic solutions to algebraic
Going from graphic solutions to algebraic 2 variables: Graph constraints Identify corner points of feasible area Find which corner point has best objective value More variables: Think about constraints
More informationUNIT-4 Chapter6 Linear Programming
UNIT-4 Chapter6 Linear Programming Linear Programming 6.1 Introduction Operations Research is a scientific approach to problem solving for executive management. It came into existence in England during
More informationAnother max flow application: baseball
CS124 Lecture 16 Spring 2018 Another max flow application: baseball Suppose there are n baseball teams, and team 1 is our favorite. It is the middle of baseball season, and some games have been played
More informationOperations Research. Duality in linear programming.
Operations Research Duality in linear programming Duality in linear programming As we have seen in past lessons, linear programming are either maximization or minimization type, containing m conditions
More informationCSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017
CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017 Linear Function f: R n R is linear if it can be written as f x = a T x for some a R n Example: f x 1, x 2 =
More informationEcon 172A, Fall 2007: Midterm A
Econ 172A, Fall 2007: Midterm A Instructions The examination has 5 questions. Answer them all. You must justify your answers to Questions 1, 2, and 5. (if you are not certain what constitutes adequate
More informationLinear Programming: Computer Solution and Sensitivity Analysis
Linear Programming: Computer Solution and Sensitivity Analysis Chapter 3 3-1 Chapter Topics Computer Solution Sensitivity Analysis 3-2 Computer Solution Early linear programming used lengthy manual mathematical
More information5.1 Inequalities and Compound Sentences
5.1 Inequalities and Compound Sentences 1. When is a mathematical sentence called an inequality? Advanced Algebra Chapter 5 - Note Taking Guidelines 2. What is an open sentence? 3. How do we graph inequalities
More informationOPRE 6201 : 3. Special Cases
OPRE 6201 : 3. Special Cases 1 Initialization: The Big-M Formulation Consider the linear program: Minimize 4x 1 +x 2 3x 1 +x 2 = 3 (1) 4x 1 +3x 2 6 (2) x 1 +2x 2 3 (3) x 1, x 2 0. Notice that there are
More informationIE 400 Principles of Engineering Management. Graphical Solution of 2-variable LP Problems
IE 400 Principles of Engineering Management Graphical Solution of 2-variable LP Problems Graphical Solution of 2-variable LP Problems Ex 1.a) max x 1 + 3 x 2 s.t. x 1 + x 2 6 - x 1 + 2x 2 8 x 1, x 2 0,
More information1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1
Math 125 Exam 1 Version 1 February 20, 2006 1. (a) (7pts) Find the points of intersection, if any, of the following planes. Solution: augmented R 1 R 3 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1 3 9
More informationLesson 27 Linear Programming; The Simplex Method
Lesson Linear Programming; The Simplex Method Math 0 April 9, 006 Setup A standard linear programming problem is to maximize the quantity c x + c x +... c n x n = c T x subject to constraints a x + a x
More informationLecture 10: Linear programming duality and sensitivity 0-0
Lecture 10: Linear programming duality and sensitivity 0-0 The canonical primal dual pair 1 A R m n, b R m, and c R n maximize z = c T x (1) subject to Ax b, x 0 n and minimize w = b T y (2) subject to
More informationChapter 2. Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall 2-1
Linear Programming: Model Formulation and Graphical Solution Chapter 2 2-1 Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions of Linear Programming Models A Minimization
More informationChapter 4 The Simplex Algorithm Part I
Chapter 4 The Simplex Algorithm Part I Based on Introduction to Mathematical Programming: Operations Research, Volume 1 4th edition, by Wayne L. Winston and Munirpallam Venkataramanan Lewis Ntaimo 1 Modeling
More informationExample Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality
CSCI5654 (Linear Programming, Fall 013) Lecture-7 Duality Lecture 7 Slide# 1 Lecture 7 Slide# Linear Program (standard form) Example Problem maximize c 1 x 1 + + c n x n s.t. a j1 x 1 + + a jn x n b j
More informationSECTION 3.2: Graphing Linear Inequalities
6 SECTION 3.2: Graphing Linear Inequalities GOAL: Graphing One Linear Inequality Example 1: Graphing Linear Inequalities Graph the following: a) x + y = 4 b) x + y 4 c) x + y < 4 Graphing Conventions:
More informationIntroduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role
Linear Programming RK Jana Lecture Outline Introduction to Linear Programming (LP) Historical Perspective Model Formulation Graphical Solution Method Simplex Method Introduction to LP Continued Today many
More information3.4 The Fundamental Theorem of Algebra
333371_0304.qxp 12/27/06 1:28 PM Page 291 3.4 The Fundamental Theorem of Algebra Section 3.4 The Fundamental Theorem of Algebra 291 The Fundamental Theorem of Algebra You know that an nth-degree polynomial
More informationOptimization Methods in Management Science
Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 Second Group of Students (with first letter of surnames I Z) Problem Set Rules: Due: February 12, 2013 1. Each student should
More informationOPTIMISATION /09 EXAM PREPARATION GUIDELINES
General: OPTIMISATION 2 2008/09 EXAM PREPARATION GUIDELINES This points out some important directions for your revision. The exam is fully based on what was taught in class: lecture notes, handouts and
More informationSystems of Linear Equations in Two Variables. Break Even. Example. 240x x This is when total cost equals total revenue.
Systems of Linear Equations in Two Variables 1 Break Even This is when total cost equals total revenue C(x) = R(x) A company breaks even when the profit is zero P(x) = R(x) C(x) = 0 2 R x 565x C x 6000
More information7.1 Solving Systems of Equations
Date: Precalculus Notes: Unit 7 Systems of Equations and Matrices 7.1 Solving Systems of Equations Syllabus Objectives: 8.1 The student will solve a given system of equations or system of inequalities.
More informationThe Graphical Method & Algebraic Technique for Solving LP s. Métodos Cuantitativos M. En C. Eduardo Bustos Farías 1
The Graphical Method & Algebraic Technique for Solving LP s Métodos Cuantitativos M. En C. Eduardo Bustos Farías The Graphical Method for Solving LP s If LP models have only two variables, they can be
More informationENM 202 OPERATIONS RESEARCH (I) OR (I) 2 LECTURE NOTES. Solution Cases:
ENM 202 OPERATIONS RESEARCH (I) OR (I) 2 LECTURE NOTES Solution Cases: 1. Unique Optimal Solution Case 2. Alternative Optimal Solution Case 3. Infeasible Solution Case 4. Unbounded Solution Case 5. Degenerate
More informationInteger Programming. The focus of this chapter is on solution techniques for integer programming models.
Integer Programming Introduction The general linear programming model depends on the assumption of divisibility. In other words, the decision variables are allowed to take non-negative integer as well
More informationAM 121: Intro to Optimization Models and Methods
AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems
More informationIntroduction to Operations Research. Linear Programming
Introduction to Operations Research Linear Programming Solving Optimization Problems Linear Problems Non-Linear Problems Combinatorial Problems Linear Problems Special form of mathematical programming
More informationInteger Programming. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall
Integer Programming Chapter 5 5-1 Chapter Topics Integer Programming (IP) Models Integer Programming Graphical Solution Computer Solution of Integer Programming Problems With Excel and QM for Windows 0-1
More information1 Seidel s LP algorithm
15-451/651: Design & Analysis of Algorithms October 21, 2015 Lecture #14 last changed: November 7, 2015 In this lecture we describe a very nice algorithm due to Seidel for Linear Programming in lowdimensional
More informationNon-Standard Constraints. Setting up Phase 1 Phase 2
Non-Standard Constraints Setting up Phase 1 Phase 2 Maximizing with Mixed Constraints Some maximization problems contain mixed constraints, like this: maximize 3x 1 + 2x 2 subject to 2x 1 + x 2 50 (standard)
More informationWorked Examples for Chapter 5
Worked Examples for Chapter 5 Example for Section 5.2 Construct the primal-dual table and the dual problem for the following linear programming model fitting our standard form. Maximize Z = 5 x 1 + 4 x
More informationLINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:
LINEAR PROGRAMMING 2 In many business and policy making situations the following type of problem is encountered: Maximise an objective subject to (in)equality constraints. Mathematical programming provides
More informationSystems of Equations and Inequalities
1 Systems of Equations and Inequalities 2015 03 24 2 Table of Contents Solving Systems by Graphing Solving Systems by Substitution Solve Systems by Elimination Choosing your Strategy Solving Systems of
More informationDM559/DM545 Linear and integer programming
Department of Mathematics and Computer Science University of Southern Denmark, Odense March 26, 2018 Marco Chiarandini DM559/DM545 Linear and integer programming Sheet 1, Spring 2018 [pdf format] This
More informationMS-E2140. Lecture 1. (course book chapters )
Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form Graphical representation
More informationIntroduction to the Simplex Algorithm Active Learning Module 3
Introduction to the Simplex Algorithm Active Learning Module 3 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material Almost any
More informationIntroduction to Operations Research
Introduction to Operations Research Linear Programming Solving Optimization Problems Linear Problems Non-Linear Problems Combinatorial Problems Linear Problems Special form of mathematical programming
More informationToday: Linear Programming (con t.)
Today: Linear Programming (con t.) COSC 581, Algorithms April 10, 2014 Many of these slides are adapted from several online sources Reading Assignments Today s class: Chapter 29.4 Reading assignment for
More informationM340(921) Solutions Problem Set 6 (c) 2013, Philip D Loewen. g = 35y y y 3.
M340(92) Solutions Problem Set 6 (c) 203, Philip D Loewen. (a) If each pig is fed y kilograms of corn, y 2 kilos of tankage, and y 3 kilos of alfalfa, the cost per pig is g = 35y + 30y 2 + 25y 3. The nutritional
More information3E4: Modelling Choice. Introduction to nonlinear programming. Announcements
3E4: Modelling Choice Lecture 7 Introduction to nonlinear programming 1 Announcements Solutions to Lecture 4-6 Homework will be available from http://www.eng.cam.ac.uk/~dr241/3e4 Looking ahead to Lecture
More informationChapter 4. Inequalities
Chapter 4 Inequalities Vannevar Bush, Internet Pioneer 4.1 Inequalities 4. Absolute Value 4.3 Graphing Inequalities with Two Variables Chapter Review Chapter Test 64 Section 4.1 Inequalities Unlike equations,
More informationLinear Programming. H. R. Alvarez A., Ph. D. 1
Linear Programming H. R. Alvarez A., Ph. D. 1 Introduction It is a mathematical technique that allows the selection of the best course of action defining a program of feasible actions. The objective of
More informationMAT 135 In-Class Assignments Answer Key
MAT 135 In-Class Assignments Answer Key Answers are listed under the heading of each section. Where a section was continued on multiple pages, the answers are all listed under the section heading. If there
More informationOperations Research. Mathematical modeling exercise.
Operations Research Mathematical modeling exercise. The system of linear inequalities problems often leads to a system of linear inequalities (SLI). We will learn to convert the SLI to system of linear
More information1 Numbers, Sets, Algebraic Expressions
AAU - Business Mathematics I Lecture #1, February 27, 2010 1 Numbers, Sets, Algebraic Expressions 1.1 Constants, Variables, and Sets A constant is something that does not change, over time or otherwise:
More informationOptimization Methods in Management Science
Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 (First Group of Students) Students with first letter of surnames A F Due: February 12, 2013 1. Each student
More informationINTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations
Hun Myoung Park (/1/01) LP Formulation: 1 INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations DCC5350/ADC5005 ( Credits) Public Policy
More informationIntroduction to linear programming using LEGO.
Introduction to linear programming using LEGO. 1 The manufacturing problem. A manufacturer produces two pieces of furniture, tables and chairs. The production of the furniture requires the use of two different
More information