



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































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
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]
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
Subject to
1 2
1 2
Slack variables
1 2 4
1 2 3
Initial simplex tableau:
1 2 3 4
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
1 2 3 4