Solving linear programming

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

1 GIAPETTO S WOODCARVING PROBLEM

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

Linear Programming with Bounds

Linear Programming: Basic Concepts. Chapter 2: Hillier and Hillier

Using Linear Programming for Management Decisions

Concept: Solving Inequalities Name:

Optimization in One Variable Using Solver

Introduction to Linear Programming. Algorithmic and Geometric Foundations of Optimization

Concept: Solving Inequalities Name:

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

Introduction to Linear Programming. Chapter 3: Hillier and Lieberman Chapter 3: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

Chapter 13-1 Notes Page 1

Giapetto s Woodcarving Problem

LP Graphic Solution & Solver for LP

Prepared By. Handaru Jati, Ph.D. Universitas Negeri Yogyakarta.

Chapter 4. Linear Programming

NOTATION AND TERMINOLOGY

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

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Lesson 08 Linear Programming

Chapter 7. Linear Programming Models: Graphical and Computer Methods

Excel Tips and FAQs - MS 2010

Full file at Linear Programming Models: Graphical and Computer Methods

c) How many students took none of the three subjects?

Group Administrator. ebills csv file formatting by class level. User Guide

Please consider the environment before printing this tutorial. Printing is usually a waste.

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

Linear Programming. ICM Unit 3 Day 1 Part 1

Linear Programming Applications. Software for Linear Programming

Mathematics LBS 4. Spreadsheet Mathematics: Statistics and Graphing. Finding the Mean, Median, & Mode

Linear Programming Problems: Geometric Solutions

A Survey of Software Packages for Teaching Linear and Integer Programming

WEEK NO. 12 MICROSOFT EXCEL 2007

Econ 172A - Slides from Lecture 9

September 10- September 15

Formatting Spreadsheets in Microsoft Excel

Graphing Linear Inequalities in Two Variables.

Excel 2010 Statistics

Alg2H Chapter 4 Review Sheet Date Wk #11. Let

Setup and graphical solution of Linear Programming Problems [2-variables] Mathematical Programming Characteristics

How To: Querying a Database in Excel

Applications of Linear Programming

Introduction to Linear Programming

Safari ODBC on Microsoft 2010

Linear Programming: A Geometric Approach

Chapter 4 Linear Programming

Application of Cutting Stock Problem in Minimizing The Waste of Al-Quran Cover

TMA946/MAN280 APPLIED OPTIMIZATION. Exam instructions

Notes for Lecture 18

Business Data Analysis MA0123. Dr Gavin Shaddick Department of Mathematical Sciences 4W 5.7

Documenting Models in Word

ORS Employee Contact Information (ECI) Build MR.299

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

1. List the Intercepts of the Inequality and then sketch the graph using the Math 125 method of shading

Functions in Excel. Structure of a function: Basic Mathematical Functions. Arithmetic operators: Comparison Operators:

EuroSymphony Solver. The Simplex Algorithm

Mathematics. Linear Programming

Convex Optimization CMU-10725

Section Graphing Systems of Linear Inequalities

Export Desktop Motion Analyzer profiles to Motion Analyzer Online: SolidWorks Motion Study Move Profile

x Boundary Intercepts Test (0,0) Conclusion 2x+3y=12 (0,4), (6,0) 0>12 False 2x-y=2 (0,-2), (1,0) 0<2 True

Linear Programming the simple Wyndor Glass example

CS483 Analysis of Algorithms Lecture 09 Linear Programming 01

A Real Life Application of Linear Programming

LINEAR PROGRAMMING. Chapter Overview

Service Line Export and Pivot Table Report (Windows Excel 2010)

Quantitative Technique

An Introduction to Management Science, 12e. Instructions for Using Excel 2007

4.1 The original problem and the optimal tableau

Review for Mastery Using Graphs and Tables to Solve Linear Systems

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

CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH. Unit : I - V

Using the Graphical Method to Solve Linear Programs J. Reeb and S. Leavengood

Getting Started Graphs of Functions Chapter 1

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

Locating Specific Files on the Technology Resource DVD

EXCEL 2003 DISCLAIMER:

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

How to Import Part Numbers to Proman

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

LINEAR PROGRAMMING (LP), GRAPHICAL PRESENTATION GASPAR ASAMPANA

Sect Linear Inequalities in Two Variables

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014

Chapter 2: Linear Programming - Maximization

Uploading Journal Entries from Excel

Intermediate Excel Training Course Content

MAFSI BUSINESS BAROMETER REPORTING TOOL HOW-TO GUIDE

Slide 1 / 96. Linear Relations and Functions

Question 2: How do you solve a linear programming problem with a graph?

Allowing access to Outlook 2000 folders Version 1.00

INTERNATIONAL HEALTH INSURANCE

University of North Dakota PeopleSoft Finance Tip Sheets. Utilizing the Query Download Feature

Practice Exam III - Answers

Graphical Methods in Linear Programming

Quadratic Equations Group Acitivity 3 Business Project Week #5

AMY OH S MEETING ON EXPORTING CUSTOM REPORTS, PIVOT TABLES & MORE (Created by Olga Killeen)

Write all responses on separate paper. Show your work for credit. Write in complete sentences.

1. In your teams, give at least one combination of boomerangs that would meet Phil and Cathy s requirements. How much money would they make?

MA30SA Applied Math Unit D - Linear Programming Revd:

Transcription:

Solving linear programming (From Last week s Introduction) Consider a manufacturer of tables and chairs. They want to maximize profits. They sell tables for a profit of $30 per table and a profit of $10 per chair. Let x= number of tables and y = the number of chairs. Then the profit equations is: There are 5 employees working 40 hours a week for a total of 200 total hours of labor. A table requires 10 hours of labor. Chairs require 2 hour of labor. Then we have the condition on making tables and chairs that the total time spent must be less than 200 hours and the following equation must be true. A second condition is that there are two employees that stain the tables and chairs. Thus, there is at most 80 hours to stain the tables and chairs. It takes 1 hour to stain a chair and 3 hours to stain a table. Thus there is a second conditional equation We also have the conditions that the number of tables and chairs created must be greater or equal to zero. Giving us two more conditions: With this information we can set up a mathematical process to solve called linear programming. The way this equation would be stated is to Maximize the profit equation Subject to the four constraint equations These four conditions stated above are called constraint equations. Today our goal will be to examine the area where all constraints are valid. This area is called the feasible region, as it represents the area where only possible answers occur.

Graph the four constraint equations. Since the constraint equations and imply that the answer must be in the first quadrant. We have already shaded this region. Please graph and correctly shade the other two constraint equations The region you have shaded is called the feasible region as only points in the shaded region have values that meet all constraints. Thus, these points are the only valid points for checking for determining maximum profits. Solving the Linear Programming Problem Using EXCEL to solve the Linear Programming problem (SIMPLEX Method). SIMPLEX method is the most common method for solving a linear system. This is the method used by solve in EXCEL. In practice EXCEL uses Matrices to solve these problems.

Let s solve our existing problem: Maximize profit Subject to the constraints These four conditions stated above are called constraint equations. Open an EXCEL Spread sheet Labels in A3, we have labeled x= In A4, we have labeled y= The values for x will actually be in B3 and for y will be in B4. They are currently left blank which defaults to zero. Profit is what we wish to maximize is in A6 and in B6 we typed the equation =30*B3 + 10*B4. Constraints is the label in A8. In B8, we have placed the just the equation side of the constraint =10*B3+2*B4 In B9, we have placed the second constraint, =3*B3+B4 We will show how to create an inequality in the next step. We will also see that we do not need to enter the last two constraints Once this is entered, click on the Data tab and click on solver

In the Solver Window, the first step is to change the pull down window to read Simplex LP At this time, also make sure the Make all unconstrained variables Non-Negative We can now enter the equations Begin by entering the cell you wish to maximize $B$6 in set objective. Click on Max And enter the cells you will allow to change separated by commas. $B$3,$B$4 Next step (below) we can enter constraints Start this process by clicking on Add

When you have clicked on Add a new window appears to add a constraint. Enter the cell of the first constraint Pick <= And enter 200 When this is done, click ok and the constraint will be added. Repeat For the second constraint The solver parameters will now have the constraints entered. Remember the constraints that x and y have to both be greater than equal to zero are covered by clicking the non-negative box. Click solve

You will now have a new window open stating a solution has been found and asking if you wish to keep the solution. Click OK You have a solution that you can maximize profit at $800.00 when the number of tables created is 10 and the number of chairs created is 50. Challenge problem. For this challenge problem we are going to produce four items In cell A1 enter the label Item 1 and B1 will represent the number of item 1 s created In cell A2 enter the label Item 2 and B2 will represent the number of item 2 s created In cell A3 enter the label Item 3 and B3 will represent the number of item 3 s created In cell A4 enter the label Item 4 and B4 will represent the number of item 4 s created The profit equation that will be maximized is

The constraints are that B1, B2, B3, B4 >= 0 and will be entered by checking the Non-Negative Box. Also subjet to. Note: These equations are all less than Note: These four equations are all greater than The answer is? The number of item 1 = The number of item 2 = The number of item 3 = The number of item 4 = The maximum profit is