Optimization, Chapter 2
Optimization, Chapter 2
3
Optimization Techniques Linear Programming and Tran sportation
he word
'programming' does not refer here to computer a X,t a, X,
t..
ta X =b,
ynonym tor
planning.Thus mathematical programming-rather
program is a planning of activities. In
a it is
..ta2 X b,
mathematical program, we seek any 21X a22 X
t
a solution of
planning. (2)
Ihus, linear
programming is an optimization method applicable for the solution
problems in which the
the decision objective function and the constraints appear as linear of
equations in a LPP may be in the form functions of
variables. The constraint
or inequalities.
of equalities
3X, am2 X t . tamn X, =bm
George B.
Dantzig, formulated the general LPP and devised the X a . . X, 20
(3)
and
solution in 1947.
Although several other methods have been simplex method of and the decision
solving LP problems, the simplex method developed over the years for and a,(1= 1 to m, j
=
1 to n) are known constants, and x,
continues to be the most efficient and
where c b,
method for solving popular variables.
general LP problems. Linear
that permits us to make optimal decisions in programming is a revolutionary development 2. Matrix form
complex situations. (1)
Some areas of application of LPP: The number of Optimize
fX) = cTX
pefinition: The general LPP calls for optimizing (maximizing/minimizing) a linear function the standard form of LPP. The form with constraints aX bis called its canonical form
of variables called the 'objective function subject to a set of linear equations and/or
the constraints restrictions. Characteristics of the standard form of LPP
inequalities called or
be stated in the standard form: l All the constraints are of the equality type except for the non-negativity
The general LPP can following which remain as in equalities
1. Scalar form I. The right side element of each constraint is non-negative
Optimize f(x, X ..., X,) =C, x, t c, X, t... tC, X, (1) IV All the decision variables are non negative.
subject to constraints
Problem
3.5
3.4 Transportation
Optimization Techniques Linear Programming and
production or to
the cost of
minimize
to maximize
production, or to give the maximum profits, ete. In this section, illustration of the applicatio Find x,, X, and x, $o as
of LP to various situations will be shown. In these examples the stress is laid on f 2x, + 4x, + 3%,
th
analysis of the situation and formulation of the linear programming problem rather tha subject to the constraints
on its solution. s 3600
3x, + 4x,+ 3x,
2400
Solved problems 2 2x,tx,t 3x, s
Problem 1: x+3x,+ 3x, s 4800
20
A company has three operational departments (weaving, processing and packing) wit and x, 20, X, 20, x,
capacity to produce three different types of clothes namely suitings, shirtings and wollen Problem 2: requirements
yielding a profit of Rs. 2, Rs. 4 and Rs. 3 per meter respectively. One meter suiting a diet which
will fulfill his daily
decide the constituents of
wants to is to be made from
requires 4 minutes in weaving, 3 minutes in each department. In a week, to tal run time of A person cost. The choice
carbohydrates at the minimum
of proteins fats and foods are given in
the following
of these
each department is 60, 40 and 80 hours for weaving, processing and packing department foods. The yields per
unit
four different types of
respectively.
table:
Formulate the linear programming problem to find the product mix to maximize thd Yield/Unit
Cost/unit
profit.
Solution: The data of the problem is summarized below: Food Rs.
Fats Carbohydrates
Type Proteins
Profit 45
Departments
WeavingProcessing Packing (Rs. per meter) 40
4
in min.) (in min.) (in min.) 85
8
65
Suitings 4 6 5
Shirtings 4 4
Minimum 800 200 700
Wollens 3 3 3
Requirement
availability (min) 60 x 60 40x60 80x 60
the problem.
Formulate the LP model for
Step 1: The key decision is to determine the weekly rate of production for the three
types of clothes. Solution: minimum cost.
is to select a food type which is having
Step 2: Let us designate the weekly production of suitings, shirtings and wollens by x,, X, Step 1: The key decision respectively
the four food types as x, X X, and x.
and x, meters respectively Step 2: Designate 1,2,3 and 4 the person requir
constraints: From these units of food type
Step 3: The constraints are the limited availability of three operational departments. One Step 3: Going to frame
3x, + 4x, +8x, 6x,proteins/day
+
meter of suiting requires 3 minutes of weaving. The quantity being x, meters, the requirement
for suiting alone will be 3x, units. Similarly, x, meters of shirting and x, meters of woolen + 5x, fats/day
2x, +2x,+7x,
will require 4x, and 3x, minutes respectively. Thus the total requirement of weaving will be carbohydrates/day
6x, + 4x, + 7x, 4x,
+
800, 20
3x, +4x, + 3x,, which should not exceed the available 3600 minutes. So the labour constraint fats and carbohydrates are
becomes 3x, + 4x, + 3x, s 3600 similarly, the constraints for the processing department and Since the minimumrequirement of these proteins,
the constraints are
packing departments are 2x, + x, + 3x, s 2400 and x, + 3x, + 3x, 8400 respectively. and 700 respectively,
+ 6x,2 800
3x, 4x, +8x, t
Step 4: The objective is to maximize the total profit from sales. Assuming that whatever is 200
2x, +2x, +7x, Sx, 2
produced is sold in the market, the total profit is given by the linear relation f= 2x, + 4x, + 3x, t
2 700
Step 5: Since it is not possible to produce negative quantities, then x,, X,, X,20. 6x, + 4x, 7x, 4x,
+ t
The LPP can thus be put in the following algebraic format: and , Xg X, and x, 2 0
Problem
3.9
tion
and Transporta
Linear Programming
3.8 Optimization Techniques
Magazine
Step 4: Since, the costs of these food of type 1,2, 3 and 4 B C
Rs. 45, Rs. 85 and Rs. 65
are A
per unit, the total cost is Rs.
total cost, the
45x, + 40x, + 85x, + 65x,. As the objective is to minimize the 0.6 Lakh 0.4 Lakh
objective function is 1 Lakh
Readers 8%
Minimize f= 20% 15%
45x, +40x, + 85x, + 65x Principal Buyers 5000
Step 5: Cost per Advt (Rs.) 8000 6000
XX Xg and x, 2 0 has alread
Now, the LPP is Find x, X,, X, and x, so as to advertisements. The owner
Rs. 1 lakh for the
is atmost and
advertisements and that B
The budgeted amount
Minimize f=45x, + 40x, t 85x, + 65x, A should have no more than 15
decided that magazine. the problem.
on LP model for
subject to 3x, + 4x,+8x, t 6x, 2 800
cach have at least 80
advertisements Formulate
respectively. Market demand shows that at least 150 units of gasoline X and 130 units of Problem
all tomatoes, lettuce,
or radishes he can rai
gasoline Y must be produced. The profits per production run from process 1 and process A farmer has 100 acre farm. He can sell fettuce a
for tomatoes, Rs. 0.75 a head for
2 Rs. 4 and Rs. 5 The price he can obtain is
Rs. 100 per kg
are respectively. Formulate the problem for maximizing the profit. acre is 2000 kg
of tomatoes, 30
The average yield per
Solution: Key decision: maximizing the profit, RS. 2.00 per kg for radishes. Rs. 0.50 per kga
Fertilizer is available at
heads of lettuce and 1000 kgs of radishes. and 50 kgs
Decision variables: x, = number of units of gasoline from process 1
each for tomatoes and lettuce,
acre is 100 kgs
the amount required per acre is S
man-d:
and harvesting per
x,number of units of gasoline from process 2 Labour required for sowing,
cultivating
man-days of lab
Tadishes. for lettuce. A total of 400
6x, + 5x, S 250, 200 and 6 man-days
constraints :
4x, +6x, S Tor tomatoes and radishes,
of labour are available
at Rs. 20 per
man-d
way that total exposure to principal buyers of expensive sports good is maximized. X
-do- lettuce
Percentages of readers for cach magazine are known, Exposure in any particular magazine radishes
-do
is thenumber of advertisements placed multiplied by the number of principal buyers. The
following date may be used
3.10 Problem 3.11
Optimization Techniques Linear Programming and Transporta tion
0.50 x
[100 (x, x,)+ 50x,]
+ -
20 x
[5x, +
6x, +
Sx,] 8(25)x,+ 8(15)x, 2 1800
=
sOIved by using graphical method. Apart from the solution, the graphical
is Rs. 2.00. The company wants to determine the optimal assignment of inspectors, which linear programming probiems
Pysical picture of certain geometrical characteristics of Some ot the
will minimize the total cost of the inspection. nc geometrical characteristics can also be studied mathematically.
of LPP
Solution: powerful methods of LPP take advantage of these characteristics. beroc
ore solving we have to
two variables,
Key decision: Determination of the optimal assignment of inspectors, which will minimize consider graphical method to solve LPP with only
the total cost of the inspection a eto
8g r the terminology in linear programming and some of the imnportant theorciud
Problem 3.15
3.14 Optimization Techniques Linoar Programming and Transportation
LP problem, if it satisfies
Solution to LPP: Any set X of variables is calleda solution to
the set of constraints (2) only
Thus, x eand X e
called a feasible solution of LP problem,
Feasible solution (FS): Any set X of variables is
conditions (3) also.
if it satisfies the set of constraints (2) and non negativity
AX)+ (1 - ) X ellc Basic solution: A basic solution to the set of constraints (2) is a
solution obtained by
to zero and solving the constraints
setting any n- m variables (among n variables) equal
variables (of course, some of them may be zero) are
Note : If there are a number of convex sets represented by c,, c, ... the set of points c variables.
n!
common to all these sets will also be convex.
will be at the most n m)! m!
The number of basic solutions thus obtained (n -
Theorem : The feasible region of a linear programming problem is convex degenerate BFS is the BFS
which has exactly m
Non degenerate BFS: A non
Proof: The feasible region F of a standard LPP is defined as positive x, basic variables are
if one or more
F {X| aX = b, X2 0} (1) 11. Degenerate BFS: A BFS is called degenerate,
zero-valued
Let X, XEF, then if it also optimizes objective the function (1)
Optimum BFS: A BFS is said to be optimum,
aX =b, X20 (2)
function (1) can be increased or
Unbounded solution: If the value of the objective
aX =b, X20 (3)
decreased indefinitely such solutions are called
unbounded solutions.
consider x (2) + (1 - ) * (3):
feasible solution. However, an optimum
Note: Unless otherwise stated, solution means a minimum.
finite maximum or finite
a[X + (1 -
Obtain all the basic solutions to the following system of linear equations?
Hence the proof. degenerate solution feasible?
Theorem: Any local minimum solution is global for a LPP. 2x +6x,+ 2x, t x,=3
6x, t 4x, + 4x, + 6x,=2
Consider the matrix form of LPP:
Is the ne
optimize f= cTX (objective function) (1) which of them are BFS and which are non degenerate basic solutions'?
degenerate solution feasible?
subject to aX b, b 20 (constraints) (2)
Solution: here n= 4, m 2, n- m= 2 and 4= 6
and X20 (non negativity conditions) (3) 6 different basic solutions are given in the following table:
3.17
Problem
3.16 Optimization Techniques and Transporta tion
Linear Programming
X, 0
XXX, =X, =0 X
F 0
extreme point of C.
x, 0 Yes No No over C is attained at an
VARIABLES
GRAPHICAL PROCEDURE TO
SOLVE LPP OF TWO
method. The method
X Xx, =X, =0 LPP involving two decision variables can easily be solved by graphical
to
Yes No No into the concepts of simplex method: a powerful technique
also provides an insight
decision variables
X X, =x, = 0 X solve the LPP involving three or more
follows:
major steps of graphical method
Yes No are as
No The
constraint as equation
Step 1: Consider each inequality
Problem 2: each one will geometrically
Step 2: Plot each equation on
the graph (xy plane), since
Find all basic solutions for the system of simultaneous equations
Tepresenta straight line.
2x, +3x,+ 4x, 5 =
Solved Problems 4
Problem 1: (Maximization problem)
Solve the following LPP graphically
Maximize Z 3x, + 5x, 1000
subject to constraints: D(0,600) X600
600
x,+2x, s 2000
x,tx,S 1500 500
X 600
and x,20, x, 2 0 5001000 1500 2000
Figure 3
Solution:
2
combining the figurel, figure
Step 1: Considering each inequality-constraint as equation Step 3: Identify the feasible region (solution space) by below the
are with S sign then the region
x,+2x, =2000 (1) and figure 3 together. Since all the inequalities
feasible region
x , t x = 1500 (2) lines in Ist Quadrant should be considered, while shading
obtained 4) which is a set of point satistying
(Figure
X600 (3) Acommon shaded area OABCD is
the inequality constraints:
Cartesian rectangular
Step 2: Now we plot each equation on the graph by considering the
will certainly
plane. Clearly, any point (x,, x,) in the positive quadrant
1500R
axis OXX, in the
satisfy non-negativity constraints:
2000, put x,
x,20, x,
=
2 0
inequalities: x, x, S
t 1500 and x, s 600 respectively. O 500 1000 500 2000
10.0) Figure 4
Problem
3.21
Linear Programming and
Transportation
3.20 Optimization Techniques
x,+2x, S 2000, x, +
x, S 1500. x, s 600 and non negativity restrictions as x, 2 0, x, 20.
Hence any point in the shaded area (including its boundary) is feasible solution to the given
LPP feasibleregion
Step 4: Find the coordinates of the corner points of feasible region 0,A,B,C and D.
Already, we got O = (0, 0), A = (1500, 0), D (0, 600) Now, we have to get B and C.
where B 1s the ntersection point of the lines x, + x, = 1500, && x, t 2x, = 2000
Step 5: Finding the value of objective function at each of these corner points (extreme
points)
Extreme point Z 3x+ 5x, 8
(0, 0) 0
D B (3, 1) 1O maximum
Feasible
C (0, 2.5) 1O
the m a x X i m u m value
region the line segment BC gives
As Zmax 10 at B and C, .. any point on solutions or multiple
Hence there exists an alternative optimal
(10) of thee objective function
optimal solutions in this
case.
solutions- that is there are
infinite number of
function is parallel to a binding
5x,+ 10x, = 50
Remark on alternative optima: When the objective
the optimal solution) the
4
x, +X =
Now, the value of objective function at each of the extreme points is evaluated as
follows:
- 3 x+
, X
C(0, 2.5)
WWTEWWWW B(3, 1)
A4, 0)
%,+2%, 5
3.25
Problem
and Transportation
Linear Programming
3.24 Optimization Techniques
x,
follows:
as
Solution: The problem is represented graphically
Hence there is infeasible solution
Problem 6 (Unbounded solution):
When the values of the decision variables may be increased indefinitely violating any of
the constraints, the solution space (feasible region) is unbounded. The value of objective
function, in such cases, may increase (for maximization) or decrease (for minimization)
nde finitely. Thus, both the solution space and the objective function value are unbounded.
Solve the following LPP graphically
Maximize Z 6x, t
X
subject to the constraints 4
2x, X, 23
X X , 20
and , X, 0
consistent.
The two extreme points ofthe feasible region are A(1, 1) and B(0, 3), and we observe
that the feasible region (solution space) is unbounded. The value of the objective function
at the extreme points A(1, 1) and B(0, 3) are 7 and 3 respectively,.
But there exist number of points in the feasible region for which the value of the
objective function is more than 7. For example, the point (3, 6) lies in the feasible region
and the objective function value at this point is 24, more than 7. Thus both the variables x,
and x, can be made arbitrarily large and the value of Z also increased. Hence, the problem
has an unbounded solution.
Maximizze Z= Sx, +
3x,
Subject to 15 Problem 11: Solve the following LPP graphically
3x, +5x, =
0 and x,, x, 20
2x, subject to x, S 3, x, x,
+
-
S
Sx,+2x,= 10 Maximize Z =
-3x,
follows:
and XX,0 Solution: The given problem is represented as
Solution: The following figure shows the graphical representation of the given LPP:
,+5x,
all the variables
does not necessarily imply that
In this problem, an unbounded solution constant
Z approaches infinity. Here the variable x, r e m a i n s
(20 can be made arbitrarily large as
Since there is only one solution point A 19' 19 there is nothing to be maximized. (shown in figure)
Hence, a problem of this kind is of no importance. Such problems can arise only when the LPP : Important geometric properties
known as the convexity
number of equations in the constraints is at least equal to the number of variables. If the has an important property,
1. The region of feasible solutions convexity
solutions is feasible, it is optimal. If it is not feasible, the problem has no solution. the feasible solution of the problem exists
property in geometry provided them that is they aresolids.
feasible solutions has no holes in
-
Maximize Z=-x, + 2x, subject to -x, + x, S 1 and they have no cuts on the boundary.
-x, + 2x, 4 and x,, x, 20 11. The boundaries of the regions are lines orplanes
various corners.
There are c o r n e r s or extreme points on the boundary, and edges joining
Solution: The problem is represented graphically as follows 11.
value of Z
function can be represented by a line or a plane for any fixed
IV The objective solutions
feasible solutions will be an optimal
V. At least one corner of the region of finite
the m a x i m u m or minimum value
of objective function (Z) 1s
when ever
other than corners that are
Vi. If theoptimal solution is not unique, there are points
least one corner is optimal.
optimal but in any case at
function can be made arbitrarily
VIl. The different situation is found when the objective
that case.
large of course, no corner is optimal in
2 x ,
=4
Solved problems 5
Problem 1:
Find all the basic solutions to the following problem
Maximize Z x t 3x, + 3x,
Problem
3.29
and Transportation
3.28 Linear Programming
Optimization Techniques
For easy calculations, consider all the coefficients of variables, and constants as a
1I we want to move to a solution we can proceed from the canonical
neighboring Basic
matrix: Irom given by equation (2). Thus if a canonical form interms of the variables x,, X, and x
place original
in of the basic variable X
required, we have to bring x, into the basis
1SHence we pivot on a, in equation (2). This gives the desired canonical form as
4J
R3
For this, first we pivot on the element a, 2 to obtain:
X, X,1 by R,>
R -1-1 , 2 R R, - R
R, R, -R, 02 X, X=1 R, R,+R,
R,R, R, Lo-2 Ihis canonical system gives the solution of x,, X, and X, in terms of X, as
then to obtain
pivot on
a,
3.30 Transportation Problem
3.31
Optimization Techniques Linear Programming and
X 6-3x,
- 1 + X, a X,a2 X, t . a X , D,
.. the basic solution is:x =
3, x, =
6, x =
-1 (basic variable) a X, tan X,t a, X, =b,
b, (1)
ta, X,
=
t
x, =0 (non basic variable) a X,t a2 X,
Since all the x, are not nonnegative, this basic solution is not feasible.
Now, Finally, to obtain the canonical form interms of the basic variables
x,, X, and x
we pivot on
a,," to bring x, into the current basis in place of x,
This gives
solving method of
R R Assuming that this equations possesses a unique solution, a
set of
X,tx,3 the equations to a form known as canonical form by
the system consists of
reducing
R,R,-3R, x,-3x,-3 using elementary row operations, the system of above equations
can be reduced t0 a
R,R, + R, xtx, = 2
convenient equivalent form, such that, a particular variable will be
eliminated from all
all
This canonical form gives the solution for This procedure of eliminating a particular variable from
x,, x, and x, interms of x, as cquations but, one equation.
the
one cquation is called a pivot operation. The system of equations produced by
%3-, Dut, That is, the
%,=-3 + 3x, Pivot operation have exactly the same solution as the original set of Equations
vector X that satisfies (1) satisfies equation (2) and vice versa.
x2-, outn
and the corresponding basic solution is Now, considering the reduced form (canonical form), obtained after carry1ng
x, 3 , X,-3, x, = 2 (basie variables) pivot operations:
3-1 -
Z-CX,1 o ,--0 Z-C,X,
The improved solution from this table is: -
x,3,x,1, s,0, s,0 and 7,11 3
Also, using the formula ACX-C, clearly all
that is A 20vj
A, s ane non-negative
-All A, z0
Hence the optimum solution is 8,0 Z-CX,11
,3X,1.2,11 Thas,the optimal solution is obtained as: x,-3. x, 1,2 11
Shortcuts for quick solution by simplex method
i In the first iteration only, since
need
As, are same as-Cs (since C,0). so there mo
of caleulating them separately by using the formual A-C,X-C
is
Solved problems 6
Problem 1: Solve the following LPP by simplex method 2 7
Mark min(A) by T which at once indicates the column X, needed for computing the Maximize Z-15x,+ 6x,+9x, + 2x,
minimum ratio subject to 2x, X, 5x,+ 6x, 20 2-+2
3x,x,+3x, +25%,s 24 1 - 2 2
Key element
and the left directed
is found
arrow
at the
(-)
place where
of minimum
the
ratio
upward directed arrow
intersect each
of
other
min
in
3
the
and
7x,
g
X 70
gX, 20
6
Simplex table
Solution:
-O-2
Key element indicates that the current table must be trans formed in such a way that
the key element becomes 1 and all other clements in that column become zero
Writing the given LPP in the standard form by introducing non negative slack vartables
Since As corresponding to unit column vectors are always zero. thère is no need of S,5, and s
calculating them.
While transforming the table by row operations the value ofZand corresponding Aj's
ane also computed at the same tine.
Maximize
subject to
Z 15x, + 6x, + 9x, t 2x, + 0s, + 0s, + 0s,
and 2 0 X,12
X X Xg S,, S, S,
Now the IBFS is (x,=X, =
X,
= =
0 non basic)
x, =
x,
s , 2 0 , s = 24, s, = 70 basic x 0 and Max Z 132
3x, +2x,
Basic Min.ratio
subject to 3x,-X,+ 2x, 7
variables
, S, -2x, + 4x,S 12
10
0 20 2 20 -4x, +3x, +8x,
0
2-10 and
0 24 24 Solution:
1 3 25 0 1 0 8
3 Since the given objective function is of minimization type, we can convert it into
min ratio0
maximization type
0 70 70
S 0 0 0 10 Min Z Max (-Z)
7
Z0 -151 6 -9 2 0
Maximize (-Z) = Maximize Z*=-x, t 3x,-23,
0
C 3 0 0 0 Solution:
BV
C X X, X S, S, Min.ratio Writing the given LPP in standard form
Max Z 4000x, + 2000x, + 5000x, + 0s, +0s, + 0s,
by introducing slack variables s, S, and s,
0 3 0
12x,+ 7x,+9x, + s, 1260
=
subject to
12 -2 0 3 min ratio 22x, + 18x, + 16x, + s, 19008
=
0 10 4 3 8 0 0 1
103.33 and XXgXyS,, S,, S, 20
Z* = 0
-31 2 0 0 0
The starting solution and subsequent simplex tables are:
0 10 20
4 4000 2000 5000 0 0 0
5 C,
Basic Min.ratio
0 0
variables C, X, S
0 1260
0 0 1260 12 7 9 0 0
9
19008
Z* = 9
0 0 0 0 19008 22 18 16 0
16
396
4 1 0
10
0 0 396 4 0
3 0
4000 2000 50001 0 0 0 A
10 0 12
0 72 0
0 11 0 0 10 10 6
S 0 16896 0 149i
Z-110 all A20
5000 132 198
since all A 20, the current BFS is optimal 2600 14000 5000
Z 660000 0 0
3 3 3
Theoptimalsolution:Z11,X,-4, x, =5, X, - 0
and Min Z = Max (-Z) = -11, x, =4, x, = 5, X, =0
4000 12
2x, tx, S 50 50
0 50 0 2 0 4
and
Solution: Writing the given LPP in the standard form by introducing non negative slack S2 0 50 0 -2 1 Min ratio
variables S,, S, and S,:
20 25 0 0 0
Maximize Z* 20x, +
6x, + 8x, + Os, +
0s, +
0s,
subject to
Z 500 0 -61 0 0 0
8x,+2x, + 3x, t s, =
250
50
50
4x, + 3x, + s, 150 = 0
2x, t x,t s, 50 =
0 1 0
and Xs S,, S,, S, 0
X,,X
The IBFS is given by s, = 250, s, = 150, s, = 50 (x, = x, = x, = 0, non basic)
20 25 0 0 50*
Considering the simplex procedure in a single table:
Z 600 0T 0 -2 6
0 0 0 0
4
6 50 0 0 0
3
8 50 0 1 0 0 1
Z 700 0 0 0 2 8 all A 20
x, 50 and Zm 700
Problem 5: Solve the following LPP using simplex method
Maximize Z 10x, + 15x, + 20x,
subiect to 2x + 4x. +6x, 2 4
3.48 3.49
Optimization Techniques Transportation Problem
Linear Programming and
and
subject to 2x +
2x,+Sx,+ Os, 10
=
Solution: The standard form of the given LPP is and X X X, S,, S,, S,20.
3x, + 2x, t 4x, +0s, 15
=
the IBFS is s,
=
8. s, = =
20 1 0
6 G-12 -/5 min ratio
0
5 0
0 6 0 -1 6 min ratio
-10
0 0 4 0 14
Z = 80
0
0 0 40
Z- 0 -41 0 0
20 2 0 -1 1 5
0
10 6 (G)
Z 100 15 0 0 all A 20 4
5
Since allA 20, the current BFS is optimal 89 41
The optimal solution is given by S 0 0 0
x 6 , X=0, x, = 2 and Z m 1 0 0
256 7 4
Problem 6: Solve the following LPP by simplex method 1 15 15
0
15 0
Maximize Z 3x, t Sx, + 4x,=
50 5 10
subject to 2x, +3x, S8 5
41
0 1 0
41
2x, + 5x, s 10
2
3x, + 2x, + 4x, S 15 0
and X,X X 20. 41 41
Solution: Writing the given LPP in the standard form by introducing non negative slack 89
0 0
variables S,, S, and 41
S,
Z 765
Maximize -3x, 5x, 4x, Os, 0s, 0s,
+ + + + +
Z 0 0 0
24
all A20
41 41 4
Problem 3.79
Linear Programming and Tran sportation
3-78 Optimizeticn Techmiçues
MAXIMIZATION
SIMPLEX ALGORITHM FOR
min {A, 3}- 1hen
select inceming vecter, find such value of Kfor which A
=
e
he vector coming into the basis matrix wnll be X
matrix will be X, it
l o s e e t entgoing vecter". The vector going out of the basis
e deter e the s t i t rby the minim a t o rule Express the LPP in
Formulate the given
the standard for
problem as LPP
or predetermined value of k
Step 9: Now retm to step 6, then go to the steps S and 9 if necessary. This procedure is
Construct the startng
rpetedl e pt aBFS is obained.
sinplex teble wih the
We bare sem that h e r programing is a pomerful techmique for solving the problem above IBS
Bits
Linear programming
variables are introduced make < type in
to
equahtes
Ans: slack
A system with m equations and n vanables has at most basic solunons.
Ans: n