Presentation is loading. Please wait.

Presentation is loading. Please wait.

Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University.

Similar presentations


Presentation on theme: "Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University."— Presentation transcript:

1 Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University

2 Linear Programming  The Problem An optimization model is a linear program if it has continuous variables, a single objective function, and all constraints are linear equalities or inequalities History Linear programming was conceptually developed before World War II by the outstanding Russian mathematician A.N. Kolmogorov.

3 Who and When Major contributors: Kantorovich Stigler1945 Dantzig1947 Karmarkar1984 Gonzaga1992 Wright1996 Terlaky 1995 Todd1991

4 Standard Formulation  Mathematical Formulation minimize cx subject to Ax = b x >= 0

5 Standard Formulation where x is the vector of variables to be solved for, A is a matrix of known coefficients, and c and b are vectors of known coefficients. The expression "cx" is called the objective function, and the equations "Ax=b" are called the constraints.

6 Standard Formulation Usually A has more columns than rows, and Ax=b is therefore quite likely to be under-determined, leaving great latitude in the choice of x with which to minimize cx. The word "Programming" is used here in the sense of "planning"; the necessary relationship to computer programming was incidental to the choice of name. Hence the phrase "LP program" to refer to a piece of software is not a redundancy, although I tend to use the term "code" instead of "program" to avoid the possible ambiguity.

7 Applications  Applications Linear and integer programming have proved valuable for modeling many and diverse types of problems in planning, routing, scheduling, assignment, and design. Industries that make use of LP and its extensions include transportation, energy, telecommunications, and manufacturing of many kinds.

8 Applications  Specific Applications 1. Development of a production schedule that will satisfy future demands for a firm’s production and at the same time minimize total production and inventory costs 2. Selection of the product mix in a factory to make best use of machine-hours and labor-hours available while maximizing the firm’s products

9 Application - Contd 3. Determination of grades of petroleum products to yield the maximum profit 4. Selection of different blends of raw materials to feed mills to produce finished feed combinations at minimum cost 5. Determination of a distribution system that will minimize total shipping cost from several warehouses to various market locations

10 Computational Method  Simplex Methods Simplex methods, introduced by Dantzig about 50 years ago, visit "basic" solutions computed by fixing enough of the variables at their bounds to reduce the constraints Ax = b to a square system, which can be solved for unique values of the remaining variables. Basic solutions represent extreme boundary points of the feasible region defined by Ax = b, x >= 0, and the simplex method can be viewed as moving from one such point to another along the edges of the boundary.Dantzig

11 Computational Method  Interior Point Methods Barrier or interior-point methods, by contrast, visit points within the interior of the feasible region. These methods derive from techniques for nonlinear programming that were developed and popularized in the 1960s by Fiacco and McCormick, but their application to linear programming dates back only to Karmarkar's innovative analysis in 1984.

12 Interior Point Method Step 1: Choose any feasible interior point solution, and set solution index t=0. Step 2: If any component of is 0, or if recent steps have made no significant change in the solution value, stop. Current point is either optimal or very nearly so. Step 3: Construct the next move direction

13 Interior Point Method -contd Where,

14 Interior Point Method - contd Step 4: If there is no limit on feasible moves in the direction (all components are nonnegative), stop ; the given model is unbounded. Otherwise, construct the step size

15 Interior Point Method - contd Step 4: compute the new solution Then let and return to Step 2.

16 A Simple Example The Marriott Tub Company manufactures two lines of bathtubs, called Model A and model B. Every tub requires a certain amount of steel and zinc; the company has available a total of 25,000 pounds of steel and 6,000 pounds of zinc. Each model A bathtub requires a total of 125 pounds of steel and 20 pounds of zinc, and each yields a profit of $90. Each model B bathtub can be sold for a profit of $70; it in turn requires 100 pounds of steel and 30 pounds of zinc. Find the best production mix of the bathtubs.

17 The Formulation  Maximize Subject to Where x and y are the numbers of model A and model B bathtubs that the company will make, respectively.

18 Solving by Interior Point Method x1x2x3x4Obj Initial 100 2500100016000 1st 129.486.4178.8818.817698 2nd 152.858.73.3118417861 3 rd 15753.65.7125017882 4 th 18913.608.3181017962 5 th 199.60.46.5199517992 6 th 199.70.30.1199417994 7 th 199.90.1 199917998 8 th 20000200018000

19 Solving by Excel  http://www.selu.edu/Academics/Faculty/kli /linearprog.xls http://www.selu.edu/Academics/Faculty/kli /linearprog.xls


Download ppt "Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University."

Similar presentations


Ads by Google