Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 15 Constrained Optimization. The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear.

Similar presentations


Presentation on theme: "Chapter 15 Constrained Optimization. The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear."— Presentation transcript:

1 Chapter 15 Constrained Optimization

2 The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear function Objective: Maximize Z = c 1 x 1 + c 2 x 2 + c 3 x 3 + ………+ c n x n subject to the following constraints: where a ij, b i, and c j are given constants.

3 In more efficient notation: The decision variables, x I, x 2,..., x n, represent levels of n competing activities. The Linear Programming Model

4 EXAMPLE: Gas Processing Problem (Chemical/Petroleum Engineering Problem) Company receives a fixed amount of raw gas each week. Processes it to produce two grades of heating gas, regular and premium quality. Each yields different profits, and involves different time and on-site storage constraints. Objective: maximize profit without violating the material, time, and storage constraints Solve using: 1.Graphical Method 2.Simplex Method 3.Excel solver (Simplex LP)

5 Graphical Solution

6

7 Aside from a single optimal solution; there are three other possible outcomes: (a)Alternative optima (b)no feasible solution (c)an unbounded result

8  When decision variables are more than 2, it is always advisable to use Simplex Method to avoid lengthy graphical procedure.  It does not examine all the feasible solutions. Only the extreme points  It deals only with a small and unique set of feasible solutions, the set of vertex points (i.e., extreme points) of the convex feasible space that contains the optimal solution. The Simplex Method

9 Steps involved: 1.Locate an extreme point of the feasible region. 2.Examine each boundary edge intersecting at this point to see whether movement along any edge increases the value of the objective function. 3.If the value of the objective function increases along any edge, move along this edge to the adjacent extreme point. If several edges indicate improvement, the edge providing the greatest rate of increase is selected. 4.Repeat steps 2 and 3 until movement along any edge no longer increases the value of the objective function. The Simplex Method

10 **Here

11 Try point A (x1=0, x2=0) first. Then pick a leaving variable and an entering variable which will make Z bigger. In this example, x2 should be chosen to enter but to make it simple we will choose x1 to enter. S2 will become a nonbasic variable (the leaving variable). This will take us to point B.

12 Gas Processing Problem *Write down the equations on the Excel Sheet. *Demonstrate how to use the solver in Excel Excel Solution

13

14

15


Download ppt "Chapter 15 Constrained Optimization. The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear."

Similar presentations


Ads by Google