Docsity

what is linear programing?, Study notes of Quantitative Techniques

Partial preview of the text

Download what is linear programing? and more Study notes Quantitative Techniques in PDF only on Docsity!

BCN

Linear Programming Linear Programming

BCN

Module Outline Module Outline

 Introduction

 The Linear Programming Model

 Examples of Linear Programming Problems

 Developing Linear Programming Models

 Graphical Solution to LP Problems

 The Simplex Method

 Simplex Tableau for Maximization Problem

 Marginal Values of Additional Resources

 Sensitivity Analysis

 Complications in Applying the Simplex Method

 Duality

BCN

The Linear Programming Model (1) The Linear Programming Model (1)

Let: X 1 , X 2 , X 3 , ………, Xn = decision variables

Z = Objective function or linear function

Requirement: Maximization of the linear function Z.

Z = c 1 X 1 + c 2 X 2 + c 3 X 3 + ………+ cnXn …..Eq (1)

subject to the following constraints:

…..Eq (2)

where aij, bi, and cj are given constants.

BCN

The Linear Programming Model (2) The Linear Programming Model (2)

 The linear programming model can be written in more

efficient notation as:

…..Eq (3)

The decision variables, xI, x 2 , ..., xn , represent levels of n competing

activities.

BCN

Examples of LP Problems (2) Examples of LP Problems (2)

2. A Blending Problem

 Blending problems refer to situations in which a number of

components (or commodities) are mixed together to yield

one or more products.

 Typically, different commodities are to be purchased. Each

commodity has known characteristics and costs.

 The problem is to determine how much of each commodity

should be purchased and blended with the rest so that the

characteristics of the mixture lie within specified bounds

and the total cost is minimized.

BCN

Examples of LP Problems (3) Examples of LP Problems (3)

3. A Production Scheduling Problem

 A manufacturer knows that he must supply a given number

of items of a certain product each month for the next n

months.

 They can be produced either in regular time, subject to a

maximum each month, or in overtime. The cost of

producing an item during overtime is greater than during

regular time. A storage cost is associated with each item not

sold at the end of the month.

 The problem is to determine the production schedule that

minimizes the sum of production and storage costs.

BCN

Examples of LP Problems (5) Examples of LP Problems (5)

5. A Flow Capacity Problem

 One or more commodities (e.g., traffic, water, information,

cash, etc.) are flowing from one point to another through a

network whose branches have various constraints and flow

capacities.

 The direction of flow in each branch and the capacity of

each branch are known.

 The problem is to determine the maximum flow, or capacity

of the network.

BCN

Developing LP Model (1) Developing LP Model (1)

 The variety of situations to which linear programming has

been applied ranges from agriculture to zinc smelting.

 Steps Involved:

 Determine the objective of the problem and describe it by a

criterion function in terms of the decision variables.

 Find out the constraints.

 Do the analysis which should lead to the selection of values

for the decision variables that optimize the criterion function

while satisfying all the constraints imposed on the problem.

BCN

Developing LP Model (3) Developing LP Model (3)

Example Problem

All products manufactured are shipped out of the storage area at the end of the day. Therefore, the two products must share the total raw material, storage space, and production time. The company wants to determine how many units of each product to produce per day to maximize its total income.

Solution

  • (^) The company has decided that it wants to maximize its sale income, which depends on the number of units of product I and II that it produces.
  • Therefore, the decision variables, x 1 and x 2 can be the number of units of products I and II, respectively, produced per day.

BCN

Developing LP Model (4) Developing LP Model (4)

  • (^) The object is to maximize the equation: Z = 13x 1 + 11x 2 subject to the constraints on storage space, raw materials, and production time.
  • (^) Each unit of product I requires 4 ft^2 of storage space and each unit of product II requires 5 ft 2 . Thus a total of 4x 1 + 5x 2 ft 2 of storage space is needed each day. This space must be less than or equal to the available storage space, which is 1500 ft 2 . Therefore, 4X 1 + 5X 2  1500
  • (^) Similarly, each unit of product I and II produced requires 5 and 3 1bs, respectively, of raw material. Hence a total of 5xl + 3x 2 Ib of raw material is used.

BCN

Developing LP Model (6) Developing LP Model (6)

  • (^) The linear programming model for this example can be summarized as:

…..Eq (4)

BCN

Graphical Solution to LP Problems (1) Graphical Solution to LP Problems (1)

BCN

  • (^) Trying different solutions, the optimal solution will be: X 1 = 270 X 2 = 75
  • (^) This indicates that maximum income of $4335 is obtained by producing 270 units of product I and 75 units of product II.
  • (^) In this solution, all the raw material and available time are used, because the optimal point lies on the two constraint lines for these resources.
  • (^) However, 1500- [4(270) + 5(75)], or 45 ft^2 of storage space, is not used. Thus the storage space is not a constraint on the optimal solution; that is, more products could be produced before the company ran out of storage space. Thus this constraint is said to be slack.

Graphical Solution to LP Problems (3) Graphical Solution to LP Problems (3)

BCN

  • (^) If the objective function happens to be parallel to one of the

edges of the feasible region, any point along this edge between

the two extreme points may be an optimal solution that

maximizes the objective function. When this occurs, there is no

unique solution, but there is an infinite number of optimal

solutions.

  • (^) The graphical method of solution may be extended to a case in

which there are three variables. In this case, each constraint is

represented by a plane in three dimensions, and the feasible

region bounded by these planes is a polyhedron.

Graphical Solution to LP Problems (4) Graphical Solution to LP Problems (4)