Professional Documents
Culture Documents
6th Sem Maths Unit4
6th Sem Maths Unit4
6th Sem Maths Unit4
LINEAR PROGRAMMING
Definition:
According to Danzig, “Linear programming (LP) is defined as a programming of inter-
depended activities in a linear structure.”
Explanation of Definition:
The term linear means that the relationship involved among two or more variables in a
particular problem are linear that the variables change proportionately i.e. of the form given
below:-
Where z, 𝒙𝟏, 𝒙𝟐, … … . 𝒙𝒏 are the variables of power one (degree one) and the other symbols
like 𝑐1, 𝑐2, … 𝑐𝑛, 𝑎11, 𝑎12 … , 𝑎1𝑛, 𝑎21, 𝑎22 … 𝑎2𝑛, … 𝑎𝑚1, 𝑎𝑚2, … . 𝑎𝑚𝑛 are constants.
The term ‘programming’ means planning and it refers to a particular plan of action from
amongst several alternatives for maximizing profit or minimizing cost etc. i.e. the problems
deal with determining optimal allocation of limited resources to meet the given objective,
such as resources to meet the given objectives, such as least cost, maximum profit, highest
margin or least time, when resources have alteranative uses.
Thus we can define linear programming as a mathematical model designed to optimize a
linear function of several variables which is subjected to certain constraints which are linear
equalities or inequalities and the variables used are non-negative as they represent output.
OBJECTIVE FUNCTION If 𝑐1, 𝑐2,… . 𝑐𝑛 are constants and 𝑥1,𝑥2, 𝑥𝑛 are variables, then
the linear function Z=𝑐1𝑥1 + 𝑐2𝑥2 + ⋯ + 𝑐𝑛𝑥𝑛 , which is to be maximized or minimized
(optimized) is called the objective function.
Inequations in the form of greater than (or less than) equal to indicate that the total use of the
resources must be more than (or less than) or equal to (i.e. at least or at most) the specified
amount whereas equations in the constraints indicate that the resources described are to be
fully used.
As the number of unit sold, purchased, produced, invested or controlled can not be negative,
non-negative (≥ 𝑂"𝑡𝑦𝑝𝑒)restrictions are modeled.
Types of Linear Programming Problem (LPP)
The procedures of determining the desired results under the above two types are described
below:-
(i) Steps to get solution in case of General or Primal LPP
(a) Formulation of the given problem
1. FORMULATION OF LPP
Under this step, the given data relating to a problem will be arranged first under the following
three types of equation functions:
(1.1) objective function
(1.2) Constraints function
After a LPP has been properly formulated, the next is to attempt on its solution to determine
the values of the different decision variables, 𝑥1, 𝑥2, … . . 𝑥𝑛 etc.
Solution of the LPP may be of three types, e.g.
(2.1) Feasible Solution A solution which satisfies the constraints and non negativity
conditions of a general LPP is called a feasible solution.
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
3
(2.2) Non-feasible (infeasible) solution A solution of a LPP is an infeasible solution, if
the system of constraints has no point which satisfies all the constraints and non-negativity
restrictions.
(2.3) Optimal solution A feasible solution which optimizes (minimizes or maximizes) the
objective function of a LPP is called an optimum solution.
2. SIMPLEX METHOD
The simplex method is an iterative procedure by which we can obtain an optimum feasible
solution, once any basic feasible solution has been determined in a finite number of steps.
USE OF ARTIFICIAL VARIABLES
We have seen that in the computational procedure of the simplex method, it is most convenient to
have the slack variables as the starting (initial) basic variables.
Thus, If the original constraints is an equation (“=”) or is of greater than equal to type (" ≥ ") , we
may no longer have a ready starting basic feasible solution.
In order to obtain an initial basic feasible solution 𝐼𝑚 = 𝐵, 𝑚 ≤ 𝑛), we first put the given L.P.P into
its standard form and then a non-negative variable is added to the left side of each of equation that
lacks the much needed starting basic variables.
The so added variable is called on “artificial variable” and plays the same role as a slack variable in
providing the initial basic feasible solution. Since such artificial variables have no physical meaning
from the stand point of original problem, the method will be valid only if we are able to force. Thus,
variables to be out or at zero level when the optimum solution is attained.
In other words to get back to the original problem, artificial variable must be driven to zero in the
final solution, otherwise the resulting solution, may be infeasible.
Methods : Two method are generally employed for the solution of linear programming problems
having artificial variables:-
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
4
Some Definitions
Slack Variables :
Slack variable represents an unused quaintly of resources; it is added to less than or equal
( ≤ ) to type constraints in order to get an equality constraint.
Surplus Variables :
Surplus variable represents an unused quaintly of resources; it is subtracted from more than
or equal ( ≥ ) to type constraints in order to get an equality constraint.
Artificial Variables –
In simplex method if the original constraint is an equation (" = ") or is of type (" ≥ ") we
may no longer have a ready starting basic feasible solution. In order to obtain an initial basic
feasible solution, we first put the LPP into standard form and then a non negative of equation
that lacks the much needed starting basic feasible solution. The so added variables is called
artificial variable. The cost of the artificial in Big-M method is given as (-M) and in two
phase method is given as (-1)
𝐴𝐵𝑋 = 𝑏.
2) Help to choose the Best Solution: Management problems are varied and complex.
Therefore, it creates difficulty in planning and getting a feasible solution. Linear
programming helps the manager to select, the best from among various alternatives.
6) Optimal use of the Input: Linear programming makes optimal use of the factors of
production such as labour, capital etc. by indicating the best use of existing facilities.
The inputs are used in a way so as to maximize output.
DISADVANTAGES OF LPP
Despite the above advantages, LP suffers from the following limitations:
1) The linear programming model can be used in the situations where the objective
function and the constraints can be expressed in linear form. But actually such
relationship may not exist in some business and industrial problems.
2) The parameter appearing in the objective and constraint are assumed to be constant
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
6
and known. But in real life situation neither they are known with certainty nor they
remain constant.
3) The answers provided by linear programming are not always integers. Sometimes it
gives fractional valued answer. If these fractions are rounded up to the nearest integer
it may not yield optimal solution.
5) This method does not take into account the effect of time and uncertainty.
6) In real life situation the number of variables are so large and complex that the
problem can’t be solved even by a super computer.
APPLICATIONS OF L.PP
Linear programming technique has been widely used in the field of management, industry
and other area which are briefed as under:
(A) Managerial Application
1) Optimization: The manager now-a-days are confronted with resource limitation. So
they try either to maximise profit / output or to maintain cost / loss within the
available resources such as manpower, capacity, cash etc. LP is widely used technique
to deal with the optimization problem.
3) Selection of Media Mix: Usually the advertisement budget is limited and a firm has
to take up advertisement in various medias such as newspaper, magazine, TV, radio,
etc. In this connection LPP helps in allocating total advertisement expenditure in
different Medias and the number of insertion in each media in order to maximize the
total exposure of the principal buyers.
4) Staffing: Many big organizations operate on shift basis. So they have to allocate
appropriate manpower (which is limited) to each shift so that cost can be minimized
and work will flow smoothly. In this respect LPP helps us to calculate the optimal
manpower to be required.
INDUSTRIAL APPLICATION
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
7
1) Product Mix: In order to cater to the market demand a firm produces different
products with different unit cost and unit profit. Since capacity of machines and
availability of raw material and labour hours are limited, the firm has to decide how
much to produce from each category to meet the market demand. LPP provides an
answer to this problem.
4) Trim Loss Problem: In industries like paper, glass, tin etc. a big size sheet is to be
cut into different sizes as per the requirement of the customers. When a big size sheet
is cut into different pieces some cut pieces (wastage) may result. LPP, here help to
reduce such loss i.e. to keep the trim loss to the minimum.
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
8
Predecessor Activity: An activity which must be completed before the start of one more activity
Tail Event: The staring of an activity is called a tail event ( Ei )(Starting Event)
Head Event: The ending of an activity is called a head event ( Ej )(Completion Event)
CRITICAL PATH ANALYSIS (CPM)
The objective of critical path analysis is to estimate the total project duration and to assign starting
and finishing times to all the activities involved in the project.
For this special computations are carried out to produce the following information.
Critical activity: An activity in a network diagram is said to be critical , if the delay in its start will
further delay the project completion time.
Non-critical activity: It allows some scheduling slack, so that the start time of the activity may be
advanced or delayed with in limits without affecting the completion date of the entire project.
The critical path calculations are done in the following two ways:
Forward Pass Calculations- We start from the initial node 1(event 1) with starting time of the
project as zero. Proceed through the network visiting nodes in an increasing order of node number and
end at the final node of the network. At each node we calculate earliest start and finish times for each
activity by considering Ei as the earliest occurrence of node i.
Backward Pass Calculations- We start from the final node n(event n) with ending time of the project
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
9
as Ln = En. Proceed through the network visiting nodes in an decreasing order of node number and
end at the initial node 1 of the network . At each node we calculate latest occurrence finish and start
times for each activity by considering Lj as the latest occurrence of node j.
Condition of Critical activity:
(i) Ei = Li and Ej = Lj
(ii) Ej – Ei = Lj – Li = tij
An activity that does not satisfy the above condition is termed as non-critical activity.
Critical Path: The critical activities of a network that constitute an uninterrupted path which spans
the entire network from start to finish is known as critical path.
Float(or Slack) of an Activity : The float of an activity is the amount of time by which it is possible
to delay its completion time without affecting the total project completion time.
Algorithm of Critical Path Method(CPM):
It is an important technique of project scheduling . Under CPM , the activity time is deterministic, i.e.,
there is only one time estimate of each activity.This method involves the following steps in
determining the critical path.
Step-2: Number all the events by numericals and all the activities by alphabets in order.
Step-6: Calculate the total project duration( Sum of the durations of critical activities)
Programme Evaluation and Review Technique(PERT)
It is another important and widely used technique of project scheduling . PERT is probabilistic
method where the activity time is assumed to be uncertain and unknown. Therefore the probability of
activity completion is estimated.
𝑡𝑜 +4𝑡𝑚+𝑡𝑝
Expected Time (Te) =
6
𝑡𝑝−𝑡𝑜 2
Variance(𝜎2) =[ ]
6
Where,
𝑡𝑚= Most likely time estimate: It refers to the estimate of the normal
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
10
time the activity would take.
X= Scheduled time
𝜎 = Standard Deviation= Square root of the sum of variances associated with critical path
Algorithm of PERT
Step-3: Compute the earliest occurrence and latest occurrence time of each activity
Step-4: Identify the critical activities and determine the critical path
Step-5: Find Expected project duration, 𝑋̅by adding the expected time of the critical path
activities
Step-6: Find Standard Dviation , 𝜎 𝑎𝑠 𝑡ℎ𝑒 Square root of the sum of variances associated
with critical path
̅
Step-7: Calculate the standard Normal variate Z= 𝑋−𝑋, where X is the scheduled time
𝜎
Step-8: Using the Area Table of Normal Distribution curve ,we can estimate the probability
of completing wih in scheduled time X.(i.e., on or before a specified time)
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar
11
©Sudhanshu Sekhar Sahoo, Assistant Professor, DAV School of Business Management, Bhubaneswar