LPP UNIT - I notes
LPP UNIT - I notes
world
Engineering
LINEAR PROGRAMMING
RV College of Go, change the world
Engineering
APPLICATIONS:
❑ In Transportation optimization, systems rely upon linear programming for cost and
time efficiency. Bus and train routes must factor in scheduling, travel time and
passengers. Airlines use linear programming to optimize their profits according to
different seat prices and customer demand. Airlines also use linear programming for
pilot scheduling and routes. Optimization via linear programming increases airlines'
efficiency and decreases expenses.
❑ Efficient Manufacturing requires transforming raw materials into products that
maximize company revenue. Each step of the manufacturing process must work
efficiently to reach that goal. For example, raw materials must past through various
machines for set amounts of time in an assembly line. To maximize profit, a company
can use a linear expression of how much raw material to use. Constraints include the
time spent on each machine. Any machines creating bottlenecks must be addressed.
The number of products made may be affected, in order to maximize profit based on
the raw materials and the time needed.
❑ In Agriculture farmers apply linear programming techniques to their work. By
determining what crops they should grow, the quantity of it and how to use it
efficiently, farmers can increase their revenue.
RV College of Go, change the world
Engineering
The methods applied for solving a linear programming problem are basically simple. For a
simple problem, a solution can be obtained as set of simultaneous equations in 𝑛 −
variables 𝑥1 , 𝑥2 , . . . . . 𝑥𝑛 can be obtained if there are exactly 𝑛 relations, at least one of
them is non-zero.
When the number of relations is greater than or less than 𝑛, a unique solution does not
exist, but a number of trail solutions can be found. In various practical situations the
problems are seen in which the number of relations is not equal to the number of
variables and many of the relations are in the form of inequalities ≤ 𝑜𝑟 ≥ to maximize
(or minimize) a linear function of the variables subject to such conditions. Such problems
are known as Linear Programming Problems (LPP).
Definition. The general LPP calls for optimizing (maximizing/minimizing) a linear function
for variables called the ‘objective function’ subject to a set of linear equations and/or
inequalities called the ‘constraints’ or restrictions.
RV College of Go, change the world
Engineering
Mathematical Formulation:
RV College of Go, change the world
Engineering
Formulation:
Let 𝑥1 be the number of products of type A and 𝑥2 the number of products of type B.
The given information is systematically arranged in the form of the following table.
RV College of Go, change the world
Engineering
Since the profit on type A is Rs. 2 per product, 2𝑥1 will be the profit on selling 𝑥1
units of type A. 3𝑥2 will be profit on selling 𝑥2 units of type B.
Therefore, total profit on selling 𝑥1 units of A and 𝑥2 units of B is given by
𝑧 = 2𝑥1 + 3𝑥2 (objective function)
Since machine G takes 1-minute time on type A and 1-minute time on type B, the total
number of minutes required on machine G is given by:
𝑥1 + 𝑥2 .
Similarly, the total number of minutes required on machine H is given by:
2𝑥1 + 𝑥2 .
RV College of Go, change the world
Engineering
But machine G is not available for more than 6 hour 40 minutes (=400
minutes). Therefore,
𝑥1 + 𝑥2 ≤ 400. (first constraint)
Also, the machine H is available 10 hours only, therefore,
2𝑥1 + 𝑥2 ≤ 600. (second constraint)
Formulation:
Let 𝑥 be the number of units of model 𝑀1 to be produced .
and 𝑦 be the number of units of model 𝑀2 to be produced.
The LPP is
The LPP is
Exercise
1. The manager of an oil refinery must decide on the optimum mix of two possible
blending process of which the inputs and output production run are as follows.
Input Output
2 5 6 5 5
The maximum amount available of crude A and crude B are 250 units and 200 units
respectively. Market demand shows that at least 150 units of gasoline X and 130 units of
gasoline Y must be produced. The profits per production run from process 1 and process 2
are Rs.4 and Rs.5 respectively. Formulate the problem for maximizing the profit.
2. The XYZ company during the festival season combines two factors A and B to form a
gift pack which must weigh 5kg. At least 2kg of A and not more than 4kg of B should be
used . The net profit contribution to the company is Rs.5 Per Kg for A and Rs. 6 Per Kg for
B . Formulate LP model to find the optimal factor mix.
RV College of Go, change the world
Engineering
Definitions:
Consider the LPP
optimize 𝑧 = 𝑐𝑋
subject to the constraints 𝐴𝑋 ≤, =, ≥ 𝑏
and 𝑋 ≥0
Objective function
The function 𝑧 = 𝑐𝑋 = 𝑐1 𝑥1 + 𝑐2 𝑥2 + ⋯ + 𝑐𝑛 𝑥𝑛 which is to be optimized (maximized
or minimized ) is called objective function.
Decision variables:
The variables 𝑥1 , 𝑥2 , … … . . 𝑥𝑛 whose values are to be determined are called decision
variables.
Cost (Profit )coefficients
The coefficients 𝑐1 ,𝑐2 , … … . . 𝑐𝑛 are called cost (profit ) coefficients.
Requirements
The coefficients 𝑏1 ,𝑏2 , … … . . 𝑏𝑛 are called requirements.
Solution
A set of real values 𝑋=( 𝑥1 , 𝑥2 , … … . . 𝑥𝑛 ) which satisfies the constraints 𝐴𝑋ሺ≤, =
, ≥ሻ 𝑏 is called solution.
RV College of Go, change the world
Engineering
Feasible solution
Any non – negative solution which satisfies all the constraints is known as
feasible solution.
i.e, A set of real values 𝑋=( 𝑥1 , 𝑥2 , … … . . 𝑥𝑛 ) which satisfies
(i) the constraints 𝐴𝑋 ≤, =, ≥ 𝑏
(ii) the non negativity restriction 𝑋 ≥ 0 is called feasible solution.
Optimal solution:
A set of real values 𝑋=( 𝑥1 , 𝑥2 , … … . . 𝑥𝑛 ) which satisfies
(i) the constraints 𝐴𝑋 ≤, =, ≥ 𝑏
(ii) the non negativity restriction 𝑋 ≥ 0
(iii) optimize the objective function 𝑧 = 𝑐𝑥 is called optimal solution.
Unbounded solution:
If the value of the objective function z can be increased or decreased indefinitely,
such solutions are called unbounded solutions.
In feasible problem
A linear programming problem is said to be infeasible if there is no solution that
satisfies all the constraints.
It represents a state of in consistency in the set of constraints.
RV College of Go, change the world
Engineering
Formulation:
Labour 8𝑥 5𝑦 ≤ 2600
RV College of Go, change the world
Engineering
The LPP is
(0,520)
C(0,400)
B(200, 200)
FR
D(400, 0)
O A(325,0)
The shaded region R in the graph is the region of feasible solution .Corner points are
O(0,0) C(0,400) A(325,0) and B(200,200)
The value of 𝑧 at these points are
O(0,0) 𝑧 = 0
C(0,400) 𝑧 = 40000
A(325, 0) 𝑧 = 65,0000
D(200, 200) 𝑧 = 60,0000
𝑧 is maximum at A(325,0)
Optimal solution is 𝑥 =325 𝑦 = 0
Optimum 𝑧 is maximum 𝑧=650000
RV College of Go, change the world
Engineering
Example 2 : A company produces two types of food stuffs F1 and F2 which contains three
vitamins V1, V2, V3 respectively. Minimum daily requirement of these vitamins are 1mg,
50mg, and 10mg respectively. Suppose that the food stuff F1 contains 1mg of V1 , 100mg
of V2 and 10mg of V3 whereas F2 contains 1mg of V1 , 10mg of V2 and 100mg of V3. If
the cost of food stuff F1 is Rs.2 and that of F2 is Rs.3, formulate the data as a linear
programming problem and find the minimum cost diet that would supply the body the
minimum requirement of each vitamin by applying graphical method
RV College of Go, change the world
Engineering
The objective function 𝑧 is the total cost of diet containing 𝑥 units of F1 and 𝑦 units
of F2.
𝑧 = 2𝑥 + 3𝑦
Each food stuff contains V1,V2,V3 and their associated inequalities form the
constraints given by
𝑥 + 𝑦 ≥1
100𝑥 + 10𝑦 ≥50
10𝑥 + 100𝑦 ≥ 10
𝑥 ≥ 0, 𝑦 ≥ 0
RV College of Go, change the world
Engineering
C(0,5)
B(0.444, 0.556)
A(1,0)
O
RV College of Go, change the world
Engineering
D(0, 5) 𝑧 = 15
Solve graphically
Max 𝑧 = 3𝑥 + 2𝑦
Subject to the constraints −2𝑥 + 3𝑦 ≤ 9
−3𝑥 + 2𝑦 ≥20
𝑥 ≥ 0, 𝑦 ≥0
RV College of Go, change the world
Engineering
−3𝑥 + 2𝑦 =20
−2𝑥 + 3𝑦 = 9
4. 80 persons decide to go on a tour .They intend hiring some cars and some vans.
The capacity of a car is 5 where as the capacity of a van is 8. A car costs Rs. 3 per
running kilometre where as a van costs Rs.4 per running kilometre .There are few
old persons and so to carry them a minimum of 2 cars should be hired. The number of
vans available is only 8. Find the number of cars and vans that should be hired so that
cost is minimized.
RV College of Go, change the world
Engineering
Basic solution
Let there be m simultaneous linear equations in n unknowns 𝐴𝑋 = 𝐵 (m<n)
where A is an m x n matrix of rank m
Any solution which is obtained by solving m variables keeping the remaining n-m
variables zero is called a basic solution. Such m variables are called basic
variables and remaining zero variables are called non-basic variables.
𝑛!
The number of basic solutions thus obtained will be at the most 𝑛𝐶𝑚 =
ሺ𝑛−𝑚ሻ!𝑚!
which is the number of combinations of n things taken m at a time.
Basic feasible solution:
A basic feasible solution is a basic solution which also satisfies non negative
restrictions (i.e, all basic variables are non-negative).
Basic feasible solutions are of two types:
a. Non-degenerate:
A non-degenerate basic feasible solution is one in which basic variables are non-zero
i.e, none of the basic variables are zero
b. Degenerate:
A basic feasible solution is degenerate if one or more basic variables are zero.
Basic in feasible solution:
If any basic variables in the basic solution is negative then such a basic solution
is called basic infeasible solution.
RV College of Go, change the world
Engineering
First decide the maximum number of basic solutions. The maximum possible number of
3!
basic solutions will be 3𝐶2 = 2!ሺ3−2ሻ! = 3.
Now put 3 − 2 = 1 unknowns zero
Now put 𝑥1 = 0 and solve for 𝑥2 and 𝑥3 , the values obtained are 𝑥2 = −1, 𝑥3 = 2.
Again put 𝑥2 = 0 and solve for 𝑥1 and 𝑥3 , the values obtained are 𝑥1 = −0.5, 𝑥3 =
3
.
2 finally put 𝑥 = 0 and solve for 𝑥 and 𝑥 , the values obtained are 𝑥 = −2, 𝑥 = 3
3 1 2 1 2
This verifies that three basic solutions exist and are infeasible .
RV College of Go, change the world
Engineering
First decide the maximum number of basic solutions. The maximum possible number of
4!
basic solutions will be 4𝐶2 = 2!2! =6.
Now put 6 − 4 = 2 unknowns zero
BV NBV BV is the solution feasible
𝑥1 , 𝑥2 𝑥3 , 𝑥4 = 0 𝑥1 = 1 , 𝑥2 = 2 Yes
45
𝑥1 , 𝑥3 𝑥2 , 𝑥4 = 0 𝑥1 = 13 , 𝑥3 = −14/13 No
𝑥1 , 𝑥2 𝑥3 = 0 𝑥1 = 3 , 𝑥2 = 5 Yes No
𝑥3 , 𝑥2 𝑥1 = 0 𝑥3 = 3 , 𝑥2 = −1 No No
Exercise
1. Find all basic solution for the system of simultaneous equations:
2𝑥1 + 6𝑥2 + 2𝑥3 + 𝑥4 = 3
6𝑥1 + 4𝑥2 + 4𝑥3 + 6𝑥4 = 2
RV College of Go, change the world
Engineering
Note:
If the constraint of the LPP be of the type “≤ " then the non negative which is added to
the LHS of the constraint to convert it into equation is called slack variable.
If the constraint of the LPP be of the type “ ≥ " then the non negative which is
subtracted from LHS of the constraint to convert it into equation is called surplus
variable.
Standard form of linear programming problem:
The standard form of the linear programming problem is used to develop the general
procedure for solving any linear programming problem. The characteristics of the standard
form are explained in the following steps:
Step 1: All the constraints should be converted to equations except for the non-negativity
restrictions which remains as inequalities.
Step 2: The RHS element of each constraint should be made non-negative.
Step 3: All variables must have non-negative restrictions .If any unrestricted variable 𝑥𝑖
can be written as 𝑥𝑖 + − 𝑥𝑖 − where 𝑥𝑖 + and 𝑥𝑖 − are non negative.
Step 4: The objective function should be of maximization type. The minimization of the
function z is converted into maximization type using Min-Max theorem
i.e, Min z= -Max(-z).
consider A={1,2,3,……} Min A = 1 -Max(-A)= 1
-A={-1,-2,-3,….} Max(-A)= -1
RV College of Go, change the world
Engineering
and 𝑥 ≥ 0, 𝑦 ≥0, 𝑠1 ≥ 0, 𝑠2 ≥ 0
3. Minimize 𝑧 = 𝑥1 + 𝑥2 + 3𝑥3
Subject to the constraints 3𝑥1 + 2𝑥2 + 𝑥3 ≤ 3
2𝑥1 + 𝑥2 + 2𝑥3 ≤ 3
and 𝑥 ,𝑥 ,𝑥 ≥ 0
RV College of Go, change the world
Engineering
and 𝑥1 , 𝑥2 , 𝑥3 , 𝑠1 , 𝑠2 ≥ 0
−𝑥1 + 𝑥2 − 3 𝑥3 , − 𝑥3 ,, − 𝑠3 =5
and 𝑥1 , 𝑥2 , 𝑥3 , , 𝑥3 ,, , 𝑠1 , 𝑠2 , 𝑠3 ≥ 0
RV College of Go, change the world
Engineering
SIMPLEX METHOD
Use Simplex method to solve the following LPP
Max 𝑧 = 4𝑥1 + 10𝑥2
Subject to the constraints 2𝑥1 + 𝑥2 ≤ 50
2𝑥1 + 5𝑥2 ≤100
2𝑥1 + 3𝑥2 ≤90
and 𝑥1 , 𝑥2 ≥ 0
RV College of Go, change the world
Engineering
Table 1
𝑐𝑗 4 10 0 0 0
5 –pivot element
Table 2
𝑐𝑗
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 𝑠3 soln Ratio
RV College of Go, change the world
Engineering
Table 1
𝑐𝑗 -1 3 -2 0 0 0
CB BV 𝑥2 𝑥3 𝑥5 𝑠1 𝑠2 𝑠3 sol Rati
u o
0 𝑠1 3 -1 2 1 0 0 7 -7
0 𝑠2 -2 4 0 0 1 0 12 3
0 𝑠3 -4 3 8 0 0 1 10 3.33
3
𝑧𝑗 ′ − 𝑐𝑗 1 -3 2 0 0 0 0
RV College of Go, change the world
Engineering
Table 2
𝑐𝑗
CB BV 𝑥2 𝑥3 𝑥5 𝑠1 𝑠2 𝑠3 solu
𝑠1
𝑥3 1
𝑠3
RV College of Go, change the world
Engineering
Table 3
10 1 -1/2 1 11
12/5 1/5 4/5 0 11
RV College of Go, change the world
Engineering
SIMPLEX METHOD
Use Simplex method to solve the following LPP
Max 𝑧 = 𝑥1 + 2𝑥2
Subject to the constraints 𝑥1 − 𝑥2 ≤ 10
2𝑥1 − 𝑥2 ≤40
and 𝑥1 , 𝑥2 ≥ 0
SIMPLEX METHOD
Use Simplex method to solve the following LPP
Max 𝑧 = 𝑥1 + 2𝑥2
Subject to the constraints 𝑥1 − 𝑥2 ≤ 10
2𝑥1 − 𝑥2 ≤40
and 𝑥1 , 𝑥2 ≥ 0
𝑐𝑗 1 2 0 0
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 soln Ratio
0 𝑠1 1 -1 1 0 10
0 𝑠2 2 -1 0 1 40
𝑧𝑗 −𝑐𝑗 -1 -2 0 0 0
RV College of Go, change the world
Engineering
SIMPLEX METHOD
Algorithm
Step 1: Write the standard form of given LPP
Step 2: Obtain an initial basic feasible solution to the problem and
put it in the solution column of the simplex table
Step 3: Compute net evaluation 𝑧𝑗 − 𝑐𝑗 by using the relation 𝑧𝑗 −
𝑐𝑗 = 𝑐𝐵 𝑥𝑗 - 𝑐𝑗 (j=1,2,…n) where 𝑐𝐵 is the matrix of costs corresponding
to the basic variables in the objective function.
(i) If all 𝑧𝑗 − 𝑐𝑗 ≥ 0 then initial basic feasible solution is an optimal
basic feasible solution
(ii) If at least one 𝑧𝑗 − 𝑐𝑗 <0 go to next step.
Step 4: If there are more than one negative 𝑧𝑗 − 𝑐𝑗 , choose the most
negative of them.
If corresponding to any negative 𝑧𝑗 − 𝑐𝑗 all elements of the column 𝑥𝑗
are negative or zero then there is an unbounded solution to given
LPP
RV College of Go, change the world
Engineering
Simplex table -1
𝑐𝑗 3 2 3 0 0 -M
CB BV 𝑥1 𝑥2 𝑥3 𝑠1 𝑠2 𝐴1 soln Ratio
0 𝑠1 2 1 1 1 0 0 2 2
-M 𝐴1 3 4 2 0 -1 1 8 2
𝑧𝑗 -𝑐𝑗 -3M-3 -4M-2 -2M-3 0 M 0 -8M
Simplex table -2
𝑅1 → new 𝑅1
𝑅2 → 𝑅2 - 4(new 𝑅1 ሻ , 𝑅3 → 𝑅3 +( 4M+2)(new 𝑅1 )
𝑐𝑗 3 2 3 0 0 -M
CB BV 𝑥1 𝑥2 𝑥3 𝑠1 𝑠2 𝐴1 soln Ratio
0 𝑥2 2 1 1 1 0 0 2
-M 𝐴1 3- 4- 2- 0- -1- 1 0
4(2)=-5 4(1)=0 4(1)= 4(1)= 4(0)=-
-2 -4 1
𝑧𝑗 -𝑐𝑗 5M+1 0 2M-1 4M+ M 0 4
2
Since all 𝑧𝑗 -𝑐𝑗 ≥ 0 , 𝑎𝑟𝑡𝑖𝑓𝑖𝑐𝑖𝑎𝑙 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒 𝑝𝑟𝑒𝑠𝑒𝑛𝑡 𝑖𝑛 𝑡ℎe optimum solution at zero
level, we obtain a degenerate basic feasible solution.
Hence an optimum basic feasible solution is max z=4 when 𝑥1 =0 , 𝑥2 =2 and 𝑥3 =0
RV College of Go, change the world
Engineering
Simplex table -2
𝑅2 → 𝑅2 - 4(new 𝑅1 ሻ 𝑅3 → 𝑅3 + (4M+2)(new 𝑅1 ሻ
𝑐𝑗 3 2 3 0 0 -M
CB BV 𝑥1 𝑥2 𝑥3 𝑠1 𝑠2 𝐴1 soln Ratio
0 𝑥2 2 1 1 1 0 0 2
-M 𝐴1 -5 0 -2 -4 -4 1 0
𝑧𝑗 -𝑐𝑗 5M+1 0 2M-1 4M+2 M 0 4
Since all 𝑧𝑗 -𝑐𝑗 ≥ 0 and artificial variable present In the optimum solution at zero
level, we obtain a degenerate basic feasible solution.
Hence an optimum basic feasible solution is 𝑥1 =0 and 𝑥2 =2 𝑥3 =0 and Max z= 4
RV College of Go, change the world
Engineering
Simplex table -1
𝑐𝑗 3 2 0 0 -M
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 𝐴1 soln Ratio
0 𝑠1 2 1 1 0 0 2
-M 𝐴1 3 4 0 -1 1 12
𝑧𝑗 -𝑐𝑗 -3M-3 -4M-2 0 M 0 -12M
Simplex table -1
𝑐𝑗 3 2 0 0 -M
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 𝐴1 soln Ratio
0 𝑠1 2 1 1 0 0 2
-M 𝐴1 3 4 0 -1 1 12
𝑧𝑗 -𝑐𝑗 -3M-3 -4M-2 0 M 0 -12M
Simplex table -2
𝑅2 → 𝑅2 -4(new 𝑅1 ሻ 𝑅3 → 𝑅3 +(4M+2)(new 𝑅1 ሻ
-3M-3+(4M+2)2 =-3M-3+8M+4=5M+1
0+ (4M+2)1 , -12M+(4M+2)2= -4M+4
𝑐𝑗 3 2 0 0 -M
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 𝐴1 soln Ratio
𝑥2 2 1 1 0 0 2
𝐴1 -5 0 -4 -1 1 4
𝑧𝑗 -𝑐𝑗 5M+1 0 4M+ M 0 -4M+4
2
Since all 𝑧𝑗 -𝑐𝑗 ≥ 0 , 𝒂𝒏 𝒂𝒓𝒕𝒊𝒇𝒊𝒄𝒊𝒂𝒍 𝒗𝒂𝒓𝒊𝒂𝒃𝒍𝒆 appears in the basis at +ve
level the given LPP does not possess any feasible solution but the LPP
possess a PSEUDO optimal solution.
RV College of Go, change the world
Engineering
Minimize 𝑧 = 4𝑥1 + 𝑥2
Subject to the constraints 3𝑥1 + 𝑥2 =3
4𝑥1 + 3𝑥2 ≥6
𝑥1 + 2𝑥2 ≤ 3
and 𝑥1 , 𝑥2 ≥ 0
RV College of Go, change the world
Engineering
Maximize 𝑧 ′ = −4𝑥1 − 𝑥2
Subject to the constraints 3𝑥1 + 𝑥2 =3
4𝑥1 + 3𝑥2 ≥6
𝑥1 + 2𝑥2 ≤ 3
and 𝑥1 , 𝑥2 ≥ 0
RV College of Go, change the world
Engineering
Simplex table -1
𝑐𝑗 -4 -1 0 0 -M -M
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 𝐴1 𝐴2 soln Ratio
-M 𝐴1 3 1 0 0 1 0 3 1
-M 𝐴2 4 3 -1 0 0 1 6 6/4=
0 𝑠2 1 2 0 1 0 0 3 3/1=
1
𝑅1 → 𝑅 , 𝑅2 → 𝑅2 − 4 𝑛𝑒𝑤𝑅1 , 𝑅3 → 𝑅3 − 𝑛𝑒𝑤𝑅1 ,
3 1
𝑅4 → 𝑅4 + ሺ7𝑀 − 4ሻሺ𝑛𝑒𝑤𝑅1 ሻ
Simplex table -2
𝑐𝑗 -4 -1 0 0 -M
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 𝐴2 soln Ratio
-4 𝑥1 1 1/3 0 0 0 1 3
-M 𝐴2 0 5/3 -1 0 1 2 6/5
0 𝑠2 0 5/3 0 1 0 2 6/5
3 1 5
𝑛𝑒𝑤𝑅2 → 5 𝑅2 , 𝑅1 → 𝑅1 - 𝑛𝑒𝑤𝑅2 , 𝑅3 → 𝑅3 − 3 𝑛𝑒𝑤𝑅2 ,
3
5𝑀+1
𝑅4 → 𝑅4 + ሺ ሻ𝑛𝑒𝑤𝑅2
3
Simplex table -3
𝑐𝑗 -4 -1 0 0
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 soln Ratio
𝑥1 1 0 1/5 0 3/5 3
𝑠2 0 0 1 1 0 0
3 1
𝑅2 → 𝑅2 + ሺ𝑛𝑒𝑤𝑅3 ሻ, 𝑅1 → 𝑅1 - 𝑛𝑒𝑤𝑅3 , 𝑅3 → 𝑛𝑒𝑤𝑅3
5 5
1
𝑅4 → 𝑅4 + ሺ5ሻ𝑛𝑒𝑤𝑅3
Simplex table -4
𝑐𝑗 -4 -1 0 0
CB BV 𝑥1 𝑥2 𝑠1 𝑠2 soln Ratio
𝑥1 1 0 0 -1/5 3/5
𝑥2 0 1 0 3/5 6/5
𝑠1 0 0 1 1 0
𝑧𝑗 -𝑐𝑗 0 0 0 1/5 -18/5
This is achieved by assigning a very large penalty (-M for maximization an M for minimization
) in the objective function.
Step 3: Solve the modified LPP by simplex method until any one of
three cases may arise
Exercise
1. Maximize 𝑧 = 𝑥1 + 1.5𝑥2 +2𝑥3 + 5𝑥4
Subject to the constraints 3𝑥1 + 2𝑥2 +4𝑥3 +𝑥4 ≤ 3
2𝑥1 + 𝑥2 +𝑥3 +5𝑥4 ≤4
2𝑥1 + 6𝑥2 −8𝑥3 +4𝑥4 =0
𝑥1 + 3𝑥2 −4𝑥3 +3𝑥4 =0
and 𝑥𝑗 ≥ 0 j= 1,2,3,4
RV College of Go, change the world
Engineering
Thank you!!!