MA 162: Finite Mathematics - Section 3.3/4.1

Similar documents
Finite Math Section 4_1 Solutions and Hints

1. Introduce slack variables for each inequaility to make them equations and rewrite the objective function in the form ax by cz... + P = 0.

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

Part III: A Simplex pivot

MATH 210 EXAM 3 FORM A November 24, 2014

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

UNIVERSITY OF KWA-ZULU NATAL

Section 4.1 Solving Systems of Linear Inequalities

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

Slide 1 Math 1520, Lecture 10

Exam 3 Review Math 118 Sections 1 and 2

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns

Practice Final Exam Answers

Math 210 Finite Mathematics Chapter 4.2 Linear Programming Problems Minimization - The Dual Problem

6.2: The Simplex Method: Maximization (with problem constraints of the form )

Non-Standard Constraints. Setting up Phase 1 Phase 2

Lesson 27 Linear Programming; The Simplex Method

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

1 Answer Key for exam2162sp07 vl

SAMPLE QUESTIONS. b = (30, 20, 40, 10, 50) T, c = (650, 1000, 1350, 1600, 1900) T.

4.3 Minimizing & Mixed Constraints

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

Exam. Name. Use the indicated region of feasible solutions to find the maximum and minimum values of the given objective function.

Professor Alan H. Stein October 31, 2007

Linear Programming: Chapter 5 Duality

Linear Programming, Lecture 4

4.4 The Simplex Method and the Standard Minimization Problem

DEPARTMENT OF MATHEMATICS

MATH 4211/6211 Optimization Linear Programming

Chapter 4 The Simplex Algorithm Part I

The augmented form of this LP is the following linear system of equations:

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Lecture 11: Post-Optimal Analysis. September 23, 2009

56:270 Final Exam - May

The Simplex Method of Linear Programming

Understanding the Simplex algorithm. Standard Optimization Problems.

56:171 Operations Research Fall 1998

Systems Analysis in Construction

Finite Mathematics MAT 141: Chapter 4 Notes

Worked Examples for Chapter 5

Review Solutions, Exam 2, Operations Research

Math Homework 3: solutions. 1. Consider the region defined by the following constraints: x 1 + x 2 2 x 1 + 2x 2 6

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

DEPARTMENT OF MATHEMATICS

The Simplex Method. Standard form (max) z c T x = 0 such that Ax = b.

Simplex Method. Dr. rer.pol. Sudaryanto

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

Math Models of OR: Some Definitions

Section Gauss Elimination for Systems of Linear Equations

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

Name: Section Registered In:

Linear Programming. (Com S 477/577 Notes) Yan-Bin Jia. Nov 28, 2017

Using IOR Tutorial; Artificial Variables and Initial Basic Feasible Solutions

Linear Programming: Simplex Method CHAPTER The Simplex Tableau; Pivoting

2. Linear Programming Problem

Review Questions, Final Exam

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

MS-E2140. Lecture 1. (course book chapters )

OPRE 6201 : 3. Special Cases

Fall Math 140 Week-in-Review #5 courtesy: Kendra Kilmer (covering Sections 3.4 and 4.1) Section 3.4

MATH 445/545 Homework 2: Due March 3rd, 2016

The Graphical Method & Algebraic Technique for Solving LP s. Métodos Cuantitativos M. En C. Eduardo Bustos Farías 1

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

Formulating and Solving a Linear Programming Model for Product- Mix Linear Problems with n Products

Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course)

IE 5531: Engineering Optimization I

Optimum Solution of Linear Programming Problem by Simplex Method

MTH 201 Applied Mathematics Sample Final Exam Questions. 1. The augmented matrix of a system of equations (in two variables) is:

Simplex Method in different guises

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

The Transportation Problem

MATH 445/545 Test 1 Spring 2016

March 13, Duality 3

Part 1. The Review of Linear Programming

A = Chapter 6. Linear Programming: The Simplex Method. + 21x 3 x x 2. C = 16x 1. + x x x 1. + x 3. 16,x 2.

Lecture 11 Linear programming : The Revised Simplex Method

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:

Linear Programming Duality

3E4: Modelling Choice

MATH6 - Introduction to Finite Mathematics

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

Linear programming: algebra

The Simplex Algorithm and Goal Programming

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form

9.1 Linear Programs in canonical form

MAT 111 Final Exam Fall 2013 Name: If solving graphically, sketch a graph and label the solution.

Unit 3 and 4 Further Mathematics: Exam 2

MS-E2140. Lecture 1. (course book chapters )

Farkas Lemma, Dual Simplex and Sensitivity Analysis

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

Week 3: Simplex Method I

Special cases of linear programming

Math Models of OR: Sensitivity Analysis

MATH 445/545 Homework 1: Due February 11th, 2016

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

February 17, Simplex Method Continued

Transcription:

MA 162: Finite Mathematics - Section 3.3/4.1 Fall 2014 Ray Kremer University of Kentucky October 6, 2014 Announcements: Homework 3.3 due Tuesday at 6pm. Homework 4.1 due Friday at 6pm. Exam scores were emailed on Friday.

Solving LP Problems (Tan, Section 3.3, #36) A financier plans to invest up to $500, 000 in two projects. Project A yields a return of 10% on the investment, whereas Project B yields a return of 15% on the investment. Because the investment in Project B is riskier than the investment in Project A, the financier has decided that the investment in Project B should not exceed 40% of the total investment. How much should she invest in each project to maximize the return on her investment? What is the maximum return?

4.1 - Standard Linear Programming Problems A standard maximization problem is one in which The objective function is to be maximized. All of the variables involved in the problem are non-negative. All other linear constraints may be written so that the expression involving the variables is less than or equal to a non-negative constant.

4.1 - Slack Variables A part of the Simplex Algorithm that we will discuss today is the introduction of slack variables. A slack variable is used to change an inequality into an equality. Suppose x + y 50 with x 0 and y 0. We can replace this inequality with the equality x + y + z = 50 with x 0, y 0, and z 0. z is called a slack variable. Slack variables usually represent the amount of a resource leftover.

National Business Machines Corporation manufactures two models of portable printers: A and B. Each model A costs $100 to make, and each model B costs $150. The profits are $30 for each model A and $40 for each model B portable printer. If the total number of portable printers demanded each month does not exceed 2500 and the company has earmarked no more than $600, 000/month for manufacturing costs, find how many units of each model National should make each month to maximize its monthly profit. What is the largest monthly profit?

Let x be the number of units of model A produced. Let y be the number of units of model B produced. Printers made: x + y 2500 Costs: 100x + 150y 600000 Non-negativity: x 0, y 0. Objective: Maximize P = 30x + 40y.

Let u be the number of printers less than 2500 made. Let v be the amount of money not spent from the budget. Printers made: x + y + u = 2500 Costs: 100x + 150y + v = 600000 Non-negativity: x 0, y 0, u 0, v 0. Objective: Maximize P = 30x + 40y.

Put these equations into the following augmented matrix: 1 1 1 0 0 2500 100 150 0 1 0 600000-30 -40 0 0 1 0 The bottom row is the objective function rewritten as: 30x 40y + P = 0. Right now x and y are called non-basic variables and u, v, and P are called basic variables.

The corner points of the feasible region correspond to letting the non-basic variables be equal to 0. Right now, we would let x = 0 and y = 0 which tells us that u = 2500, v = 600000 and P = 0. This means that if we make zero units of model A and zero units of model B then there are 2500 printers not made, 600000 unused money from the budget, and 0 profit.

Next we want to switch which variables are basic and non-basic in a way that increases profit. How to choose which columns to switch: Look for the largest negative number in the bottom row of your augmented matrix (if all entries are positive then you are done). 1 1 1 0 0 2500 100 150 0 1 0 600000-30 -40 0 0 1 0 In this case we will use column 2 because this causes a larger increase in profit.

How do we choose which row to pivot about? Look at the each row with a positive entry in the chosen column. For each row, divide the right-hand side entry by the entry in the chosen column. The row with the smallest ratio is the row to choose. 1 1 1 0 0 2500 100 150 0 1 0 600000-30 -40 0 0 1 0 In this problem, we have 2500/1 = 2500 and 600000/150 = 4000. We choose to pivot in the first row because this is the smaller ratio.

Pivot about the entry in Row 1, Column 2. 1 1 1 0 0 2500 100 150 0 1 0 600000-30 -40 0 0 1 0 1 1 1 0 0 2500-50 0-150 1 0 225000 10 0 40 0 1 100000 R 2 R 2 150R 1 R 3 R 3 +40R 1 Now we have x and u as the non-basic variables so we have x = 0, y = 2500, u = 0, v = 225000, and P = 100000. Since we have no negative numbers left in the bottom row, we are done. This means the solution we got above is optimal. In plain English, this means the maximum profit occurs when National makes 2500 model B printers and 0 model A printers. This results in a profit of $100000 and $225000 unspent from the budget.

The Simplex Algorithm 1 Setup the initial simplex tableau. 2 Determine whether the optimal solution has been reached by examining all entries in the last row to the left of the vertical line. If all the entries are non-negative, the optimal solution has been reached. Proceed to Step 4. If there are one or more negative entries, the optimal solution has not been reached. Proceed to Step 3. 3 Perform the pivot operation. Locate the pivot element and convert that column to a unit column. Return to Step 2. 4 Determine the optimal solution(s). Non-basic variables get set to zero and the other variables can be read off the final table.