How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program

Similar documents
Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Optimization of Design. Lecturer:Dung-An Wang Lecture 8

CSE 40/60236 Sam Bailey

Farming Example. Lecture 22. Solving a Linear Program. withthe Simplex Algorithm and with Excel s Solver

6.3 Notes O Brien F15

4.1 Graphical solution of a linear program and standard form

Linear Programming Terminology

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Math 414 Lecture 30. The greedy algorithm provides the initial transportation matrix.

Multiplying and Dividing Rational Expressions

Math Week in Review #5

EXTENSION. a 1 b 1 c 1 d 1. Rows l a 2 b 2 c 2 d 2. a 3 x b 3 y c 3 z d 3. This system can be written in an abbreviated form as

CSC 8301 Design & Analysis of Algorithms: Linear Programming

The Simplex Algorithm. Chapter 5. Decision Procedures. An Algorithmic Point of View. Revision 1.0

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

Matrices and Systems of Equations

Chapter 4: The Mechanics of the Simplex Method

Rules of Exponents Part 1[Algebra 1](In Class Version).notebook. August 22, 2017 WARM UP. Simplify using order of operations. SOLUTION.

( 3) ( 4 ) 1. Exponents and Radicals ( ) ( xy) 1. MATH 102 College Algebra. still holds when m = n, we are led to the result

Multiplying and Dividing Rational Expressions

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations,

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Mth 60 Module 2 Section Signed Numbers All numbers,, and

I will illustrate the concepts using the example below.

Section Notes 5. Review of Linear Programming. Applied Math / Engineering Sciences 121. Week of October 15, 2017

Warm Up Simplify each expression. Assume all variables are nonzero.

Section Notes 4. Duality, Sensitivity, and the Dual Simplex Algorithm. Applied Math / Engineering Sciences 121. Week of October 8, 2018

Solutions for Operations Research Final Exam

Lecture 9: Linear Programming

Linear programming II João Carlos Lourenço

Linear Programming Problems

Linear optimization. Linear programming using the Simplex method. Maximize M = 40 x x2. subject to: 2 x1 + x2 70 x1 + x2 40 x1 + 3 x2 90.

Lesson 1: Arithmetic Review

Fundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology Madras.

CASE STUDY. fourteen. Animating The Simplex Method. case study OVERVIEW. Application Overview and Model Development.

4.1 The original problem and the optimal tableau

Part 1. The Review of Linear Programming The Revised Simplex Method

Mini-Lesson 1. Section 1.1: Order of Operations PEMDAS

1-3 Multiplying and Dividing Real Numbers

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.

Some Advanced Topics in Linear Programming

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.

CW Middle School. Math RtI 7 A. 4 Pro cient I can add and subtract positive fractions with unlike denominators and simplify the result.

A. Incorrect! To simplify this expression you need to find the product of 7 and 4, not the sum.

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

Linear Programming. them such that they

FUNDAMENTAL ARITHMETIC

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

Linear Programming Applications. Software for Linear Programming

Notes for Lecture 18

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

Optimization Methods in Management Science

Let s start by examining an Excel worksheet for the linear programming. Maximize P 70x 120y. subject to

Artificial Intelligence

3.3 Division of Fractions and of Mixed Numbers

Lecture 4: Linear Programming

Chapter 4 Section 2 Operations on Decimals

Reteaching. Comparing and Ordering Integers

AM 121: Intro to Optimization Models and Methods Fall 2017

Math-3 Lesson 3-6 Analyze Rational functions The Oblique Asymptote

Summer Assignment Glossary

Algebra 1 Review. Properties of Real Numbers. Algebraic Expressions

Math Introduction to Operations Research

This assignment is due the first day of school. Name:

MATLAB Solution of Linear Programming Problems

COLUMN GENERATION IN LINEAR PROGRAMMING

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.

5.7 Solving Linear Inequalities

CSE 460. Today we will look at" Classes of Optimization Problems" Linear Programming" The Simplex Algorithm"

What s Linear Programming? Often your try is to maximize or minimize an objective within given constraints

Linear Equations in Linear Algebra

Easter Term OPTIMIZATION

VARIANTS OF THE SIMPLEX METHOD

Unit 3: Multiplication and Division Reference Guide pages x 7 = 392 factors: 56, 7 product 392

Discrete Optimization. Lecture Notes 2

3 INTEGER LINEAR PROGRAMMING

Chapter 3: Towards the Simplex Method for Efficient Solution of Linear Programs

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

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

SOLVING SYSTEMS OF EQUATIONS

The Simplex Algorithm

10-2 Circles. Warm Up Lesson Presentation Lesson Quiz. Holt Algebra2 2

Linear Programming. Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015

THE simplex algorithm [1] has been popularly used

A Constant Rate of Change Name Part 1

Module 4 Lecture Notes 1. Use of software for solving linear programming problems

Lesson 16: Applying the Properties of Operations to Multiply and Divide Rational Numbers

Name: Date: Review Packet: Unit 1 The Number System

Decimals. Chapter Five

Math 083 Final Exam Practice

Chapter 1 Section 1 Solving Linear Equations in One Variable

Generalized Network Flow Programming

Solving Algebraic Equations

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

Civil Engineering Systems Analysis Lecture XV. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

For example, the system. 22 may be represented by the augmented matrix

x = 12 x = 12 1x = 16

ISE203 Optimization 1 Linear Models. Dr. Arslan Örnek Chapter 4 Solving LP problems: The Simplex Method SIMPLEX

(-,+) (+,+) Plotting Points

Transcription:

How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program Problem: Maximize z = x + 0x subject to x + x 6 x + x 00 with x 0 y 0 I. Setting Up the Problem. Rewrite each structural constraint as an equation by adding a different slack variable and replacing the inequality symbol with an equal sign. x + x 6 x + x + s = 6 x + x 00 x + x + s = 00. Rewrite the objective function so that all the variables are on the left and the constant is on the right. When you do this, the coefficient of the variable to be optimized must be positive. correct: x 0x + z = 0 incorrect: x + 0x z = 0 Record the rewritten objective function below the constraint equations. Line the variables up vertically. x + x + s = 6 x + x + s = 00 x 0x + z = 0. Record the initial simplex tableau. Label each column. x x s s z 0 0 6 0 0 00 0 0 0 0. Enter your initial simplex tableau into your calculator as matrix A. a. Hit MATRIX or nd MATRIX b. Hit to go to the Edit Menu c. Hit to select matrix A

d. Hit ENTER 6 ENTER to enter the number of rows and columns in the matrix. The calculator will then create an empty matrix with those dimensions. e. Enter the elements of the matrix, one number at a time, working from left to right. ALWAYS check every entry before you leave this screen. You can scroll left & right, up & down, to check the entire matrix. II. Using the ROWOPS Program. Enter the ROWOPS program. a. Hit the PRGM key. Select ROWOPS. b. You will see the matrix you just entered as Matrix A. Hit ENTER again. You will see a menu with four choices. The ROWOPS Menu. SWAP ROWS We never swap rows when using the simplex method.. MULTIPLY To get a one in a pivot position we multiply the row by the reciprocal of the pivot number. For example, if the pivot position is R C and it is occupied by, we would multiply row two by. To do this in the Rowops program we would select To Multiply, hit Enter, type the row number, hit Enter, type the multiplier, and hit Enter. On paper we record this row operation as R.. PIVOT To get a zero above or below a one in a pivot position, we add a multiple of one row to another. This is called pivoting. Pivoting clears a column of all nonzero non-pivot entries. For example, if there is a one in the pivot position R C, in R C, and in R C, we would clear the first column by doing the following, assuming we have gotten a one in the pivot position first: i. To get a zero at R C, we would multiply the pivot row (R ) by and add the result to the row we are getting a zero in (R ). On paper we would record this operation as R + R. ii. To get a zero at R C, we would multiply the pivot row (R ) by and add the result to the row we are getting a zero in (R ). On paper we would record this operation as R + R

To do this in the Rowops program, we would select To Pivot, hit Enter, type the row number where the pivot is located, hit Enter, type the column number where the pivot is located, hit Enter. This operation will clear the entire column (replace every non-pivot number in the column with zero). When pivoting in Rowops, we do not enter the manual row operations, just the location of the pivot. On paper, however, we must record the appropriate manual row operations to get every zero in the column. Hint: If you have a one in the pivot position and A in the position you want to clear, the pivoting operation is: A R p + R c If you have B in the pivot position and A in the position you want to clear, the pivoting operation is: A R p + B R c [R p = pivot row R c = row you are getting a zero in] Note: You are required to record the manual row operation and the resulting matrix at each step of the simplex method. Examples of manual row operations include R and R + R. It is not o.k. to record a pivoting operation as pivot on R C.. Stop When you have reached the final tableau, select To Stop to exit the program and then turn your calculator off to completely disengage the program. III. Solving the Problem 6. To identify the pivot column, find the most negative indicator (number in the bottom row to the left of the vertical bar). If there is a tie, choose the one farther to the left. For this matrix, the most negative indicator is 0, so the pivot column is column. 7. To identify the pivot, form test quotients by taking each number in the pivot column and dividing it into the corresponding constant. You are looking for the number which produces the smallest non-negative quotient. Disregard quotients with zero or a negative number in the denominator. If all quotients must be disregarded, no optimum solution exists. If there is a tie between two test quotients, choose the pivot closest to the top of the matrix. Circle the pivot in every matrix. 6 00 Test Quotients: = 6 = 60 60 < 6 Conclusion: The pivot is the located in row column. : Initial Simplex Tableau (Matrix ) with the first pivot circled 8. To get a one in the pivot position, multiply the pivot row by the reciprocal of the number in the pivot position. Record this row operation in front of the resultant matrix. Since there is a in the pivot position, we must multiply the pivot row (R ) by

a. Select To Multiply. Hit ENTER b. Enter the row number Hit ENTER c. Enter the multiplier Hit ENTER Record the row operation and the resultant matrix on your paper. R Initial Matrix (Matrix ) row operation Resultant Matrix (Matrix ) 9. To get a zero above or below the pivot position, multiply the pivot row by the opposite of the number you want to become zero and add the result to the row you are getting the zero in, A R p + R c Be sure you record the appropriate manual row operation to get every zero in the column To get a zero in R C manually, we would multiply the pivot row (row ) by and add that to row one. On paper we record R + R. To get a zero in R C manually, we would multiply the pivot row (row ) by 0 and add that to row three. On paper we record 0R + R. a. Hit ENTER to advance the program. b. Select To Pivot. Hit ENTER c. Enter the row number the pivot is in. d. Enter the column number the pivot is in.

Record the row operations and the resultant matrix. x x s s R + R 0-0R + R 0-0 0 6 Matrix row operations Matrix z 0 0 60 800 0. Repeat steps 6 9 until all of the indicators are either positive or zero. This is called the final tableau. Read the solution from the final tableau. We still have a negative indicator, so we have not reached the final tableau. Repeating Step 6: The most negative indicator is the - in R C, so the pivot column is column. Repeating Step 7: Test Quotients: 60 = = = 60 = 7 < 7 Conclusion: The pivot is the located in R C. Repeating Step 8: Since there is a in the pivot position, we must multiply the pivot row (row ) by. a. Hit ENTER to advance the program. b. Select To Multiply. Hit ENTER c. Enter the row number Hit ENTER d. Enter the multiplier Hit ENTER Record the row operation and the resultant matrix on your paper.

R Matrix row operation Matrix Repeating Step 9: To get a zero in R C manually, we would multiply the pivot row (row ) by and add that to row two. On paper we record R + R. To get a zero in R C manually, we would multiply the pivot row (row ) by and add that to row three. On paper we record R + R. a. Hit ENTER to advance the program. b Select To Pivot. Hit ENTER c. Enter the row number the pivot is in. d. Enter the column number the pivot is in. Record the row operations and the resultant matrix on your paper. R R x x s s z 0 0 0 0 0 Matrix row operations Final Tableau + R + R 0 8 Since the indicators of this matrix are all either positive or zero, we have reached the final matrix. We can now read the solution from the matrix. Basic variables: x = x = 0 Nonbasic variables: s = 0 s = 0 Conclusion: A maximum z-value of 8 occurs when x = and x = 0 6