Docsity

Linear Programming: Optimizing Resource Allocation, Slides of Operational Research

Partial preview of the text

Download Linear Programming: Optimizing Resource Allocation and more Slides Operational Research in PDF only on Docsity!

LINEAR PROGRAMMING

INTRODUCTION

MEANING OF LINEAR PROGRAMMING

Linear programming is a mathematical technique for

determining the optimal allocation of scarce resources among

many competing uses of the scarce resources to achieve a

particular objective.

The objective includes profit maximization or cost

minimization.

Requirements of linear programming

Assumptions of linear programming

a) Proportionality

b) Additivity

c) Divisibility

d) Certainty

e) Staticity

SOLUTIONS FOR LINEAR

PROGRAMMING MODELS

Procedure

a) Define (abstract) the decision variables.

b) Formulate the LP model mathematically i.e.

construct the i) objective function ii) constraint

functions and iii) the non negativity conditions.

c) Solve the LP model for the optimum solution

There are two main methods of solving LP models:

 Graphical method

 Simplex method

GRAPHICAL METHOD

 Write the objective function and all necessary

constraints.

 Graph the feasible region.

 Determine the coordinates of each of the corner

points.

 Find the value of the objective function at each

corner point.

 Select the solution given by the corner point

producing the optimum value of the objective

function.

SOLUTION

 Graph

SOLUTION

 Corner points: A: (0, 12) B: (0, 0) C: (10, 0) D:

(10, 6) E: (6, 10)

 Corresponding Z: ZA = 240 ZB = 0 ZC = 60

ZD =180 ZE = 236

 Optimal point A = (0, 12)

Therefore, x  0 , y  12 and Z  240

SOLUTION

 Graph

EXERCISE 1

  1. A company produces two products A and B which go through two processes

namely sorting and packaging. It allocates 18 days and 13 days per month for sorting

and packaging respectively. Product A requires 3 days of sorting and 2 days of

packaging. Product B requires 4 days and 3 days of sorting and packaging

respectively. Product A and B generates a profit of Kshs 5 and Kshs 7 per unit

respectively.

 State the decision variables for the linear program

 Formulate a linear program model using the above information.

 Solve the linear program model to determine the number of units of each product

that the company should produce to maximize their profit.

ASSIGNMENT 3 [DUE DATE

14/11/22]

3. A furniture manufacturing company plans to

make two products, chairs and tables from its

available resources which consists of 400 board feet of

mahogany timber and 450 man-hours of labour. A

chair requires 5 board feet and 10 man-hours and

yields a profit of £45, while each table uses 20 board

feet and 15 man-hours and has a profit of £80.

(i) Formulate the problem as linear

programming model

(ii) Find the number of chairs and tables that

the company should make to maximize their

profit.

SIMPLEX METHOD

Basic Concepts

 Standard form – a linear program in which all of the

constraints are written as equalities.

 Slack variable – a variable added to the left hand side

of less than or equal to constraint to convert the

constraint into an equality. Interpretation: the amount

of unused resources.

 Surplus variable – a variable subtracted from the left

hand side of a greater than or equal to constraint to

convert the constraint into equality. Interpretation: the

amount over and above the required minimum level.

 Iteration – sequence of steps performed in moving from

one basic feasible solution to another.

SOLVING MAXIMIZATION

PROBLEMS

Standard Maximum Form

 A linear programming problem is in standard

form if:

 The objective function is to be maximized

 All variables are non-negative (x i

= 0)

 All constraints involve

 The constants in the constraints are all non-

negative

PROCEDURE

 Determine the objective function

 Write all the necessary constraints

 Convert each constraint into an equation by

adding slack variables and equate the objective

function to zero

 Set up the initial simplex tableau

 Locate the most negative indicator. Choose either

if there are two.

EXAMPLE 1

Maximize

1 2

Z  9 X  10 X

Subject to

1 2

1 2

X X
X X

Slack variables

1 2 4

1 2 3

X X X
X X X

Initial simplex tableau:

1 2 3 4

X X X X

SOLUTION

Most negative indicator is - 10, pivot column is X 2

. 8/2 = 4. 16/2 = 8. 8 is least quotient.

Pivot row is 1

st

row, pivot element = 2.

1 2 3 4

R
X X X X

1 2 3 4

R R
R R
X X X X