01-LINEAR PROGRAMMING (THEORY)

STUDY  INNOVATIONS
STUDY INNOVATIONSEducator en Study Innovations

‘Linear Programming’ is a scientific tool to handle optimization problems. Here, we shall learn about some basic concepts of linear programming problems in two variables, their applications, advantages, limitations, formulation and graphical method of solution. 6.1 Linear Inequations . (1) Graph of linear inequations (i) Linear inequation in one variable : etc. are called linear inequations in one variable. Graph of these inequations can be drawn as follows : The graph of and are obtained by dividing xy-plane in two semi-planes by the line (which is parallel to y-axis). Similarly for and . (ii) Linear Inequation in two variables : General form of these inequations are . If any ordered pair satisfies some inequations, then it is said to be a solution of the inequations. The graph of these inequations is given below (for c > 0) : Working rule To draw the graph of an inequation, following procedure is followed : (i) Write the equation in place of and . (ii) Make a table for the solutions of . (iii) Now draw a line with the help of these points. This is the graph of the line . (iv) If the inequation is > or <, then the points lying on this line is not considered and line is drawn dotted or discontinuous. (v) If the ineuqation is > or <, then the points lying on the line is considered and line is drawn bold or continuous. (vi) This line divides the plane XOY in two region. To Find the region that satisfies the inequation, we apply the following rules: (a) Take an arbitrary point which will be in either region. (b) If it satisfies the given inequation, then the required region will be the region in which the arbitrary point is located. (c) If it does not satisfy the inequation, then the other region is the required region. (d) Draw the lines in the required region or make it shaded. (2) Simultaneous linear inequations in two variables : Since the solution set of a system of simultaneous linear inequations is the set of all points in two dimensional space which satisfy all the inequations simultaneously. Therefore to find the solution set we find the region of the plane common to all the portions comprising the solution set of given inequations. In case there is no region common to all the solutions of the given inequations, we say that the solution set is void or empty. (3) Feasible region : The limited (bounded) region of the graph made by two inequations is called feasible region. All the points in feasible region constitute the solution of a system of inequations. The feasible solution of a L.P.P. belongs to only first quadrant. If feasible region is empty then there is no solution for the problem. Example: 1 Inequations and (a) Have solution for positive x and y (b) Have no solution for positive x and y (c) Have solution for all x (d) Have solution for all y Solution : (a) Following figure will be obtained on drawing the graphs of given inequations : From From Clearly the comm

174 Linear Programming
‘Linear Programming’ is a scientific tool to handle optimization problems. Here, we shall learn about some
basic concepts of linear programming problems in two variables, their applications, advantages, limitations,
formulation and graphical method of solution.
6.1 Linear Inequations .
(1) Graph of linear inequations
(i) Linear inequation in one variable : 0
,
0
,
0 




 d
cy
b
ax
b
ax etc. are called linear inequations in
one variable. Graph of these inequations can be drawn as follows :
The graph of 0

 b
ax and 0

 b
ax are obtained by dividing xy-plane in two semi-planes by the line
a
b
x 
 (which is parallel to y-axis). Similarly for 0

 d
cy and 0

 d
cy .
(ii) Linear Inequation in two variables : General form of these inequations are c
by
ax
c
by
ax 


 , . If
any ordered pair  
1
1 ,y
x satisfies some inequations, then it is said to be a solution of the inequations.
The graph of these inequations is given below (for c > 0) :
Working rule
To draw the graph of an inequation, following procedure is followed :
(i) Write the equation c
by
ax 
 in place of c
by
ax 
 and c
by
ax 
 .
a
b
x 

ax+b>0
Y
Y
X X
ax+b<0
O
Y
Y
X X
c
d
y 

cy+d>0
cy+d<0
Y
Y
X X
ax+by<c
ax+by=c
ax+by>c
O
174
Linear Programming 175
(ii) Make a table for the solutions of c
by
ax 
 .
(iii) Now draw a line with the help of these points. This is the graph of the line c
by
ax 
 .
(iv) If the inequation is > or <, then the points lying on this line is not considered and line is drawn dotted or
discontinuous.
(v) If the ineuqation is > or <, then the points lying on the line is considered and line is drawn bold or
continuous.
(vi) This line divides the plane XOY in two region.
To Find the region that satisfies the inequation, we apply the following rules:
(a) Take an arbitrary point which will be in either region.
(b)Ifitsatisfies thegiven inequation,thentherequiredregion willbethe region inwhichthearbitrarypointis located.
(c) If it does not satisfy the inequation, then the other region is the required region.
(d) Draw the lines in the required region or make it shaded.
(2) Simultaneous linear inequations in two variables : Since the solution set of a system of simultaneous
linear inequations is the set of all points in two dimensional space which satisfy all the inequations simultaneously.
Therefore to find the solution set we find the region of the plane common to all the portions comprising the
solution set of given inequations. In case there is no region common to all the solutions of the given inequations, we
say that the solution set is void or empty.
(3) Feasible region : The limited (bounded) region of the graph made by two inequations is called feasible
region. All the points in feasible region constitute the solution of a system of inequations. The feasible solution of a
L.P.P. belongs to only first quadrant. If feasible region is empty then there is no solution for the problem.
Example: 1 Inequations 3
3 
 y
x and 4
4 
 y
x
(a) Have solution for positive x and y (b) Have no solution for positive x and y
(c) Have solution for all x (d) Have solution for all y
Solution : (a) Following figure will be obtained on drawing the graphs of given inequations :
From 1
3
1
,
3
3 




y
x
y
x
From 1
4
1
,
4
4 




y
x
y
x
Clearly the common region of both the inequations is true for positive value
of (x, y). It is also true for positive values of xand negative values of y.
Example: 2 The constraints [MP PET 1999]
– 1
2
1 

 x
x ; – 9
3 2
1 
 x
x ; 0
, 2 
x
x define
(a) Bounded feasible space (b) Unbounded feasible space
(c) Both bounded and unbounded feasible space (d) None of these
Solution : (b)
It is clear from the graph, the constraints define an unbounded feasible space.
Example: 3 Shaded region is represented by
O (1,0)
(0,–3)
(0,–4)
Y
X
(–9,0)
O
(0,1)
(3,4)
(–1,0)
x1
x2
(0,3)
176 Linear Programming
(a) 0
,
0
,
20
,
80
5
2 




 y
x
y
x
y
x (b) 0
,
0
,
20
,
80
5
2 




 y
x
y
x
y
x
(c) 0
,
0
,
20
,
80
5
2 




 y
x
y
x
y
x (d) 0
,
0
,
20
,
80
5
2 




 y
x
y
x
y
x
Solution: (c) In all the given equations, the origin is present in shaded area. Answer (c) satisfy this condition.
Example: 4 Shaded region is represented by
(a) 3
2
4 
 y
x (b) 3
2
4 

 y
x (c) 3
2
4 
 y
x (d) 3
2
4 

 y
x
Solution: (b) Origin is not present in given shaded area. So 3
2
4 

 y
x satisfy this condition.
6.2 Terms of Linear Programming .
The term programming means planning and refers to a process of determining a particular program.
(1) Objective function : The linear function which is to be optimized (maximized or minimized) is called
objective function of the L.P.P.
(2) Constraints or Restrictions : The conditions of the problem expressed as simultaneous equations or
inequalities are called constraints or restrictions.
(3) Non-negative Constraints : Variables applied in the objective function of a linear programming problem are
always non-negative. The ineqaulities which represent such constraints are called non-negative constraints.
(4) Basic variables : The m variables associated with columns of the m × n non-singular matrix which may
be different from zero, are called basic variables.
(5) Basic solution : A solution in which the vectors associated to m variables are linear and the remaining
)
( m
n  variables are zero, is called a basic solution. A basic solution is called a degenerate basic solution, if at least
one of the basic variables is zero and basic solution is called non-degenerate, if none of the basic variables is zero.
(6) Feasible solution : The set of values of the variables which satisfies the set of constraints of linear
programming problem (L.P.P) is called a feasible solution of the L.P.P.
(7) Optimal solution : A feasible solution for which the objective function is minimum or maximum is called
optimal solution.
(8) Iso-profit line : The line drawn in geometrical area of feasible region of L.P.P. for which the objective
function remains constant at all the points lying on the line, is called iso-profit line.





 
0
,
4
3
B
Shaded
region
A(0,3/2)
4x–2y=–3
y
x
O






3
40
,
3
20
B
Shaded
region
O A(20,0)
x (40,0)
2x+5y=80
x+y=20
y
C(0,16)
(0,20)
Y
X
Linear Programming 177
If the objective function is to be minimized then these lines are called iso-cost lines.
(9) Convex set : In linear programming problems feasible solution is generally a polygon in first quadrant .
This polygon is convex. It means if two points of polygon are connecting by a line, then the line must be inside to
polygon. For example,
Figure (i) and (ii) are convex set while (iii) and (iv) are not convex set
6.3 Mathemiatical formulation of a Linear programming problem .
There are mainly four steps in the mathematical formulation of a linear programming problem, as
mathematical model. We will discuss formulation of those problems which involve only two variables.
(1) Identify the decision variables and assign symbols x and y to them. These decision variables are those
quantities whose values we wish to determine.
(2) Identify the set of constraints and express them as linear equations/inequations in terms of the decision
variables. These constraints are the given conditions.
(3) Identify the objective function and express it as a linear function of decision variables. It might take the
form of maximizing profit or production or minimizing cost.
(4) Add the non-negativity restrictions on the decision variables, as in the physical problems, negative values
of decision variables have no valid interpretation.
6.4 Graphical solution of two variable Linear programming problem .
There are two techniques of solving an L.P.P. by graphical method. These are :
(1) Corner point method, and (2) Iso-profit or Iso-cost method.
(1) Corner point method
Working rule
(i) Formulate mathematically the L.P.P.
(ii) Draw graph for every constraint.
(iii) Find the feasible solution region.
(iv) Find the coordinates of the vertices of feasible solution region.
(v) Calculate the value of objective function at these vertices.
(vi) Optimal value (minimum or maximum) is the required solution.
Note :  If there is no possibility to determine the point at which the suitable solution found, then
the solution of problem is unbounded.
 If feasible region is empty, then there is no solution for the problem.
 Nearer to the origin, the objective function is minimum and that of further from the origin, the
objective function is maximum.
(2) Iso-profit or Iso-cost method : Various steps of the method are as follows :
(i) Find the feasible region of the L.P.P.
(ii) Assign a constant value Z1 to Z and draw the corresponding line of the objective function.
(iii) Assign another value Z2 to Z and draw the corresponding line of the objective function.
(i) (ii) (iv
A
B
(iii
A
B
178 Linear Programming
(iv) If )
(
, 2
1
2
1 Z
Z
Z
Z 
 , then in case of maximization (minimization) move the line P1Q1 corresponding to Z1
to the line P2Q2 corresponding to Z2 parallel to itself as far as possible, until the farthest point within the feasible region
is touched by this line. The coordinates of the point give maximum (minimum) value of the objectivefunction.
Note :  The problem with more equations/inequations can be handled easily by this method.
 In case of unbounded region, it either finds an optimal solution or declares an unbounded solution.
Unbounded solutions are not considered optimal solution. In real world problems, unlimited profit
or loss is not possible.
6.5 To find the Vertices of Simple feasible region without Drawing a Graph .
(1) Bounded region: The region surrounded by the inequalities m
by
ax 
 and n
dy
cx 
 in first
quadrant is called bounded region. It is of the form of triangle or quadrilateral. Change these inequalities into
equation, then by putting 0

x and ,
0

y we get the solution also by solving the equation in which there may be
the vertices of bounded region.
The maximum value of objective function lies at one vertex in limited region.
(2) Unbounded region : The region surrounded by the inequations m
by
ax 
 and n
dy
cx 
 in first
quadrant, is called unbounded region.
Change the inequation in equations and solve for 0

x and 0

y . Thus we get the vertices of feasible region.
The minimum value of objective function lies at one vertex in unbounded region but there is no existence of
maximum value.
6.6 Problems having Infeasible Solutions.
In some of the linear programming problems, constraints are inconsistent i.e. there does not exist any point
which satisfies all the constraints. Such type of linear programming
problems are said to have infeasible solution.
For Example : Maximize y
x
Z 2
5 

subject to the constraints
2

 y
x , 2
3
3 
 y
x , 0
, 
y
x
The above problem is illustrated graphically in the fig.
There is no point satisfying the set of above constraints. Thus, the
problem is having an infeasible solution.
6.7 Some important points about L.P.P..
(1) If the constraints in a linear programming problem are changed, the problem is to be re-evaluated.
(2) The optimal value of the objective function is attained at the point, given by corner points of the feasible
region.
(3) If a L.P.P. admits two optimal solutions, it has an infinite number of optimal solutions.
(4) If there is no possibility to determine the point at which the suitable solution can be found, then the
solution of problem is unbounded.
(5) The maximum value of objective function lies at one vertex in limited region.
Example: 5 A firm makes pants and shirt. A shirt takes 2 hour on machine and 3 hour of man labour while a pant takes 3 hour on
machine and 2 hour of man labour. In a week there are 70 hour of machine and 75 hour of man labour available. If the
firm determines to make x shirts and y pants per week, then for this the linear constraints are
(a) 75
2
3
,
70
3
2
,
0
,
0 




 y
x
y
x
y
x (b) 75
2
3
,
70
3
2
,
0
,
0 




 y
x
y
x
y
x
(c) 75
2
3
,
70
3
2
,
0
,
0 





 y
x
y
x
y
x (d) 75
2
3
,
70
3
2
,
0
,
0 




 y
x
y
x
y
x
Solution: (d)
1 10
2 3 4 5 6 7 8 9
1
2
3
4
5
6
7
8
9
10
Linear Programming 179
Working time on machine Man labour
Shirt (x) 2 hours 3 hours
Pant (y) 3 hours 2 hours
Availability 70 hours 75 hours
Linear constraints are 75
2
3
,
70
3
2 


 y
x
y
x and 0
, 
y
x
Example: 6 The minimum value of the objective function y
x
Z 10
2 
 for linear constraints
5
5
,
0 



 y
x
y
x and 0
, 
y
x is
(a) 10 (b) 15 (c) 12 (d) 8
Solution: (b) Required region is unbounded whose vertex is 





4
5
,
4
5
Hence the minimum value of objective function is 15
4
5
10
4
5
2 



 .
Example: 7 Minimize 
 

n
j
m
i
ij
ijx
c
z
1 1
Subject to : m
i
a
x i
n
j
ij ........,
1
,
1




; 



m
i
j
ij n
j
b
x
1
......,
1
, is a LPP with number of constraints
(a) n
m  (b) n
m  (c) mn (d)
n
m
Solution: (a) (I) Condition, 1
1
13
12
11 .
..........
,
1 a
x
x
x
x
i n 





2
2
23
22
21 .
..........
,
2 a
x
x
x
x
i n 





3
3
33
32
31 ..
..........
,
3 a
x
x
x
x
i n 





...................................
s
constraint
.
..........
, 3
2
1 m
a
x
x
x
x
m
i m
mn
m
m
m 






(II) Condition 1
1
31
21
11 ..........
,
1 b
x
x
x
x
j m 





2
2
32
22
12 .
..........
,
2 b
x
x
x
x
j m 





....................................
n
b
x
x
x
x
n
j n
mn
n
n
n 





 ....
..........
, 3
2
1 constraints
 Total constraints n
m 
 .
Example: 8 Maximize ,
2
3 y
x
z 
 subject to 3
,
6
,
1
,
0
5
,
1 








 x
y
x
y
x
x
y
y
x and 0
, 
y
x
(a) 3

x (b) 3

y (c) 15

z (d) All the above
Solution: (d) The shaded region represents the bounded region (3,3) satisfies, so 3
,
3 
 y
x and 15

z .
Example: 9 Maximum value of y
x 5
4  subject to the constraints 12
3
,
35
2
,
20 




 y
x
y
x
y
x is
(a) 84 (b) 95 (c) 100 (d) 96
Solution: (b) Obviously, max. 95
5
4 
 y
x . It is at (5, 15).
y
–
5x=0
x – y = –1
(5/2, 7/2)
(3,3)
x + y = 6
x=3
(0,1)
(1,0)
x – y=0
x – 5y = –5
O X
Y
(5,15) (18,2)
x – 3y = 12
x + 2y = 35
(12,0)(20,0)
(35,0)
(0,20)






2
1
17
,
0
180 Linear Programming
Example: 10 The maximum value of y
x
Z 3
4 
 subjected to the constraints ,
160
2
3 
 y
x 0
,
,
80
2
,
200
2
5 



 y
x
y
x
y
x is
(a) 320 (b) 300 (c) 230 (d) None of these
Solution: (d) Obviously, it is unbounded. Therefore its maximum value does not exist.
Example: 11 The objective function y
x
Z 3
4 
 can be maximized subjected to the constraints
0
,
;
6
,
5
,
48
6
8
,
24
4
3 





 y
x
y
x
y
x
y
x
(a) Atonlyonepoint (b) Attwopointsonly (c) Ataninfinitenumberofpoints(d)None of these
Solution: (c) Obviously, the optimal solution is found on the line which is parallel to
'isoprofit line'.
Hence it has infinite number of solutions.
Example: 12 The maximum value of y
x
µ 4
3 
 subjected to the conditions
0
,
;
60
2
,
40 



 y
x
y
x
y
x is [MP PET 2002,04 ]
(a) 130 (b) 120 (c) 40 (d) 140
Solution: (d) Obviously Max )
20
,
20
(
at
4
3 y
x
µ 

140
80
60 


µ .
6.8 Advantages and Limitations of L.P.P..
(1) Advantages : Linear programming is used to minimize the cost of production for maximum output. In
short, with the help of linear programming models, a decision maker can most efficiently and effectively employ his
production factor and limited resources to get maximum profit at minimum cost.
(2) Limitations : (i) The linear programming can be applied only when the objective function and all the
constraints can be expressed in terms of linear equations/inequations.
(ii) Linear programming techniques provide solutions only when all the elements related to a problem can be
quantified.
(iii) The coefficients in the objective function and in the constraints must be known with certainty and should
remain unchanged during the period of study.
(iv) Linear programming technique may give fractional valued answer which is not desirable in some problems.
3x+2y=160
x+2y=80
5x+2y=200
8x+6y=48 3x+4y=24
4x+3y=0
y = 6
x
=
5
Isoprofit
line
A(0,30)
O C (40, 0)
B(20, 20)
x+2y=60
(60,0)
x+y=40
(0,40)
Y
X

Recomendados

Linear Programming (Theory & Exercise) Module-6-B.pdf por
Linear Programming (Theory & Exercise) Module-6-B.pdfLinear Programming (Theory & Exercise) Module-6-B.pdf
Linear Programming (Theory & Exercise) Module-6-B.pdfSTUDY INNOVATIONS
8 vistas10 diapositivas
Graphically find all optimal solutions to the following LP- min z x1 x.docx por
Graphically find all optimal solutions to the following LP- min z x1 x.docxGraphically find all optimal solutions to the following LP- min z x1 x.docx
Graphically find all optimal solutions to the following LP- min z x1 x.docxdelicecogupdyke
11 vistas2 diapositivas
OI.ppt por
OI.pptOI.ppt
OI.pptraj20072
9 vistas49 diapositivas
Sbmp 4203 linear programming por
Sbmp 4203 linear programmingSbmp 4203 linear programming
Sbmp 4203 linear programmingSaidatina Khadijah
236 vistas17 diapositivas
Lecture 07 graphing linear equations por
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equationsHazel Joy Chong
1.1K vistas15 diapositivas
Chapter 04 por
Chapter 04Chapter 04
Chapter 04ernestomuozorenday
610 vistas93 diapositivas

Más contenido relacionado

Similar a 01-LINEAR PROGRAMMING (THEORY)

Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi... por
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...SSA KPI
526 vistas32 diapositivas
Numerical Solution to Ninth order Non- Linear Differential Equation Using the... por
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...rahulmonikasharma
110 vistas3 diapositivas
CMR_Graphical Method -Special cases.pdf por
CMR_Graphical Method -Special cases.pdfCMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdfKhaderMohamet
12 vistas23 diapositivas
A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona... por
A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona...A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona...
A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona...MangaiK4
3 vistas6 diapositivas
Non-Linear Fractional Programming Problems por
Non-Linear Fractional Programming ProblemsNon-Linear Fractional Programming Problems
Non-Linear Fractional Programming ProblemsMangaiK4
19 vistas6 diapositivas
Linear programming: A Geometric Approach por
Linear programming: A Geometric ApproachLinear programming: A Geometric Approach
Linear programming: A Geometric ApproachEFREN ARCHIDE
475 vistas22 diapositivas

Similar a 01-LINEAR PROGRAMMING (THEORY)(20)

Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi... por SSA KPI
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
SSA KPI526 vistas
Numerical Solution to Ninth order Non- Linear Differential Equation Using the... por rahulmonikasharma
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
rahulmonikasharma110 vistas
CMR_Graphical Method -Special cases.pdf por KhaderMohamet
CMR_Graphical Method -Special cases.pdfCMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdf
KhaderMohamet12 vistas
A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona... por MangaiK4
A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona...A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona...
A New Computer Oriented Technique to Solve Sum of Ration Non-Linear Fractiona...
MangaiK43 vistas
Non-Linear Fractional Programming Problems por MangaiK4
Non-Linear Fractional Programming ProblemsNon-Linear Fractional Programming Problems
Non-Linear Fractional Programming Problems
MangaiK419 vistas
Linear programming: A Geometric Approach por EFREN ARCHIDE
Linear programming: A Geometric ApproachLinear programming: A Geometric Approach
Linear programming: A Geometric Approach
EFREN ARCHIDE475 vistas
LPP, Duality and Game Theory por Purnima Pandit
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
Purnima Pandit4.9K vistas
CSCI 2033 Elementary Computational Linear Algebra(Spring 20.docx por mydrynan
CSCI 2033 Elementary Computational Linear Algebra(Spring 20.docxCSCI 2033 Elementary Computational Linear Algebra(Spring 20.docx
CSCI 2033 Elementary Computational Linear Algebra(Spring 20.docx
mydrynan5 vistas
A Linear Assignment Formulation Of The Multiattribute Decision Problem por Wendy Berg
A Linear Assignment Formulation Of The Multiattribute Decision ProblemA Linear Assignment Formulation Of The Multiattribute Decision Problem
A Linear Assignment Formulation Of The Multiattribute Decision Problem
Wendy Berg2 vistas
5HBC: How to Graph Implicit Relations Intro Packet! por A Jorge Garcia
5HBC: How to Graph Implicit Relations Intro Packet!5HBC: How to Graph Implicit Relations Intro Packet!
5HBC: How to Graph Implicit Relations Intro Packet!
A Jorge Garcia1.8K vistas
A Simplex-Cosine Method For Solving Hard Linear Problems por Bryce Nelson
A Simplex-Cosine Method For Solving Hard Linear ProblemsA Simplex-Cosine Method For Solving Hard Linear Problems
A Simplex-Cosine Method For Solving Hard Linear Problems
Bryce Nelson2 vistas
Chapter 4 Simplex Method ppt por Dereje Tigabu
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
Dereje Tigabu921 vistas
Numerical analysis using Scilab: Solving nonlinear equations por Scilab
Numerical analysis using Scilab: Solving nonlinear equationsNumerical analysis using Scilab: Solving nonlinear equations
Numerical analysis using Scilab: Solving nonlinear equations
Scilab9.5K vistas
linear equation in two variable.pptx por KirtiChauhan62
linear equation in two variable.pptxlinear equation in two variable.pptx
linear equation in two variable.pptx
KirtiChauhan6223 vistas
Determination of Optimal Product Mix for Profit Maximization using Linear Pro... por IJERA Editor
Determination of Optimal Product Mix for Profit Maximization using Linear Pro...Determination of Optimal Product Mix for Profit Maximization using Linear Pro...
Determination of Optimal Product Mix for Profit Maximization using Linear Pro...
IJERA Editor108 vistas
Determination of Optimal Product Mix for Profit Maximization using Linear Pro... por IJERA Editor
Determination of Optimal Product Mix for Profit Maximization using Linear Pro...Determination of Optimal Product Mix for Profit Maximization using Linear Pro...
Determination of Optimal Product Mix for Profit Maximization using Linear Pro...
IJERA Editor329 vistas

Más de STUDY INNOVATIONS

Physics-31.Rotational Mechanics por
Physics-31.Rotational MechanicsPhysics-31.Rotational Mechanics
Physics-31.Rotational MechanicsSTUDY INNOVATIONS
3 vistas14 diapositivas
Physics-30.24-Physics-Solids and Semiconductors por
Physics-30.24-Physics-Solids and SemiconductorsPhysics-30.24-Physics-Solids and Semiconductors
Physics-30.24-Physics-Solids and SemiconductorsSTUDY INNOVATIONS
2 vistas40 diapositivas
Physics-29.Atoms-Molecules & nuclei por
Physics-29.Atoms-Molecules & nucleiPhysics-29.Atoms-Molecules & nuclei
Physics-29.Atoms-Molecules & nucleiSTUDY INNOVATIONS
2 vistas19 diapositivas
Physics-28..22-Electron & Photon por
Physics-28..22-Electron & PhotonPhysics-28..22-Electron & Photon
Physics-28..22-Electron & PhotonSTUDY INNOVATIONS
2 vistas30 diapositivas
Physics-27.21-Electromagnetic waves por
Physics-27.21-Electromagnetic wavesPhysics-27.21-Electromagnetic waves
Physics-27.21-Electromagnetic wavesSTUDY INNOVATIONS
2 vistas17 diapositivas
Physics-26.20-Wave Optics por
Physics-26.20-Wave OpticsPhysics-26.20-Wave Optics
Physics-26.20-Wave OpticsSTUDY INNOVATIONS
2 vistas27 diapositivas

Más de STUDY INNOVATIONS(20)

Physics-30.24-Physics-Solids and Semiconductors por STUDY INNOVATIONS
Physics-30.24-Physics-Solids and SemiconductorsPhysics-30.24-Physics-Solids and Semiconductors
Physics-30.24-Physics-Solids and Semiconductors
Physics-24.18-Electromagnetic induction & Alternating current por STUDY INNOVATIONS
Physics-24.18-Electromagnetic induction & Alternating currentPhysics-24.18-Electromagnetic induction & Alternating current
Physics-24.18-Electromagnetic induction & Alternating current
Physics-22.15-THERMAL & CHEMICAL EFFECTS OF CURRENT & THERMOELECTRICITY por STUDY INNOVATIONS
Physics-22.15-THERMAL & CHEMICAL EFFECTS OF CURRENT & THERMOELECTRICITYPhysics-22.15-THERMAL & CHEMICAL EFFECTS OF CURRENT & THERMOELECTRICITY
Physics-22.15-THERMAL & CHEMICAL EFFECTS OF CURRENT & THERMOELECTRICITY
Physics-14.7-NEWTON'S LAW OF UNIVERSAL GRAVITATION por STUDY INNOVATIONS
Physics-14.7-NEWTON'S LAW OF UNIVERSAL GRAVITATIONPhysics-14.7-NEWTON'S LAW OF UNIVERSAL GRAVITATION
Physics-14.7-NEWTON'S LAW OF UNIVERSAL GRAVITATION

Último

JRN 362 - Lecture Twenty-Three (Epilogue) por
JRN 362 - Lecture Twenty-Three (Epilogue)JRN 362 - Lecture Twenty-Three (Epilogue)
JRN 362 - Lecture Twenty-Three (Epilogue)Rich Hanley
43 vistas57 diapositivas
A Guide to Applying for the Wells Mountain Initiative Scholarship 2023 por
A Guide to Applying for the Wells Mountain Initiative Scholarship 2023A Guide to Applying for the Wells Mountain Initiative Scholarship 2023
A Guide to Applying for the Wells Mountain Initiative Scholarship 2023Excellence Foundation for South Sudan
87 vistas26 diapositivas
MercerJesse3.0.pdf por
MercerJesse3.0.pdfMercerJesse3.0.pdf
MercerJesse3.0.pdfjessemercerail
163 vistas6 diapositivas
Java Simplified: Understanding Programming Basics por
Java Simplified: Understanding Programming BasicsJava Simplified: Understanding Programming Basics
Java Simplified: Understanding Programming BasicsAkshaj Vadakkath Joshy
663 vistas155 diapositivas
Retail Store Scavenger Hunt.pptx por
Retail Store Scavenger Hunt.pptxRetail Store Scavenger Hunt.pptx
Retail Store Scavenger Hunt.pptxjmurphy154
53 vistas10 diapositivas
unidad 3.pdf por
unidad 3.pdfunidad 3.pdf
unidad 3.pdfMarcosRodriguezUcedo
138 vistas38 diapositivas

Último(20)

JRN 362 - Lecture Twenty-Three (Epilogue) por Rich Hanley
JRN 362 - Lecture Twenty-Three (Epilogue)JRN 362 - Lecture Twenty-Three (Epilogue)
JRN 362 - Lecture Twenty-Three (Epilogue)
Rich Hanley43 vistas
Retail Store Scavenger Hunt.pptx por jmurphy154
Retail Store Scavenger Hunt.pptxRetail Store Scavenger Hunt.pptx
Retail Store Scavenger Hunt.pptx
jmurphy15453 vistas
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE... por Nguyen Thanh Tu Collection
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE...
JQUERY.pdf por ArthyR3
JQUERY.pdfJQUERY.pdf
JQUERY.pdf
ArthyR3107 vistas
Pharmaceutical Analysis PPT (BP 102T) por yakshpharmacy009
Pharmaceutical Analysis PPT (BP 102T) Pharmaceutical Analysis PPT (BP 102T)
Pharmaceutical Analysis PPT (BP 102T)
yakshpharmacy009116 vistas
INT-244 Topic 6b Confucianism por S Meyer
INT-244 Topic 6b ConfucianismINT-244 Topic 6b Confucianism
INT-244 Topic 6b Confucianism
S Meyer49 vistas
Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf por TechSoup
 Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf
Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf
TechSoup 62 vistas
Introduction to AERO Supply Chain - #BEAERO Trainning program por Guennoun Wajih
Introduction to AERO Supply Chain  - #BEAERO Trainning programIntroduction to AERO Supply Chain  - #BEAERO Trainning program
Introduction to AERO Supply Chain - #BEAERO Trainning program
Guennoun Wajih123 vistas
Interaction of microorganisms with vascular plants.pptx por MicrobiologyMicro
Interaction of microorganisms with vascular plants.pptxInteraction of microorganisms with vascular plants.pptx
Interaction of microorganisms with vascular plants.pptx
MicrobiologyMicro58 vistas
Education of marginalized and socially disadvantages segments.pptx por GarimaBhati5
Education of marginalized and socially disadvantages segments.pptxEducation of marginalized and socially disadvantages segments.pptx
Education of marginalized and socially disadvantages segments.pptx
GarimaBhati547 vistas
Career Building in AI - Technologies, Trends and Opportunities por WebStackAcademy
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy47 vistas

01-LINEAR PROGRAMMING (THEORY)

  • 1. 174 Linear Programming ‘Linear Programming’ is a scientific tool to handle optimization problems. Here, we shall learn about some basic concepts of linear programming problems in two variables, their applications, advantages, limitations, formulation and graphical method of solution. 6.1 Linear Inequations . (1) Graph of linear inequations (i) Linear inequation in one variable : 0 , 0 , 0       d cy b ax b ax etc. are called linear inequations in one variable. Graph of these inequations can be drawn as follows : The graph of 0   b ax and 0   b ax are obtained by dividing xy-plane in two semi-planes by the line a b x   (which is parallel to y-axis). Similarly for 0   d cy and 0   d cy . (ii) Linear Inequation in two variables : General form of these inequations are c by ax c by ax     , . If any ordered pair   1 1 ,y x satisfies some inequations, then it is said to be a solution of the inequations. The graph of these inequations is given below (for c > 0) : Working rule To draw the graph of an inequation, following procedure is followed : (i) Write the equation c by ax   in place of c by ax   and c by ax   . a b x   ax+b>0 Y Y X X ax+b<0 O Y Y X X c d y   cy+d>0 cy+d<0 Y Y X X ax+by<c ax+by=c ax+by>c O 174
  • 2. Linear Programming 175 (ii) Make a table for the solutions of c by ax   . (iii) Now draw a line with the help of these points. This is the graph of the line c by ax   . (iv) If the inequation is > or <, then the points lying on this line is not considered and line is drawn dotted or discontinuous. (v) If the ineuqation is > or <, then the points lying on the line is considered and line is drawn bold or continuous. (vi) This line divides the plane XOY in two region. To Find the region that satisfies the inequation, we apply the following rules: (a) Take an arbitrary point which will be in either region. (b)Ifitsatisfies thegiven inequation,thentherequiredregion willbethe region inwhichthearbitrarypointis located. (c) If it does not satisfy the inequation, then the other region is the required region. (d) Draw the lines in the required region or make it shaded. (2) Simultaneous linear inequations in two variables : Since the solution set of a system of simultaneous linear inequations is the set of all points in two dimensional space which satisfy all the inequations simultaneously. Therefore to find the solution set we find the region of the plane common to all the portions comprising the solution set of given inequations. In case there is no region common to all the solutions of the given inequations, we say that the solution set is void or empty. (3) Feasible region : The limited (bounded) region of the graph made by two inequations is called feasible region. All the points in feasible region constitute the solution of a system of inequations. The feasible solution of a L.P.P. belongs to only first quadrant. If feasible region is empty then there is no solution for the problem. Example: 1 Inequations 3 3   y x and 4 4   y x (a) Have solution for positive x and y (b) Have no solution for positive x and y (c) Have solution for all x (d) Have solution for all y Solution : (a) Following figure will be obtained on drawing the graphs of given inequations : From 1 3 1 , 3 3      y x y x From 1 4 1 , 4 4      y x y x Clearly the common region of both the inequations is true for positive value of (x, y). It is also true for positive values of xand negative values of y. Example: 2 The constraints [MP PET 1999] – 1 2 1    x x ; – 9 3 2 1   x x ; 0 , 2  x x define (a) Bounded feasible space (b) Unbounded feasible space (c) Both bounded and unbounded feasible space (d) None of these Solution : (b) It is clear from the graph, the constraints define an unbounded feasible space. Example: 3 Shaded region is represented by O (1,0) (0,–3) (0,–4) Y X (–9,0) O (0,1) (3,4) (–1,0) x1 x2 (0,3)
  • 3. 176 Linear Programming (a) 0 , 0 , 20 , 80 5 2       y x y x y x (b) 0 , 0 , 20 , 80 5 2       y x y x y x (c) 0 , 0 , 20 , 80 5 2       y x y x y x (d) 0 , 0 , 20 , 80 5 2       y x y x y x Solution: (c) In all the given equations, the origin is present in shaded area. Answer (c) satisfy this condition. Example: 4 Shaded region is represented by (a) 3 2 4   y x (b) 3 2 4    y x (c) 3 2 4   y x (d) 3 2 4    y x Solution: (b) Origin is not present in given shaded area. So 3 2 4    y x satisfy this condition. 6.2 Terms of Linear Programming . The term programming means planning and refers to a process of determining a particular program. (1) Objective function : The linear function which is to be optimized (maximized or minimized) is called objective function of the L.P.P. (2) Constraints or Restrictions : The conditions of the problem expressed as simultaneous equations or inequalities are called constraints or restrictions. (3) Non-negative Constraints : Variables applied in the objective function of a linear programming problem are always non-negative. The ineqaulities which represent such constraints are called non-negative constraints. (4) Basic variables : The m variables associated with columns of the m × n non-singular matrix which may be different from zero, are called basic variables. (5) Basic solution : A solution in which the vectors associated to m variables are linear and the remaining ) ( m n  variables are zero, is called a basic solution. A basic solution is called a degenerate basic solution, if at least one of the basic variables is zero and basic solution is called non-degenerate, if none of the basic variables is zero. (6) Feasible solution : The set of values of the variables which satisfies the set of constraints of linear programming problem (L.P.P) is called a feasible solution of the L.P.P. (7) Optimal solution : A feasible solution for which the objective function is minimum or maximum is called optimal solution. (8) Iso-profit line : The line drawn in geometrical area of feasible region of L.P.P. for which the objective function remains constant at all the points lying on the line, is called iso-profit line.        0 , 4 3 B Shaded region A(0,3/2) 4x–2y=–3 y x O       3 40 , 3 20 B Shaded region O A(20,0) x (40,0) 2x+5y=80 x+y=20 y C(0,16) (0,20) Y X
  • 4. Linear Programming 177 If the objective function is to be minimized then these lines are called iso-cost lines. (9) Convex set : In linear programming problems feasible solution is generally a polygon in first quadrant . This polygon is convex. It means if two points of polygon are connecting by a line, then the line must be inside to polygon. For example, Figure (i) and (ii) are convex set while (iii) and (iv) are not convex set 6.3 Mathemiatical formulation of a Linear programming problem . There are mainly four steps in the mathematical formulation of a linear programming problem, as mathematical model. We will discuss formulation of those problems which involve only two variables. (1) Identify the decision variables and assign symbols x and y to them. These decision variables are those quantities whose values we wish to determine. (2) Identify the set of constraints and express them as linear equations/inequations in terms of the decision variables. These constraints are the given conditions. (3) Identify the objective function and express it as a linear function of decision variables. It might take the form of maximizing profit or production or minimizing cost. (4) Add the non-negativity restrictions on the decision variables, as in the physical problems, negative values of decision variables have no valid interpretation. 6.4 Graphical solution of two variable Linear programming problem . There are two techniques of solving an L.P.P. by graphical method. These are : (1) Corner point method, and (2) Iso-profit or Iso-cost method. (1) Corner point method Working rule (i) Formulate mathematically the L.P.P. (ii) Draw graph for every constraint. (iii) Find the feasible solution region. (iv) Find the coordinates of the vertices of feasible solution region. (v) Calculate the value of objective function at these vertices. (vi) Optimal value (minimum or maximum) is the required solution. Note :  If there is no possibility to determine the point at which the suitable solution found, then the solution of problem is unbounded.  If feasible region is empty, then there is no solution for the problem.  Nearer to the origin, the objective function is minimum and that of further from the origin, the objective function is maximum. (2) Iso-profit or Iso-cost method : Various steps of the method are as follows : (i) Find the feasible region of the L.P.P. (ii) Assign a constant value Z1 to Z and draw the corresponding line of the objective function. (iii) Assign another value Z2 to Z and draw the corresponding line of the objective function. (i) (ii) (iv A B (iii A B
  • 5. 178 Linear Programming (iv) If ) ( , 2 1 2 1 Z Z Z Z   , then in case of maximization (minimization) move the line P1Q1 corresponding to Z1 to the line P2Q2 corresponding to Z2 parallel to itself as far as possible, until the farthest point within the feasible region is touched by this line. The coordinates of the point give maximum (minimum) value of the objectivefunction. Note :  The problem with more equations/inequations can be handled easily by this method.  In case of unbounded region, it either finds an optimal solution or declares an unbounded solution. Unbounded solutions are not considered optimal solution. In real world problems, unlimited profit or loss is not possible. 6.5 To find the Vertices of Simple feasible region without Drawing a Graph . (1) Bounded region: The region surrounded by the inequalities m by ax   and n dy cx   in first quadrant is called bounded region. It is of the form of triangle or quadrilateral. Change these inequalities into equation, then by putting 0  x and , 0  y we get the solution also by solving the equation in which there may be the vertices of bounded region. The maximum value of objective function lies at one vertex in limited region. (2) Unbounded region : The region surrounded by the inequations m by ax   and n dy cx   in first quadrant, is called unbounded region. Change the inequation in equations and solve for 0  x and 0  y . Thus we get the vertices of feasible region. The minimum value of objective function lies at one vertex in unbounded region but there is no existence of maximum value. 6.6 Problems having Infeasible Solutions. In some of the linear programming problems, constraints are inconsistent i.e. there does not exist any point which satisfies all the constraints. Such type of linear programming problems are said to have infeasible solution. For Example : Maximize y x Z 2 5   subject to the constraints 2   y x , 2 3 3   y x , 0 ,  y x The above problem is illustrated graphically in the fig. There is no point satisfying the set of above constraints. Thus, the problem is having an infeasible solution. 6.7 Some important points about L.P.P.. (1) If the constraints in a linear programming problem are changed, the problem is to be re-evaluated. (2) The optimal value of the objective function is attained at the point, given by corner points of the feasible region. (3) If a L.P.P. admits two optimal solutions, it has an infinite number of optimal solutions. (4) If there is no possibility to determine the point at which the suitable solution can be found, then the solution of problem is unbounded. (5) The maximum value of objective function lies at one vertex in limited region. Example: 5 A firm makes pants and shirt. A shirt takes 2 hour on machine and 3 hour of man labour while a pant takes 3 hour on machine and 2 hour of man labour. In a week there are 70 hour of machine and 75 hour of man labour available. If the firm determines to make x shirts and y pants per week, then for this the linear constraints are (a) 75 2 3 , 70 3 2 , 0 , 0       y x y x y x (b) 75 2 3 , 70 3 2 , 0 , 0       y x y x y x (c) 75 2 3 , 70 3 2 , 0 , 0        y x y x y x (d) 75 2 3 , 70 3 2 , 0 , 0       y x y x y x Solution: (d) 1 10 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10
  • 6. Linear Programming 179 Working time on machine Man labour Shirt (x) 2 hours 3 hours Pant (y) 3 hours 2 hours Availability 70 hours 75 hours Linear constraints are 75 2 3 , 70 3 2     y x y x and 0 ,  y x Example: 6 The minimum value of the objective function y x Z 10 2   for linear constraints 5 5 , 0      y x y x and 0 ,  y x is (a) 10 (b) 15 (c) 12 (d) 8 Solution: (b) Required region is unbounded whose vertex is       4 5 , 4 5 Hence the minimum value of objective function is 15 4 5 10 4 5 2      . Example: 7 Minimize     n j m i ij ijx c z 1 1 Subject to : m i a x i n j ij ........, 1 , 1     ;     m i j ij n j b x 1 ......, 1 , is a LPP with number of constraints (a) n m  (b) n m  (c) mn (d) n m Solution: (a) (I) Condition, 1 1 13 12 11 . .......... , 1 a x x x x i n       2 2 23 22 21 . .......... , 2 a x x x x i n       3 3 33 32 31 .. .......... , 3 a x x x x i n       ................................... s constraint . .......... , 3 2 1 m a x x x x m i m mn m m m        (II) Condition 1 1 31 21 11 .......... , 1 b x x x x j m       2 2 32 22 12 . .......... , 2 b x x x x j m       .................................... n b x x x x n j n mn n n n        .... .......... , 3 2 1 constraints  Total constraints n m   . Example: 8 Maximize , 2 3 y x z   subject to 3 , 6 , 1 , 0 5 , 1           x y x y x x y y x and 0 ,  y x (a) 3  x (b) 3  y (c) 15  z (d) All the above Solution: (d) The shaded region represents the bounded region (3,3) satisfies, so 3 , 3   y x and 15  z . Example: 9 Maximum value of y x 5 4  subject to the constraints 12 3 , 35 2 , 20       y x y x y x is (a) 84 (b) 95 (c) 100 (d) 96 Solution: (b) Obviously, max. 95 5 4   y x . It is at (5, 15). y – 5x=0 x – y = –1 (5/2, 7/2) (3,3) x + y = 6 x=3 (0,1) (1,0) x – y=0 x – 5y = –5 O X Y (5,15) (18,2) x – 3y = 12 x + 2y = 35 (12,0)(20,0) (35,0) (0,20)       2 1 17 , 0
  • 7. 180 Linear Programming Example: 10 The maximum value of y x Z 3 4   subjected to the constraints , 160 2 3   y x 0 , , 80 2 , 200 2 5      y x y x y x is (a) 320 (b) 300 (c) 230 (d) None of these Solution: (d) Obviously, it is unbounded. Therefore its maximum value does not exist. Example: 11 The objective function y x Z 3 4   can be maximized subjected to the constraints 0 , ; 6 , 5 , 48 6 8 , 24 4 3        y x y x y x y x (a) Atonlyonepoint (b) Attwopointsonly (c) Ataninfinitenumberofpoints(d)None of these Solution: (c) Obviously, the optimal solution is found on the line which is parallel to 'isoprofit line'. Hence it has infinite number of solutions. Example: 12 The maximum value of y x µ 4 3   subjected to the conditions 0 , ; 60 2 , 40      y x y x y x is [MP PET 2002,04 ] (a) 130 (b) 120 (c) 40 (d) 140 Solution: (d) Obviously Max ) 20 , 20 ( at 4 3 y x µ   140 80 60    µ . 6.8 Advantages and Limitations of L.P.P.. (1) Advantages : Linear programming is used to minimize the cost of production for maximum output. In short, with the help of linear programming models, a decision maker can most efficiently and effectively employ his production factor and limited resources to get maximum profit at minimum cost. (2) Limitations : (i) The linear programming can be applied only when the objective function and all the constraints can be expressed in terms of linear equations/inequations. (ii) Linear programming techniques provide solutions only when all the elements related to a problem can be quantified. (iii) The coefficients in the objective function and in the constraints must be known with certainty and should remain unchanged during the period of study. (iv) Linear programming technique may give fractional valued answer which is not desirable in some problems. 3x+2y=160 x+2y=80 5x+2y=200 8x+6y=48 3x+4y=24 4x+3y=0 y = 6 x = 5 Isoprofit line A(0,30) O C (40, 0) B(20, 20) x+2y=60 (60,0) x+y=40 (0,40) Y X