Going from graphic solutions to algebraic

Similar documents
A linear equation in two variables is generally written as follows equation in three variables can be written as

Systems of Linear Equations

Examples of linear systems and explanation of the term linear. is also a solution to this equation.

YOU CAN BACK SUBSTITUTE TO ANY OF THE PREVIOUS EQUATIONS

Computational Integer Programming Universidad de los Andes. Lecture 1. Dr. Ted Ralphs

Lesson 3-1: Solving Linear Systems by Graphing

Today s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12

Solving Systems of Linear Equations

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Systems of Linear Equations and Inequalities

Math 1314 Week #14 Notes

The Simplex Method for Solving a Linear Program Prof. Stephen Graves

The Simplex Method: An Example

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note Introduction to Linear Algebra the EECS Way

Chapter 2 Linear Equations and Inequalities in One Variable

Unit 8 - Polynomial and Rational Functions Classwork

Instructor Quick Check: Question Block 12

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction to Linear Algebra the EECS Way

Solving simple equations, a review/primer

5 Systems of Equations

Identifying the Graphs of Polynomial Functions

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

Part III: A Simplex pivot

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Written by Rachel Singh, last updated Oct 1, Functions

Chapter 6. Systems of Equations and Inequalities

Introduction to the Simplex Algorithm Active Learning Module 3

Systems of Equations and Inequalities. College Algebra

Chapter 2 Describing Motion: Kinematics in One Dimension

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

Chapter 1 Review of Equations and Inequalities

ORF 522. Linear Programming and Convex Analysis

Multiple Choice Questions

x y = 2 x + 2y = 14 x = 2, y = 0 x = 3, y = 1 x = 4, y = 2 x = 5, y = 3 x = 6, y = 4 x = 7, y = 5 x = 0, y = 7 x = 2, y = 6 x = 4, y = 5

Solving Systems of Linear Equations

Systems of Equations

Linear Programming and the Simplex method

Pair of Linear Equations in Two Variables

Section 4.6 Negative Exponents

Notes taken by Graham Taylor. January 22, 2005

Water Resources Systems: Modeling Techniques and Analysis

CP Algebra 2. Unit 2-1 Factoring and Solving Quadratics

Chapter 3: Polynomial and Rational Functions

MathQuest: Linear Algebra

7.2 Solving Systems with Graphs Name: Date: Goal: to use the graphs of linear equations to solve linear systems. Main Ideas:

Linear programming Dr. Arturo S. Leon, BSU (Spring 2010)

CHAPTER 8: MATRICES and DETERMINANTS

Homework Assignment 4 Solutions

Systems of Linear Equations

Section 20: Arrow Diagrams on the Integers

Pacing Guide Algebra 1

Linear Programming Redux

Lecture 2: The Simplex method. 1. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form.

1 - Systems of Linear Equations

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16

MATH 1130 Exam 1 Review Sheet

Solving Systems of Equations Row Reduction

At the start of the term, we saw the following formula for computing the sum of the first n integers:

Definition: A "system" of equations is a set or collection of equations that you deal with all together at once.

Optimization Methods in Management Science

How much does the cow weigh?

Pre Calculus with Mrs. Bluell

Chapter 2. Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall 2-1

5 Integer Linear Programming (ILP) E. Amaldi Foundations of Operations Research Politecnico di Milano 1

Notes on State Minimization

Inner product spaces. Layers of structure:

Unit 2-1: Factoring and Solving Quadratics. 0. I can add, subtract and multiply polynomial expressions

Chapter 8 ~ Quadratic Functions and Equations In this chapter you will study... You can use these skills...

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

Math 4: Advanced Algebra Ms. Sheppard-Brick B Quiz Review Learning Targets

Chap6 Duality Theory and Sensitivity Analysis

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints.

3. THE SIMPLEX ALGORITHM

C&O 355 Mathematical Programming Fall 2010 Lecture 2. N. Harvey

Making Piecewise Functions Continuous and Differentiable by Dave Slomer

MSA 640 Homework #2 Due September 17, points total / 20 points per question Show all work leading to your answers

When a is positive, the parabola opens up and has a minimum When a is negative, the parabola opens down and has a maximum

Part 1: You are given the following system of two equations: x + 2y = 16 3x 4y = 2

Elementary maths for GMT

3 The Simplex Method. 3.1 Basic Solutions

One Solution Two Solutions Three Solutions Four Solutions. Since both equations equal y we can set them equal Combine like terms Factor Solve for x

OPRE 6201 : 3. Special Cases

3.3 Acceleration An example of acceleration Definition of acceleration Acceleration Figure 3.16: Steeper hills

Data Sparse Matrix Computation - Lecture 20

Systems of Linear Equations

CHAPTER 8: MATRICES and DETERMINANTS

Lesson Plan. Answer Questions. Summary Statistics. Histograms. The Normal Distribution. Using the Standard Normal Table

1300 Linear Algebra and Vector Geometry

March 19 - Solving Linear Systems

Math 308 Discussion Problems #4 Chapter 4 (after 4.3)

Simplex Algorithm Using Canonical Tableaus

Chapter 7 Linear Systems

P.1 Prerequisite skills Basic Algebra Skills

Lesson 28: Another Computational Method of Solving a Linear System

THE REAL NUMBERS Chapter #4

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

A Quick Introduction to Row Reduction

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 2

Unit 4 Systems of Equations Systems of Two Linear Equations in Two Variables

Transcription:

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 algebraically Identify extreme points (a.k.a. basic feasible solutions) Find which basic feasible solution has best objective value 1

Optimize subject to Matrix representation c 1 x 1 +... + c n x n a 11 x 1 +... + a 1n x n = b 1......... a m1 x 1 +... + a mn x n = b m and x i 0 for all i, may be written as Optimize c T x subject to Ax = b, x 0 for suitable vectors c, x, b and matrix A 2

Reducing to m < n Ax = b is a system of m equations in n unknowns Linear algebra tells us that if m > n there is redundancy in the system: some of the equations can be derived from linear combinations of others. Gaussian elimination allows us to reduce to a smallest possible set of independent equations with same solution space If m = n after reduction, the system either has no solution (in which case, no feasible solution to LP), or a unique solution, which may or may not be feasible (i.e., may or may not satisfy x 0). In either case, the methods of linear algebra solve the LP So from now on, we assume that m < n, meaning we have more variables than constraints. This is what we most often encounter in linear programming, since or constraints in the original problem introduce new variables, but no new constraints, and the same for unrestricted variables. 3

Basic feasible solutions Take any n m of the n variables and set them to zero. These variables are called the non-basic variables. The matrix equation Ax = b reduces to a system of m equations in m unknown variables. These variables are called the basic variables. This m by m system may have a unique solution in which all the components are non-negative. If it does, the feasible solution to the LP with the non-basic variables set to zero, and the value of the basic variables determined by the unique solution to the m by m system, is called a basic feasible solution. Just as the optimal solution to a 2-variable LP occurs at a corner point of the feasible space, the optimal solution to an LP in standard form always occurs at a basic feasible solution. 4

Solving an LP in finite time Convert to standard form, m constraints, n variables Use linear algebra to make sure there is no redundancy among equations (so m n) If m = n, solve Ax = b to perhaps get unique feasible solution If m < n: For each subset of n m variables, set these variables to zero, and see if there is a unique, non-negative solution to the resulting m by m system. If there is, record this as a basic feasible solution Evaluate the objective at all basic feasible solutions The optimum is the best value among basic feasible solutions 5

Finite... but not necessarily quick! How many basic feasible solutions are there? At most ( ) n n! = m m!(n m)! (this is the number of ways of choosing the m potentially basic variables from the set of n variables). How long might the procedure just described take? n = 10, m = 5: 252 steps n = 20, m = 10: 184,756 steps n = 30, m = 15: 155,117,520 steps n = 40, m = 20: 137,846,528,820 steps n = 50, m = 25: 126,410,606,437,752 steps Things quickly spiral out of control! 6

Why are basic feasible solutions so special? Here s a very high-level idea of what s going on: If we set fewer than n m components of x to zero, get to solve m equations in more than m variables to determine the rest of x. There are infinitely many solutions, and around any one solution there is a ball of other solutions. It s always possible to find a direction to move in inside this ball that improves the objective value. Conclusion: no solution that is obtained by setting fewer than n m components to zero can be optimal If we set n m components of x to zero, and the resulting m by m system has a solution, but not a unique one, then it has infinitely many, and we can do the same thing as in the first point to conclude that a solution so obtained isn t optimal Conclusion: The only solutions that might potentially be optimal are the basic feasible solutions 7