Real life Problem. Review

Similar documents
Graphing Linear Inequalities in Two Variables.

Applications of Linear Programming

Linear Programming and its Applications

Math 414 Lecture 2 Everyone have a laptop?

OPERATIONS RESEARCH. Linear Programming Problem

Chapter 15 Introduction to Linear Programming

Linear programming and duality theory

CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension

UNIT 2 LINEAR PROGRAMMING PROBLEMS

Review for Mastery Using Graphs and Tables to Solve Linear Systems

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

CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD

LINEAR PROGRAMMING. Chapter Overview

Graphical Methods in Linear Programming

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 50

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

Some Advanced Topics in Linear Programming

Linear Programming in Small Dimensions

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

Three Dimensional Geometry. Linear Programming

Lecture 9: Linear Programming

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 1: Introduction to Optimization. Instructor: Shaddin Dughmi

Mathematics. Linear Programming

Lesson 08 Linear Programming

Mathematics for Business and Economics - I. Chapter7 Linear Inequality Systems and Linear Programming (Lecture11)

UNIT 6 MODELLING DECISION PROBLEMS (LP)

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

Quantitative Technique

Chapter 4 Concepts from Geometry

Finite Math Linear Programming 1 May / 7

Artificial Intelligence

LINEAR PROGRAMMING. Chapter Introduction

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming

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

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?

( ) ( 200, 0 ) and 0, 200. Linear programming 6C. ( 40, 0) and ( 0, 80) ( 100.8,16.8) F = 168. ( 37.5, 22.5) m=97.5. Objective line passes through

Chapter 4 Linear Programming

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 29

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

IE 5531: Engineering Optimization I

Chapter II. Linear Programming

CURVE SKETCHING EXAM QUESTIONS

Section 18-1: Graphical Representation of Linear Equations and Functions

Linear Programming Problems: Geometric Solutions

16.410/413 Principles of Autonomy and Decision Making

Introduction to Linear Programing Problems

Linear Programming CISC4080, Computer Algorithms CIS, Fordham Univ. Linear Programming

LECTURE 6: INTERIOR POINT METHOD. 1. Motivation 2. Basic concepts 3. Primal affine scaling algorithm 4. Dual affine scaling algorithm

Applied Integer Programming

Lecture 5: Properties of convex sets

Linear Programming: Introduction

How to make Decision Maths exciting. know the big ideas. Further Mathematics Support Programme. What s in D1? Sue de Pomerai

Linear Programming. Readings: Read text section 11.6, and sections 1 and 2 of Tom Ferguson s notes (see course homepage).

LP-Modelling. dr.ir. C.A.J. Hurkens Technische Universiteit Eindhoven. January 30, 2008

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

Lecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang

WEEK 4 REVIEW. Graphing Systems of Linear Inequalities (3.1)

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

EC5555 Economics Masters Refresher Course in Mathematics September Lecture 6 Optimization with equality constraints Francesco Feri

Linear Optimization. Andongwisye John. November 17, Linkoping University. Andongwisye John (Linkoping University) November 17, / 25

Lecture 5: Duality Theory

Lecture notes on the simplex method September We will present an algorithm to solve linear programs of the form. maximize.

Linear Programming with Bounds

1 GIAPETTO S WOODCARVING PROBLEM

arxiv: v1 [cs.cc] 30 Jun 2017

MEI Conference 2009: D2

Combinatorial Geometry & Topology arising in Game Theory and Optimization

Systems of Equations and Inequalities. Copyright Cengage Learning. All rights reserved.

Bilinear Programming

CMPSCI611: The Simplex Algorithm Lecture 24

ACTUALLY DOING IT : an Introduction to Polyhedral Computation

Convexity: an introduction

LINEAR PROGRAMMING (LP), GRAPHICAL PRESENTATION GASPAR ASAMPANA

11 Linear Programming

POLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if

Programming, numerics and optimization

Linear Programming Terminology

INEQUALITIES Graphing Linear Inequalities Common Core Standard

Discrete Optimization. Lecture Notes 2

II. Linear Programming

1. Sorting (assuming sorting into ascending order) a) BUBBLE SORT

MA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:

MA30SA Applied Math Unit D - Linear Programming Revd:

TMA946/MAN280 APPLIED OPTIMIZATION. Exam instructions

MATH SPEAK - TO BE UNDERSTOOD AND MEMORIZED DETERMINING THE INTERSECTIONS USING THE GRAPHING CALCULATOR

Convex Optimization CMU-10725

Algebra Reviews & LP Graphic Solutions

Graphs that have the feasible bases of a given linear

Lecture 1: Introduction

Some Notes on Geometric Interpretation of Holding-Free Solution for Urban Intersection Model

Introduction to Linear Programming

Using Linear Programming for Management Decisions

Outline. Linear Programming (LP): Principles and Concepts. Need for Optimization to Get the Best Solution. Linear Programming

The Simplex Algorithm

Lecture 2 - Introduction to Polytopes

Convex Geometry arising in Optimization

Barrhead High School Mathematics Department. National 4 Mathematics. Learning Intentions & Success Criteria: Assessing My Progress

CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi

Mathematical Programming and Research Methods (Part II)

Transcription:

Linear Programming

The Modelling Cycle in Decision Maths Accept solution Real life Problem Yes No Review Make simplifying assumptions Compare the solution with reality is it realistic? Interpret the solution in terms of the original problem Solve the mathematical problem Define variables and decide on the mathematical techniques to be used

What is linear programming? A linear programming problem consists of a collection of linear inequalities of a number of real variables and a given linear function of these real variables which is to be maximised or minimised.

Linear Programming Decision making is a process that has to be carried out in many areas of life. After the Second World War a group of American mathematicians developed some mathematical methods to help with decision making. They produced mathematical models that turned the requirements, constraints and objectives of a project into algebraic equations. Linear programming is the process of solving these equations by searching for an Optimal Solution. The optimal solution is the maximum or minimum value of a required function. Linear programming methods are some of the most widely used methods employed to solve management and economic problems, they can be applied to a variety of contexts, with enormous savings in money and resources.

Linear Programming 1. Be able to manipulate inequalities algebraically. 2. Be able to illustrate linear inequalities in two variables graphically. 3. Be able to formulate simple maximisation of profit and minimisation of cost problems. Formulation of constrained optimisation problems 4. Be able to use graphs to solve 2-D problems, including integer valued problems. Solution of constrained optimisation problems 5. Be able to interpret solutions, including spare capacities. Algebraic interpretation of the graphical solution in 2-D.

Key Points 1. Formulating Let x be the number of, let y be the number of Text into linear constraints Have you used all the information in the question? Don t forget x 0, y 0 2. Graphing Two variables only Use intercepts on axes, where feasible to do so Label equations of lines; show inequalities by shading

Key Points 3. Solving The objective may be to minimise or maximise Plot an example objective function (choose RHS) Test the vertices of the Feasible Region. The solution could be all the points along one edge. 4. Interpreting Does it have to be an integer solution? Are there alternative feasible solutions? You may need to comment on the solution.

Example: A small factory produces two types of toys: bicycles and trucks. In the manufacturing process two machines are used: the lathe and the assembler. The table shows the length of time needed for each toy: The lathe can be operated for 16 hours a day and there are two assemblers which can each be used for 12 hours a day. Each bicycle gives a profit of 16 and each truck gives a profit of 14. Formulate and solve a linear programming problem so that the factory maximises its profit.

Example: A small factory produces two types of toys: bicycles and trucks. In the manufacturing process two machines are used: the lathe and the assembler. The table shows the length of time needed for each toy: The lathe can be operated for 16 hours a day and there are two assemblers which can each be used for 12 hours a day. Each bicycle gives a profit of 16 and each truck gives a profit of 14. Formulate and solve a linear programming problem so that the factory maximises its profit. Bicycle Truck Lathe 2 hours 1 hour Assembler 2 hours 3 hours

1. Formulate the problem Let x be number of bicycles made Let y be number of trucks made. Objective Function Maximise P = 16x + 14y Subject to constraints 2x + y 16 Lathe 2x + 3y 24 Assembler x, y 0 There are two assemblers Define variables and decide on the mathematical techniques to be used

Finding the Optimum Value Method 1: Tour of vertices (0,8) profit = 112 (6,4) profit = 152 (8,0) profit = 128 Optimal solution is to make 6 bicycles and 4 trucks. Profit 152 Method 2: Profit Line Draw a line through the origin parallel to the gradient of the profit function. Move this line up the y-axis until it is just leaving the feasible region the point at which it leaves the feasible region is the optimum value. Profit line y = 1/14 (P 16x)

Using ICT Finding the Optimum Value using AUTOGRAPH If you have Autograph you can use this to solve graphical LP problems 2. Using the on-line resources (www.mei.org.uk) LinPro Integer Prog

What happens next? In real life you would go back to the original situation and assess whether this solution is reasonable and feasible before deciding whether to implement it. Compare the solution with reality is it realistic?

Minimisation problems Minimise C = 3x + 4y subject to the constraints: 3x - 4y 12, x + 2y 4 x 1, y 0. The feasible region for this set of constraints is shown on the graph. The value of C at each vertex C = 3x + 4y (1, 1.5): 3(1)+4(1.5) = 9 (4, 0): 3(4)+4(0) = 12 solution x = 1, y = 1.5, C = 9.

January 2010 question 4 Link to the examination paper Link to FMSP revision recording

January 2010 question 4 x

June 2010 question 4 Link to the examination paper Link to FMSP revision recording

June 2010 question 4 x

What happens if there are more than 2 variables? In geometric terms we are considering a closed, convex, region, P, (known as a polytope), defined by intersecting a number of half-spaces in n-dimensional Euclidean space (these are the constraints). If the objective is to maximise a linear function L(x), consider the family of hyperplanes, H(c), defined by L(x) = c. As c increases, these form a parallel family. We want to find the largest value of c such that H(c) intersects P. Starting Vertex Optimal Solution

What is linear programming? In this case we can show that the optimum value of c is attained on the boundary of P using the extreme point theorem If P is a convex polygon and L(x) is a linear function then all of the values of L(x) at the points of P, both maximum and minimum occur at the extreme points. Hence, if an LP has a bounded optimal solution then there exists an extreme point of the feasible region that is optimal Convex region Concave region An Introduction to Linear Programming and the Theory of Games by Abraham M Glicksman Published by Dover publications Isbn 0-486-41710-7

Introducing the simplex method Methods for finding this optimum point on P work in several ways: some attempt to improve a possible point by moving through the interior of P (so-called interior point methods); others start and remain on the boundary searching for an optimum. Optimal Solution Starting Vertex

1. Formulate the problem Objective Function Subject to constraints Graphical method Maximise P = 16x + 14y Lathe 2x + y 16 Solution by simplex Let x be no. of bicycles made Let y be no. of trucks made. Assembler 2x + 3y 24 Simplex method Maximise P 16x 14y = 0 2x + y + s 1 =16 2x + 3y + s 2 = 24 Solve problem y 16 14 12 10 8 6 4 2 0 0 2 4 6 8 10 12 14 16 Solution: P = 152, x = 6, y = 4 x p x y s1 s2 ratio test 1-16 -14 0 0 0 0 2 1 1 0 16 16/2=8 0 2 3 0 1 24 24/2=12 1 0-6 8 0 128 0 1 0.5 0.5 0 8 8/0.5=16 0 0 2-1 1 8 8/2=4 1 0 0 5 3 152 0 1 0 0.75-0.25 6 0 0 1-0.5 0.5 4

Jeff Trim jefftrim@furthermaths.org.uk Central Coordinator & Area Coordinator, SE Region Further Mathematics Support Programme