(Modeling of Decision Processes)

Slides:



Advertisements
Similar presentations
February 14, 2002 Putting Linear Programs into standard form
Advertisements

Chapter 5: Linear Programming: The Simplex Method
Standard Minimization Problems with the Dual
EMGT 501 HW #1 Solutions Chapter 2 - SELF TEST 18
SIMPLEX METHOD FOR LP LP Model.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Operation Research Chapter 3 Simplex Method.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
Chapter 4 The Simplex Method
LINEAR PROGRAMMING SIMPLEX METHOD.
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
Chapter 6 Linear Programming: The Simplex Method
Simplex method (algebraic interpretation)
Chapter 6 Linear Programming: The Simplex Method Section 2 The Simplex Method: Maximization with Problem Constraints of the Form ≤
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A set of equations is called a system of equations. The solution.
Do Now (3x + y) – (2x + y) 4(2x + 3y) – (8x – y)
Introduction to Operations Research
Business Mathematics MTH-367 Lecture 16. Chapter 11 The Simplex and Computer Solutions Methods continued.
Slide Copyright © 2009 Pearson Education, Inc. 7.2 Solving Systems of Equations by the Substitution and Addition Methods.
Slide Copyright © 2009 Pearson Education, Inc. 7.4 Solving Systems of Equations by Using Matrices.
1 SYSTEM OF LINEAR EQUATIONS BASE OF VECTOR SPACE.
WARM-UP. SYSTEMS OF EQUATIONS: ELIMINATION 1)Rewrite each equation in standard form, eliminating fraction coefficients. 2)If necessary, multiply one.
Dr.G.Suresh University Linear Programming Saturday, February 03, 2018Saturday, February 03, 2018 Dr.G.Suresh University.
Linear Programming for Solving the DSS Problems
Linear Programming.
Chapter 2 An Introduction to Linear Programming
Linear Programming Topics General optimization model
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 7, 2011.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Linear programming Simplex method.
The Two-Phase Simplex Method
Linear Programming Topics General optimization model
Linear Inequalities and Absolute Value
Chapter 4 Linear Programming: The Simplex Method
Linear Programming Topics General optimization model
The Simplex Method.
ISS500E-Quantitiative Decision Tehniques
Linear Programming Topics General optimization model
Chapter 3 The Simplex Method and Sensitivity Analysis
Linear Programming SIMPLEX METHOD.
Chapter 7 Transportation, Assignment & Transshipment Problems
Linear Programming.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
(modeling of decision processes)
Linear programming Simplex method.
Chapter 5 Transportation, Assignment, and Transshipment Problems
Solving Systems of Equations by the Substitution and Addition Methods
Operations Research Models
Solving Absolute-Value Equations
Learning Objective Students will be able to: Solve equations in one variable that contain absolute-value expressions.
Chapter-III Duality in LPP
Chapter 2. Simplex method
Simplex method (algebraic interpretation)
DUALITY THEORY Reference: Chapter 6 in Bazaraa, Jarvis and Sherali.
Matrices and Linear Equations
Presentation transcript:

(Modeling of Decision Processes) Linear programming (Modeling of Decision Processes)

Linear programming Widely used Mathematical optimization algorithm Model consist of: Objective function System of constrains (linear functions)

General formulation of the model

Terms Optimized variables xj – values whose optimal level is necessary to find solution for decision situation (for example amount of production, transported goods …) Technical coefficients aij – parameters of the model (for example material and energetical needs for production the product)

Terms bi – can be capacity constrains (max production volume, resource constrains, etc.) The variables cj in objective function may be price of the products, variable costs etc.

Equation system constrains ≤ … for existing constrains as in available resources = … for balance of material connections and situations when there is stated ration of the products ≥ …for formulations of the trade needs

General expression of the model max z = cx Ax ≤ b x ≥ 0 Where b … column vector right sides of the constrains A … rectangular matrix (m, n) of technical coefficients c … row vector of variable coefficients in objective function x … column vector of optimized variables

Model formulation Raw material product Available amount A B C S1 0,9 0,3 0,5 75,6 S2 1 0,4 88,2 Price Kč/t 12 600 19 600 15 700 How much of each product should we produce to maximize our utility?

Model formulation Objective function max z = 12 600 x1 + 19 600 x2 + 15 700 x3 Raw material constrains for S1 0,9x1 + 0,3x2 + 0,5x3 ≤ 75,6 for S2 x2 + 0,4x3 ≤ 88,2 min amount of product B <- additional constrain (not in table) x2 ≥ 30

Model formulation It is neccessary to manufacture the products A and B in certain ratio <- additional constrain (not in table) x1 – 0,8x2 = 0 The solution must be greater then 0 <- general constrain, is present in all “linear programs” x1, x2, x3 ≥ 0 Most of the time the ≥ constrain is present in computational package and does not to be expressed explicitly

Using matrixes

Simplex method It is necessary to transform into standard state in witch we transform the non equations on the equations ≤ … we add to left side of new variable known as aditional variable xn+1

Additional variables if the value is not 0 it can be interpreted as amount of the resource bi, which will remain unused. The goal of the computation is to minimize (null) the values of the additional variables Simplex method performs computation in iteration How many variables are we able to compute in the system of linear equations? … Asking because we usually work with more variables then that Minimizing and nulling additional variables is the way to open possibility to compute real variables

Nonequality ≥ We have to add another variable –xn+i

Positives System of equations Any of additional variable is inside of just one equation – so it can be substituted by other variables Easy to compute (even pen and paper computation possible, but who would do such thing?)

Solution Non negative solutions which respect constrains are call basic solution. Each iteration has basic solution Each iteration improves the result of objective function In this case we will get some of xn+i negative witch is unacceptable We solve the problem by adding another variable x’n+i+1 Slides after this one only conclude pen and paper computation

Solution Similarly we add to right sides from original model into

Additional variables Stating of additional variable are very high M, minus if we maximaze and positive if we minimalize The task looks in following way

Additional and helping variables Are easy to express using different variables

First solution We get first solution in standard form when we put xj = 0 for j = 1,2,…,a xn+i = 0 for i = k+p+1,k+p+2,…,k+p+s Max no. Of non-zero variable in basic solution is given by number of constrains m = k + l + s

First solution Values will equal xn+i = bi x’n+i = bi x’n+i+1= bi Chosen m variables will be described as basic, other n-m variables as non-basic

Example max z = 12 600x1 + 19600x2 + 15700x3 + +0x4 + 0x5 – Mx’6 + 0x7 – Mx’8 0,9x1 + 0,3x2 + 0,5x3 + x4 = 75,6 x2 + 0,4x3 + x5 = 88,2 x1 – 0,8x2 +x’6 = 0 x2 – x7 + x’8 = 30 x1,x2,x3,x4,x5,x’6,x7,x8 ≥ 0

First basic solution x4=75,6 x5 = 88,2 x’6 = 0 x’8 = 30 x1,x2,x3,x7 = 0

Using vector model

We divide the elements of model into parts connected to vector of basic variables xB and vector of non-basic variables xR. Similarly vector c we divide into cB and cR And matrix A into B and R

Generally Change of equation system BxB+RxR = b /*B-1 xB + B-1RxR = B-1b xB = B-1b – B-1RxR If we put nonbasic variable equal to 0, xR=0, we get the expression for finding the Solution of linear programming xB = B-1b With value of objective function z = cBxB = cBB-1b

Solution

Solution To get basic solution we only need to find inverse matrix to matrix B And multiply it by vector b