Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.

Slides:



Advertisements
Similar presentations
Linear Programming Vocabulary Linear Programming Objective Function Constraints.
Advertisements

© 2003 Anita Lee-Post Linear Programming Part 2 By Anita Lee-Post.
Lesson 08 Linear Programming
Linear Programming Problem
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Chapter 5 Linear Inequalities and Linear Programming
5.2 Linear Programming in two dimensions: a geometric approach In this section, we will explore applications which utilize the graph of a system of linear.
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Learning Objectives for Section 5.3
Chapter 5 Linear Inequalities and Linear Programming Section 3 Linear Programming in Two Dimensions: A Geometric Approach.
Lesson 7.6, page 767 Linear Programming
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 8 Systems of Equations and Inequalities.
1 Lecture 11 Resource Allocation Part1 (involving Continuous Variables- Linear Programming) 1.040/1.401/ESD.018 Project Management Samuel Labi and Fred.
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
D1: Linear Programming.
Objectives: Set up a Linear Programming Problem Solve a Linear Programming Problem.
Linear Programming Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Linear programming is a strategy for finding the.
4.3.1 – Systems of Inequalities. Recall, we solved systems of equations What defined a system? How did you find the solutions to the system?
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Linear Programming Models: Graphical and Computer Methods
Determine if the given ordered pair is a solution of
Thinking Mathematically Algebra: Graphs, Functions and Linear Systems 7.3 Systems of Linear Equations In Two Variables.
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
Linear Programming Chapter 13 Supplement.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Linear Programming Joseph Mark November 3, What is Linear Programming Linear Programming – a management science technique that helps a business.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
P I can solve linear programing problem. Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
Linear Programming. What is Linear Programming? Say you own a 500 square acre farm. On this farm you can grow wheat, barley, corn or some combination.
Graphing Linear Inequalities in Two Variables Chapter 4 – Section 1.
 A concert promoter wants to book a rock group for a stadium concert. A ticket for admission to the stadium playing field will cost $125, and a ticket.
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
Systems of Inequalities in Two Variables Sec. 7.5a.
Linear Programming: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
Systems Analysis Methods
3 Characteristics of an Optimization Problem General descriptionKPiller Illustration Decisions that must be made; represented by decision variables How.
Monday WARM-UP: TrueFalseStatementCorrected Statement F 1. Constraints are conditions written as a system of equations Constraints are conditions written.
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
Class Opener: Solve each equation for Y: 1.3x + y = y = 2x 3.x + 2y = 5 4. x – y = x + 3y = x – 5y = -3.
Warm-up Solve each system of equations:
Thinking Mathematically Algebra: Graphs, Functions and Linear Systems 7.5 Linear Programming.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
December 4, 2015 Hanging with Harvard 4 L INEAR P ROGRAMMING.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Warm-upWarm-up Sketch the region bounded by the system of inequalities: 1) 2) Sketch the region bounded by the system of inequalities: 1) 2)
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
3-5: Linear Programming. Learning Target I can solve linear programing problem.
Sullivan Algebra and Trigonometry: Section 12.9 Objectives of this Section Set Up a Linear Programming Problem Solve a Linear Programming Problem.
Linear Programming: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
Decision Support Systems
Digital Lesson Linear Programming.
Do Now The cost of renting a pool at an aquatic center is either $30 an hr. or $20 an hr. with a $40 non refundable deposit. Use algebra to find for how.
Chapter 5 Linear Inequalities and Linear Programming
Digital Lesson Linear Programming.
Linear Programming Dr. T. T. Kachwala.
ALGEBRA II HONORS/GIFTED SECTION 3-4 : LINEAR PROGRAMMING
3.2 Linear Programming 3 Credits AS
Linear Programming.
Linear Programming Objectives: Set up a Linear Programming Problem
8.4 Linear Programming p
Systems of Inequalities and Linear Programming
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
LINEARPROGRAMMING 4/26/2019 9:23 AM 4/26/2019 9:23 AM 1.
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Section Linear Programming
Presentation transcript:

Linear programming Lecture (4) and lecture (5)

Recall An optimization problem is a decision problem in which we are choosing among several decisions. To arrive at the solution, first we need identify among the available decisions those that feasible, and then choose the best one among the feasible alternatives.

Recall To construct a mathematical model of an optimization problem, we need to quantify the following concepts; –Decisions need to be expressed as numerical quantity, i.e., décisions variables; a particular value of a variable corresponds to a particular decision, or a component of a decision; every decision can be represented by assigning certain values to the variables. Restrictions on the possible decisions need to be expressed as constraints, i.e., algebraic equations and inequalities.

Recall Fidelity in the constraints : any assignment of values to the variables that satisfies all the constrains corresponds to a decision that is feasible, and vice versa — every feasible decision is represented by values of the decision variables that satisfy all the constraints. To compare feasible decisions, need to express our “quality” criterion as an objective function of the variables. We are searching for a decision with the objective function value either as large, or as small, as possible, depending on the context.

Recall To construct a mathematical model of an optimization problem, we need to quantify the following concepts. Decision variables Constraints Objective function, minimize or maximize A feasible solution - assignment of values to the variables satisfying all the constraints An optimal solution, or a solution - the best feasible solution, as measured by the objective function

Linear programming If the objective function is a linear function and all constraints are written as linear equations or inequalities Such optimization problems are called Linear Problems, or Linear Programs (LPs)

Why focus on LPs? –Flexible modeling tool to represent a lot of performance measures and restrictions on decisions –Easy to understand –“Easy” to solve, that is, there are software packages, a.k.a. solvers, that solve very large LPs in default setting, and some humongous LPs with some intelligent tweaking, fast –Can be analyzed

Example of LP

Feasible solutions By definition, a feasible solution is set of all points (x, y) that satisfies all the above constraints. For example, (1.5, 2.25) is feasible. So are (1/3, 4/3) and (1, 1.75). (0.75, 0.75) is infeasible: violates the fifth constraint. The LP can be solved graphically as follows.

Prototype example : The Acme Bicycle Company The Acme Bicycle Company produces two kinds of bicycles: mountain bikes and street racers. Acme wishes to detremine the rate at which each type of bicycle should be produced in order to maximize the profits on the sales of the bicycles. Acme assumes that it can sell all of the bicycles produced. The physical data on the production process is available from the company engineer. A different team produces each kind of bicycle and each team has a different maximum production rate : 2 mountain bikes per day and 3 racers per day, respectively. Producing a bicycle of either type requires the same amount of time on the metal finishing machine and this machine can process at most a total of 4 bicycles per day of either type. The company accountant estimates that mountain bikes are currently generating a profit of around 15 $ per bicycle, and racers a profit of around 10 $ per bicycle

Prototype example : The Acme Bicycle Company The Acme Bicycle Company produces two kinds of bicycles: mountain bikes and street racers. Acme wishes to detremine the rate at which each type of bicycle should be produced in order to maximize the profits on the sales of the bicycles. Acme assumes that it can sell all of the bicycles produced. The physical data on the production process is available from the company engineer. A different team produces each kind of bicycle and each team has a different maximum production rate : 2 mountain bikes per day and 3 racers per day, respectively. Producing a bicycle of either type requires the same amount of time on the metal finishing machine and this machine can process at most a total of 4 bicycles per day of either type. The company accountant estimates that mountain bikes are currently generating a profit of around 15 $ per bicycle, and racers a profit of around 10 $ per bicycle

The Acme problem maximize Z = 15*x1+10*x2 objective function Mountain bike production limit: x1 ≤ 2 Racer production limit: x2 ≤ 3 Metal finishing limit x1+x2 ≤ 4 Bounded values x1 ≥ 0, x2 ≥ 0 Because there are only two variables the problem can be sketched on the plane as follows. The area eliminated by the constrains are shaded. The un-shaded area called the feasible region. Points in the feasible region satisfy all of the constrains.

Example (1) Find the maximal and minimal value of z = 3x + 4y subject to the following constraints: X+2y ≤ 14 3x-y ≥ 0 X-y ≤ 2 The three inequalities above are the constraints. The area of the plane that they mark off will be the feasibility region. The formula "z = 3x + 4y" is the objective function. we need to find the (x, y) corner points of the feasibility region that return the largest and smallest values of z.

Solution The first step is to solve each inequality for the more-easily graphed equivalent forms:

To find the corner points -- which aren't always clear from the graph -- I'll pair the lines (thus forming a system of linear equations) and solve.system of linear equations So the corner points are (2, 6), (6, 4), and (–1, –3). the maximum and minimum values of the optimization equation will always be on the corners of the feasibility region. So, to find the solution to this exercise, we only need to plug these three points into "z = 3x + 4y".

(2, 6): z = 3(2) + 4(6) = = 30 (6, 4): z = 3(6) + 4(4) = = 34 (–1, –3): z = 3(–1) + 4(–3) = –3 – 12 = –15 Then the maximum of z = 34 occurs at (6, 4), and the minimum of z = –15 occurs at (–1, –3).

Solution using excel

The minimum The maximum

Assignment(1)

Assignment (2)