Mba 641 Chapter Two
Mba 641 Chapter Two
Mba 641 Chapter Two
ADMINISTRATION
OPERATIONS RESEARCH
(MBA641)
CHAPTER 2 - LINEAR MATHEMATICAL PROGRAMMING
1
LINEAR MATHEMATICAL PROGRAMMING
2.Linear Programming Models
Unit Objectives:
Recognize problems that can be solved using LP
models.
Formulate a LP model in mathematical terms.
Solve Linear Programming Problems (LPP) using
both graphic and simplex approach.
Explain special cases in both graphic and simplex
techniques.
Formulate the dual of a problem, read and
interpret the solution to a dual problem, and relate
the dual solution to the prime solution
Perform sensitivity analysis 2
LINEAR PROGRAMMING
Developed by Denting in 1940 for determining solutions to
problems that involved the optimal allocation of scarce
resources.
LP: is a mathematical process that has been developed to
help management in decision making involving the efficient
allocation of scarce resources to achieve a certain objective.
LP: is a mathematical technique designed to aid managers
in allocating scarce resources (such as labor, capital, or
energy) among competing activities
The term linear implies that all the mathematical
relations used in the problem are linear or straight-line
relations, while the term programming refers to the
method of determining a particular program or plan of 3
action.
LINEAR MATHEMATICAL PROGRAMMING
Linear programming: refers to a family of mathematical
techniques for choosing the best alternative from a set of
feasible alternative, in situations in which the objective
function as well as the constraints can be expressed as
linear mathematical function.
LP: is a branch of mathematical programming which is
designed to solve optimization problems where all the
constraints as well as the objectives are expressed as linear
function.
The linear programming technique can be said to have a
linear objective function that is to be optimized (either
maximized or minimized) subject to linear equality or
inequality constraints and sign restrictions on the variables
4
LINEAR PROGRAMMING
LINEAR PROGRAMMING MODELS
Linear programming models are mathematical
representations of LP problems. Linear programming models
have certain characteristics in common.
COMPONENTS OF LP MODELS
Objective function,
Decision variables,
Constraints and
Parameters.
ASSUMPTIONS OF LP MODELS
• Linearity (proportionality)
• Divisibility (Continuity)
• Certainty
• Additivity
• Non-negativity 5
LINEAR MATHEMATICAL PROGRAMMING
6
LINEAR MATHEMATICAL PROGRAMMING
3) Constraints:
The decision variables in an LP problem is subject to
certain restrictions or limits coming from a variety of
sources. The restrictions may reflect
Availabilities of resources (e.g., raw materials, labor time,
etc.),
Legal or contractual requirements (e.g., product
standards, work standards,),
Technological requirements (e.g., necessary compressive
strength or stretchable strength) or they may reflect other
limits based on forecasts, customer orders, company
policies, and so on.
7
LINEAR MATHEMATICAL PROGRAMMING
In LP model, the restrictions are referred to as constraints. Only
solutions that satisfy all constraints in a model are acceptable and
are referred to as feasible solutions.
The optimal solution will be the one that provides the best value
for the objective function.
Generally speaking, a constraint has four elements:
A right hand side (RHS) quantity that specifies the limit for
that constraint. It must be a constant, not a variable.
An algebraic sign that indicates whether the limit is an upper
bound that cannot be exceeded, a lower bound that is the
lowest acceptable amount, or an equality that must be met
exactly.
The decision variables to which the constraint applies.
The impact that one unit of each decision variable will have8
on the right-hand side quantity of the constraint.
LINEAR MATHEMATICAL PROGRAMMING
Constraints can be arranged into three groups:
System constraints – involve more than one decision
variable,
Individual constraints – involve only one variable, and
Non-negativity constraints – specify that no variable will be
allowed to take on a negative value. The non-negativity
constraints typically apply in an LP model, whether they are
explicitly stated or not.
4) Parameters
The objective function and the constraints consist of symbols
that represent the decision variables (e.g., X1, X2, etc.) and
numerical values called parameters.
The parameters are fixed values that specify the impact that one
unit of each decision variable will have on the objective and on
any constraint it pertains to as well as the numerical value of 9
each constraint
LINEAR MATHEMATICAL PROGRAMMING
ASSUMPTIONS OF LP MODELS
Linearity (proportionality)
The linearity requirement is that each decision variable has a
linear impact on the objective function and in each constraint
in which it appears.
Divisibility (Continuity)
The divisibility requirement pertains to potential values of
decision variables. It is assumed that non-integer values are
acceptable.
Certainty
This requirement involves two aspects of LP models. One
aspect relates to the model parameters, i.e., the numerical
values. It is assumed that these values are known and constant.
The other aspect is the assumption that all relevant constraints
have been identified and represented in the model. 10
LINEAR MATHEMATICAL PROGRAMMING
Additivity
The value of the objective function and the total
amount of each resource used (or supplied), must be
equal to the sum of the respective individual
contributions (profit or cost) by decision variables.
Non-negativity
It assumes that negative values of variables are
unrealistic and, therefore, will not be considered in
any potential solutions. Only positive values and zero
will be allowed and the non-negativity assumption is
inherent in LP models.
11
LINEAR MATHEMATICAL PROGRAMMING
FORMULATING LP MODELS
Linear programming algorithms (solution techniques) are widely
used and understood and computer packages are readily available
for solving LP problems.
Steps in formulating LP models:
1. Problem definition:
involves the determination of the specific objective of the linear
programming problem. It is necessary to decide the problem is
maximization or minimization.
2. Identify the decision variables:
involves the representation of unknown quantity by the letter
3. Formulate the objective function:
All the decision variable are represented in the objective function
All terms in the objective function must be inclusive with variables
The unit of measurement of all coefficients in the objective function
must be the same. 12
LINEAR MATHEMATICAL PROGRAMMING
4. Identify and formulate the constraint:
Find a mathematical expression that represents any limited
resources or constraints of unknowns.
Determine appropriate values for the parameters, and determine
whether an upper limit, lower limit, or equality is called for.
Include any additional constraints on the unknowns that are not
explicitly stated in the problem but are implicitly from the
context of the problem.
Indicate the non-negativity constraints.
5. Building and validating the model
Potential sources of information include historical records,
interviews with managers and staff, and data collection.
Validating the model will involve a critical review of the output,
perhaps under a variety of inputs, in order to decide if the
results are reasonable. 13
LINEAR MATHEMATICAL PROGRAMMING
Example2:
The agriculture research institute suggested to a
farmer to spread out at least 4800kg of a special
phosphate fertilizer and not less than 7200kg of a
special nitrogen fertilizer to raise productivity of
crops in his field. There are two sources for obtaining
these- mixtures A and B. both of these are available
in bags weighing 100kg each and they cost birr 40
and birr 24 respectively. Mixture A contains
phosphate and nitrogen equivalent of 20kg and 80kg
respectively, while mixture B contains these
ingredients equivalent of 50kg each. Formulate LPM
18
LINEAR MATHEMATICAL PROGRAMMING
Solution
Step1: Problem definition
The farmer wants to attain the requirement suggested by
agriculture institute at minimum cost. Therefore, the objective is
cost minimization
Step2. Identify decision variables
Based on the statement, the farmer would like to determine the
quantity of mixture A and B to be purchase. The decision
variable are the quantity of mixture A and B. thus,
X1 = quantity of mixture A to purchase.
X2 = quantity of mixture B to purchase.
Step3. Determine Objective Function
The cost per unit of mixture A is 40, and mixture B is 24. so
the appropriate objective function is:
Minimize cost= 40X1 + 24X2
This is because, each unit of X1 costs 40 and X2 Costs 24 to
19
objective function
LINEAR MATHEMATICAL PROGRAMMING
Step 4. Identify and formulate the constraints
Here we have two constraints: structural and non-negativity
constraints. There are two structural constraint of minimum
requirements suggested by the agriculture institute: Phosphate and
Nitrogen requirement .
20X1 + 50X2 ≥ 4800 -------- Phosphate requirement
80X1 + 50X2 ≥ 7200 -------- Nitrogen requirement
Step 5. Building and validating the model
X1, X2 ≥ 0 -------------------- non-negativity
Min C= 40X1 + 24X2
Subject to:
20X1 + 50X2 ≥ 4800
80X1 + 50X2 ≥ 7200
X1, X2 ≥ 0 20
LINEAR MATHEMATICAL PROGRAMMING
2.1.3 Solving LP Model
An optimal, as well as feasible solution to an LP problem is
obtained by choosing from several values of decision variables
x1,x2…xn , the one set of values that satisfy the given set of
constraints simultaneously and also provide the optimal
(maximum or minimum) values of the given objective function.
Graphical approach/methods
Graphical linear programming is a relatively straightforward
for determining the optimal solution to certain linear
programming problems involving only two decision variables.
Graphical method has the following advantages:
It is simple
It is easy to understand, and
21
It saves time.
Example: Solve the following LPM using graphic approach
Max Z= 60X1 + 50X2
Subject to
AT: 4X1 + 10X2 ≤ 100
IT : 2X1 + X2 ≤ 22
SS: 3X1 + 3X2 ≤ 39
NN: X1, X2 ≥ 0
Graphical solution method involves the following steps.
Steps in graphic solution
1. Plot each of the constraint on the graph
1st plotting the non-negativity of constraints, the area feasibility for
these two constraint has been shaded in order to plot the remaining
constraint;
Convert the inequalities in to an equality
Set x1 = 0, and find the value for x2
Set x2 = 0, and find the value for x1
plot the line to the graph 22
Step 2. Identify the feasible region:
The feasible region is the solution space that satisfies all
the constraints simultaneously. It is the intersection of
the entire region represented by all constraints of the
problem. We shade in the feasible region depending on
the inequality sign.
If the inequality sign is less than or equal to, it represents
the region of the plane below the plotted line. If the
inequality sign is greater than or equal to, it represents
the region of the plane above the plotted line
Step 3. Locate the optimal solution:
The feasible region contains an infinite number of points
that would satisfy all the constraints of the problem.
Point that will make the objective function optimum will
be our optimal solution. This point is always found
among the corner points of the solution space.
23
Once the constraints are plotted and feasible region is determined,
we use either of the two graphic methods of Graphic approach to
find a solution for LP model consisting of only two decision
variables: i) The extreme point enumeration method ii) The
objective (Iso-profit or cost) function line approach
24
1)The extreme point approach
It states that for problems that have a single optimal solution, a
solution will occur at one of the extreme, or corner point. If it has
multiple optimal solutions, at least one will occur at the corner
point.
Steps to be followed
Graph the possible problem
Identify the feasible area
Determine the value of decision variables at each corner point in the
feasible solution space. Some times this can be done by inspection
(observation), usually it is done using simultaneous equation.
Substitute the values of the decision variable at each corner point in
the objective function to obtain its value at each corner point.
Select the one with the highest value of the objective function for
maximization problem or the lowest value for minimization problem
at the optimal solution.
25
Interpretation:
For a firm to maximize its profit (740), it should produce 9 units
of the Model I microcomputer and 4 units of model II.
what are the values of decision variables at each corner point?
(Hint: Solve simultaneously those lines which intersected each
other). Can you mention some of the characteristics of the LP
26
graphs consisting of sign? ≤
Example 2: given the LPM:
Min C = 20X1 + 30X2
Subject to:
6X1 + X2 ≥ 12
7X1 + 7X2 ≥ 49
3X1 + 11X2 ≥ 33
X1, X2 ≥ 0
A. Find the optimal values of the decision variables and minimum
cost using both the objective function approach and the extreme
point approach.
B. Determine the amount of surplus associated with each constraint.
Note: surplus is the amount by which the optimal solution causes a
greater than or equal to constraint to exceed the required minimum
amount. It is the amount by which the left-hand side of a constraint
exceeds the right hand side.
27
Graphical approach/methods
Exercise: solve graphically the following LPM
Minimize C= 3X1 + 5X2
Subject to :
-3X1 + 4X2 ≤ 12
2X1 + 3X2 ≥ 12 Minimize = 40X + 24X ----------Total cost
1 2
X1, X2 ≥ 0 X, X ≥0
1 2
33
SLACK VERSUS SURPLUS
Slack
It is the amount of a scarce resource that is unused by a given
solution. Slack can potentially exist in a ≤ constraint. Slack
variables are considered in the objective function by using a
coefficient of zero for each of them. When all the constraints
are written as equalities after adding a slack variable to each of
them, the linear program is said to be in standard form.
Surplus
IT is the amount by which the optimal solution causes a
constraint to exceed the required minimum amount. It can be
determined in the same way that slack can, i.e., substitute the
optimal values of the decision variables into the left side of the
constraint and solve. The difference between the resulting value
and the original right hand side amount is the amount of
surplus. Surplus should also be accounted for in the objective34
function by using coefficients of zero like wise.
Solve the following LPM using simplex method
1. Max Z= 60X1 + 50 X2
Subject to
AT: 4X1 + 10X2 ≤ 100
IT : 2X1 + X2 ≤ 22
SS: 3X1 + 3X2 ≤ 39
NN: X1, X2 ≥ 0
2. Max Z = 40X1 + 35X2------- Profit
Subject to:
2X1 + 3X2 ≤ 60-------Row material constraint
4X1 + 3X2 ≤ 96-------Labor hours constraint
X1, X2 ≥ 0
35
2. The simplex method
. Max Z= 60X + 50 X +0S +0S +0S
1 2 1 2 3
Subject to
AT: 4X1 + 10X2 +S1 =100
IT : 2X1 + X2 +S2 =22
Initial table SS: 3X1 + 3X2 +S3 =39
NN: all variable ≥ 0
Basic V Cj 60 50 0 0 0 Quantity
X1 X2 S1 S2 S3
S1 0 100
4 10 1 0 0
S2 0 22
36
39
S 0
2. The simplex method
Second table
Basic V Cj 60 50 0 0 0 Quantity
X1 X2 S1 S2 S3
S1 0 56
0 8 1 -2 0
11
X1 60
6
S3 0 1 1/2 0 1/2 0 37
2. The simplex method
Third table
Basic V Cj 60 50 0 0 0 Quantity
X1 X2 S1 S2 S3
S1 0 24
0 0 1 6 -16/3
X1 60 9
1 0 0 1 -1/3
4
X2 50 0 1 0 -1 2/3
Zi 740
60 50 0 10 40/3
Cj-Zi
0 0 0 -10 -40/3 38