Beruflich Dokumente
Kultur Dokumente
Unit - 1
-Modelling with Linear programming
- Simplex method
- Dual Linear Programming
- Integer Programming
Name : Kasim M. Gora
Roll No. : 37
Introduction
Model Component
Properties of Linear Programming Models
Formulating Linear programming Problem
(LPP)
Linear programming is not a programming language
like C++, Java, or Visual Basic.
A Linear programming problem (LPP) is a special
case of a mathematical programming.
A linear program consists of a set of variables, a
linear objective function indicating the contribution of
each variable to the desired outcome, and a set of
linear constraints describing the limits on the values
of the variables.
The "answer" to a linear program is a set of values for
the problem variables that results in the best --
largest or smallest -- value of the objective function
and yet is consistent with all the constraints.
Formulation is the process of translating a real-world
problem into a linear program.
Once a problem has been formulated as a linear
program, a computer program can be used to solve
the problem.
In this regard, solving a linear program is relatively
easy. The hardest part about applying linear
programming is formulating the problem and
interpreting the solution.
A model consists of linear relationships representing
a firm’s objectives and resource constraints.
◦ Decision variables
Mathematical symbols representing levels of activities
◦ Objective function
A linear mathematical relationship describing an objective of the
firm, in terms of decision variables, that is maximized or
minimized.
◦ Constraints
Restrictions placed on the firm by the operating environment
stated in the relationship of the decision variables.
◦ Parameters/cost coefficients
Numerical coefficients and constants used in the objective
function and constraint equations.
◦ Non-negative
The variables of linear programs must always non-negative
value.
Proportionality
◦ The rate of change of the objective function and the
constraint equation with respect to the perticular
decision variables is contant.
Additivity
◦ Terms in the objective function and constraint equation
must be a dditive.
Divisability
◦ Decision variables can take on any fractional value and
are therefore continuous as opposed to integer in
nature.
Certainty
◦ Values of all the model parameters are assumed to be
know with certainty.
The following steps are involved in the
formulation of linear programming problem
(LPP).
◦ Step 1: Identify the decision variables of the problem.
◦ Step 2: Construct the objective function as a linear
combination of the decision variables.
◦ Step 3: Identify the constraints of the problem such as
resources, limitations, inter-relation between
variables, etc. Formulate these constraints as
linear equations or inequations in terms of the
non-negative decision variables.
Thus, LPP is a collection of the objective function,
the set of constraints and the set of the non-
negative constraints.
A manufacturer produces two types of models M and N. Each M Model requires 4 hours of grinding and
2 hours of polishing, whereas each N model requires 2 hours of grinding and 5 hours of polishing. The
manufacturer has 2 grinders and 3 polishers. Each grinder works for 40 hours a week and each
polishers works for 60 hours a week. Profit on model M is Rs. 3 and model N is Rs. 4. Whatever is
produced in a week is sold in the market. How should the manufacturer allocate his production
capacity to the two types of models so that he may make the maximum profit in a week?
A calculator company produces of handheld calculator and a scientific calculator . Long- term projections
indicate an expected demand of at-least 150 scientific and 100 handheld calculator each day.
Because of limitation on production of capacity no more 250 scientific and 200 handheld can be made daily.
To satisfy a shipping contract minimum of 250 calculators must be shipped each day. If each scientific calculator
sold result in 20 Rs. loss, but each handheld calculator produced a 50 Rs. profit then how many of each type
should be manufactured daily to maximized the net profit?
Name : Kinjal B. Prajapati
Roll No. : 38
The general LPP can be described as follow:
◦ Given a set of m-linear inequalities or equalities in n-variables, we want to find non-
negative values of these variables which will satisfy the constraints and optimize
(maximize or minimize) linear function of these variables (Objective function).
Mathematically, we have m-linear inequalities or equalities in n-variables (m can be
greater than, less than or equal to n) of the form
Z c 1 x 1 c 2 x 2 ... c nx n (2)
The akj, bk and ck are assumed to be known constants. It is assumed that the variables xj
can take any non-negative values allowed by Eqs. (1) and (2). These non-negative values
can be any real number. If the additional restriction is imposed that the variables must
be integer, then linear programming problem is regarded as integer programming
problem.
Thus, LPP is
Optimize Z c 1 x 1 c 2 x 2 ... c nx n ( 3)
subject to the constraints
a k 1 x 1 a k 2 x 2 ... a kn x n{ , , }b k , k 1, 2 ,..., m (4)
and
(5)
In General, constraints will be associated with maximization LPP and constraints
with minimization LPP. Let us write canonical form of maximization problem
Maximize
Z c 1 x 1 c 2 x 2 ... c nx n
subject to the constraints
a k 1 x 1 a k 2 x 2 ... a kn x n b k , k 1, 2 ,..., m
and
The canonical form of minimization problem is
Minimize Z c 1 x 1 c 2 x 2 ... c nx n
and
For solving any LPP by algebraic or analytic method, it is necessary to convert inequalities
(inequations) into equality (equations). This can be done by introducing the so-called slack
and surplus variables.
Consider an inequality of the form a k 1 x 1 a k 2 x 2 ... a kn x n b k . Introduce a variable
n n
s n k b k a kj x j 0 . So that s n k a kj x j b k
j 1 j 1
n
a kj x j s n k b k .
sn k bk a kj x j 0 . So that
j 1
j 1
sn
Such a variable k is known as a surplus variable.
After introducing slack/surplus variables, any given LPP can be expressed as under:
Maximize Z c 1 x 1 c 2 x 2 ... c nx n
Using matrix notations, above LPP in canonical form as well as standard form can be
expressed as follows:
Canonical form :Maximize (Minimize) Z c x Subject to Ax b , x 0 .
T
Standard form: Maximize (Minimize) Z c T x Subject to Ax b , x 0 .
LPP
The set S x R n : Ax b , x 0 is known as the set of all feasible solutions.
F
(3) Basic Solution:
Any solution x
in which at most m-variables are non-zero is called a basic solution.
(4) Basic feasible Solution:
Any feasible solution x R in which k m variables have positive values and
n
the rest n k have zero values is called a basic feasible solution.
If k=m, the basic feasible solution is called non-degenerate.
If k<m, the basic feasible solution is called degenerate.
(5) Optimum Solution:
Any feasible solution, x R which optimizes the objective function Z c x is
n T
10 x 5 y 80
6 x 6 y 66
4 x 8 y 24
5 x 6 y 90
x 0, y 0
Solve the following LPP graphically using ISO profit method.
Maximize
Z 5x 6 y
Subject to the constraints
x y 10
x y3
5 x 4 y 35
x 0, y 0
Name : Miti S. Suthar
Roll No. : 41
Special Case in LP
1 Alternative (or multiple) Optimal Solution
2 An Unbounded Solution
3 Infeasible Solution
4 Redundant Constraint
1. Alternative (or multiple) Optimal Solution
Example :
Solve the following LLP by Graphical method
2. An Unbounded Solution
Example :
Solve the following LPP by graphical method
Example :
Solve the following LPP by Graphical method
Name : Neha P. Parecha
Roll No. : 43
The step of simplex method are
Z 5 x1 4 x 2
Z 5 x1 4 x 2 0 s1 0 s 2 0 s 3
cj 5 4 0 0 0 RR
cB B xB x1 x2 s1 s2 s3
0 s1 10 4 5 1 0 0 10/4
0 s2 9 3 2 0 1 0 9/3
0 s3 12 8 3 0 0 1 12/8
z 0 zj cj
-5 -4 0 0 0
cj 5 4 0 0 0 RR
cB B xB x1 x2 s1 s2 s3
0 s1 4 0 7/2 1 0 -1/2 8/7
0 s2 9/2 0 7/8 0 1 -3/8 36/7
5 x1 3/2 1 3/18 0 0 1/8 4
z 15/2 z j c j 0 -17/8 0 0 5/8
5 4 0 0 0
cj
cB B xB x1 x2 s1 s2 s3
4 8/7 0 1 2/7 0 -1/7
x2
0 7/2 0 0 -1/4 1 -2/8
s2
5 x1 15/14 1 0 -3/28 0 5/28
Maximizes z 139 / 14
Example 2
Use the simplex method to maximize,
Z 10 x 1 x 2 2 x 3
x 1 x 2 2 x 3 10
4 x 1 x 2 x 3 20
x1 , x 2 , x 3 0
Solution : Writing the given LPP in the standard form, we need to add slack
variables s1 , s 2 in the constraints.
Z 10 x1 x 2 2 x 3 0 s1 0 s 2
cj 10 1 2 0 0 RR
cB B xB x1 x2 x3 s1 s2
0 s1 10 1 1 -2 1 0 10
0 s2 20 4 1 1 0 1 5
z 0 z j c j -10 -1 -2 0 0
cj 10 1 2 0 0
cB B xB x1 x2 x3 s1 s2
0 s1 5 0 3/4 -9/4 1 -1/4
10 x1 5 1 1/4 1/4 0 1/4
A company produces two products A and B. These products require three type
of processing. The processing time required for each unit and profit per unit are
given in the following table :
Maximize Z 50 x1 70 x 2 0 s1 0 s 2 0 s3
Subject to constraints: x1 x 2 s1 70
x1 2 x 2 s 2 100
2 x1 x 2 s 3 120
and x1 , x 2 , s1 , s 2 , s 3 0
c j
50 70 0 0 0
cB B xB x1 x2 s1 s2 s3 R.R
0 s1 70 1 1 1 0 0 70
0 s2 100 1 2 0 1 0 50
0 s3 120 2 1 0 0 1 120
Z 0 zj cj -50 -70 0 0 0
x 2 will entre into the basis and s 2 will leave to the basis. The new iterative
table is as given below.
c j 50 70 0 0 0
cB B xB x1 x2 s1 s2 s3 R.R
0 s1 20 1/2 0 1 -1/2 0 40
70 x2 50 1/2 1 0 1/2 0 100
0 s3 70 3/2 0 0 -1/2 1 140/3
Z 3500 zj cj -15 0 0 35 0
For obtain first row of new table divide all the element of key row by key
element 2.
Now to obtain the other row of a table use following formula
(respective elements of old row)-(element of key column in that row)
(respective new elements of key row)=(new row element)
1 1 1 1
For second row ( 70 ,1,1,1, 0 , 0 ) (1)( 50 ,
,1, 0 , , 0 ) ( 20 , , 0 ,1, ,0 )
2 2 2 2
1 1 3 1
For third row (120 , 2,1,0,0,1) (1)( 50 , ,1,0, ,0 ) ( 70 , ,0,0, ,1)
2 2 2 2
x 1 will entre into the basis and s 1 will leave to the basis. The new iterative
table is as given below.
c j
50 70 0 0 0
cB B xB x1 x2 s1 s2 s3 R.R
50 x1 40 1 0 2 -1 0
70 x2 30 0 1 -1 1 0
0 s3 10 0 0 -3 1 1
z 4100 zj cj 0 0 30 20 0
x 1 40
x 2 30
Z max 4100
Company should produce 40 units of A and 30 units of B to get
maximum profit of Rs.4100
Example:
Maximize Z x1 2x2
Subject to constraints: x1 x 2 4
x1 5 x 2 8
and x1 , x2 0
Solution:
Writing the given LPP in the standard form, we need to add slack variables s 1
and s 2 in the constraints. Thus , LPP is
Maximize Z x1 2 x 2 0 s1 0 s 2
Subject to constraints: x1 x 2 s1 4
x1 5 x 2 s 2 8
and x1 , x2 , s1 , s2 0
Putting x1 x 2 0 We get a first iteration as given below
c j 1 2 0 0
cB B xB x1 x2 s1 s2 R.R
0 s1 4 1 -1 1 0 -
0 s2 8 1 -5 0 1 -
Z 0 zj cj -1 -2 0 0
Solution
Maximize Z 5 x 1 10 x 2 8 x 3
Subject to constraints: 3 x 1 5 x 2 2 x 3 60
4 x 1 4 x 2 4 x 3 72
2 x 1 4 x 2 5 x 3 100
and x1 , x2 , x3 0
Writing the given LPP in the standard form, we need to add slack variables
s1 , s 2
and s 3 in the constraints. Thus , LPP is
Maximize Z 5 x1 10 x 2 8 x3 0 s1 0 s 2 0 s3
Subject to constraints: 3 x1 5 x 2 2 x 3 s1 60
4 x1 4 x 2 4 x 3 s 2 72
2 x1 4 x 2 5 x 3 s 3 100
and x 1 , x 2 , x 3 , s 1 , s 2 , s 3 0
Putting x1 x 2 x 3 0 we get a first iteration as given below.
c j 5 10 8 0 0 0
cB B xB x1 x2 x3 s1 s2 s3 R.R
0 s1 60 3 5 2 1 0 0 12
0 s2 72 4 4 4 0 1 0 18
0 s3 100 2 4 5 0 0 1 25
Z 0 zj cj -5 -10 -8 0 0 0
x 2 entre into the basis and s 1 leaves the basis. the new iterative table is
given below.
c j 5 10 8 0 0 0
cB B xB x1 x2 x3 s1 s2 s3 R.R
10 x2 12 3/5 1 2/5 1/5 0 0 30
0 s2 24 8/5 0 12/5 -4/5 1 0 10
0 s3 52 -2/5 0 17/5 -4/5 0 1 260/17
Z 120 zj cj 1 0 -4 2 0 0
x3 entre into the basis and s 2 leaves the basis. The new iterative table is
given below.
c j 5 10 8 0 0 0
cB B xB x1 x2 x3 s1 s2 s3 R.R
10 x2 8 1/3 1 0 1/3 -1/6 0
8 x3 10 2/3 0 1 -1/3 5/12 0
0 s3 18 -8/3 0 0 1/3 -17/12 1
Z 160 zj cj 11/3 0 0 2/3 5/3 0
x1 0
x2 8
x 3 10 Z max 160
Solution :
Writing the given LPP in the standard form, we need to add slack variable
s1 , s 2 and s 3 in the constraints. Since x1 , x2 are unrestricted, we introduce
the non negative variables x 1 0 , x 1 0 and x 2 0 , x 2 0 So that
' " ' "
Putting x1' x1" x2' x2" 0 we get first iteration as given below.
c j
2 -2 3 -3 0 0 0
cB B xB x 1' x 1" x 2' x "
2 s1 s2 s3 R.R
0 s1 4 -1 1 2 -2 1 0 0 2
0 s2 6 1 -1 1 -1 0 1 0 6
0 s3 9 1 -1 3 -3 0 0 1 3
Z 0 zj cj -2 2 -3 3 0 0 0
x 2' entre in the basis and s 1 leave the basis. The iterative table is as follows.
c j
2 -2 3 -3 0 0 0
cB B xB x 1' x 1" x 2' x "
2
s1 s2 s3 R.R
3 x 2' 2 -1/2 1/2 1 -1 1/2 0 0 -
0 s2 4 3/2 -3/2 0 0 -1/2 1 0 8/3
0 s3 3 5/2 -5/2 0 0 -3/2 0 1 6/5
Z 6 zj cj -7/2 7/2 0 0 3/2 0 0
x 1' entre in the basis and s 3 leave the basis. The iterative table is as follows.
c j
2 -2 3 -3 0 0 0
cB B xB x 1' x 1" x 2' x "
2 s1 s2 s3 R.R
3 x 2' 13/5 0 0 1 -1 1/5 0 1/5 13
0 s2 11/5 0 0 0 0 2/5 1 -3/5 11/2
2 x 1' 6/5 1 -1 0 0 -3/5 0 2/5 -
Z 51/5 zj cj 0 0 0 0 -3/5 0 7/5
s 1 entre in the basis and s 2 leave the basis. The iterative table is as follows.
c j
2 -2 3 -3 0 0 0
cB B xB x 1' x 1" x 2' x "
2
s1 s2 s3 R.R
3 x 2' 3/2 0 0 1 -1 0 -1/2 1/2
0 s1 11/2 0 0 0 0 1 5/2 -3/2
2 x 1' 9/2 1 -1 0 0 0 3/2 -1/2
Z 27/2 zj cj 0 0 0 0 0 3/2 1/2
x1 x1' x1" 9 / 2 0 9 / 2
x2 x2' x2" 3 / 2 0 3 / 2 Is the required basic feasible solution
minimize Z= ci xi
i 1
Subject to the constraints:
n
a
j 1
ij x j bi , x j 0
a x
j 1
ij j si b1 , x j , si 0
In this, to preserve the non-negativity of surplus
variables,we add artificial variables Ai , i 1,2,......., m
to get initial basic feasible solution. Thus we have
constraint equations as,
n
a x
j 1
ij j si Ai bi , x j , si , Ai 0
2x1 x2 s1 A1 4
x1 7x2 s2 A2 7
x1, x2 , s1, s2 , A1, A2 0
Here the objective function is Maximize
Z * 0 x1 0 x2 0 s1 0 s2 A1 A2
subject to the constraints:
2x1 x2 s1 A1 4
x1 7x2 s2 A2 7
x1, x2 , s1, s2 , A1, A2 0
Initialize the solution by putting x1 x2 s1 s2 0
then A1 4 and A2 7.
The simplex table is as follows.
Cj 0 0 0 0 -1 -1
CB BV xB x1 x2 s1 s2 A1 A2 RR
-1 A1 4 2 1 -1 0 1 0 4
A2
-1 7 1 7 0 -1 0 1 1
*
z -11 zj cj -3 -8 1 1 -1 -1
x2 enters into the basis and A2 leaves the basis. The new iterative table is,
Cj 0 0 0 0 -1 -1
CB BV xB x1 x2 s1 s2 A1 A2 RR
-1 A1 3 13/7 0 -1 1/7 1 -1/7 21/13
0 x2 1 1/7 1 0 -1/7 0 1/7 7
Cj 0 0 0 0 -1 -1
CB BV xB x1 x2 s1 s2 A1 A2
0 x1 21/13 1 0 -7/13 1/13 7/13 -1/13
z * 0 zj cj 0 0 0 0 1 1
Cj -1 -1 0 0
CB BV xB x1 x2 s1 s2
-1 x1 21/13 1 0 -7/13 1/13
-1 x2 10/13 0 1 1/13 -2/13
z * -31/13 zj cj 0 0 6/13 1/13
Minimize Z x1 x 2 x 3
and x1 , x2 0, x3 is unrestricted.
Since x 3 is unresticted, put x3 x x where x , x 0.
' " ' "
3 3 3 3
Introduce slack variable s1 in the second constraint,
Surplus variable s2 in the third constraint and artificial
Variable A1 and A2 in the first and third constraints.
The resultant LPP is
Maximize Z * x1 x 2 x3 0 s1 0 s 2 A1 A2
CB BV xB x1 x2 x3' x 3" s1 s2 A1 A2 RR
-1 A1 5 1 -3 4 -4 0 0 1 0 5/4
0 s1 3 1 -2 0 0 1 0 0 0 -
-1 A2 4 0 2 -1 1 0 -1 0 1 -
z * -9 zj cj -1 1 -3 3 0 1 0 0
x3' enters the basis and A1 leaves the basis.The new iterative table is,
Cj 0 0 0 0 0 0 -1 -1
CB BV xB x1 x2 x3' x 3" s1 s 2 A 1 A2 RR
0 x3' 5/4 1/4 -3/4 1 -1 0 0 1/4 0 -
0 s1 3 1 -2 0 0 1 0 0 0 -
Cj 0 0 0 0 0 0 -1 -1
CB BV xB x1 x2 x3' x 3" s1 s2 A1 A2
0 x3' 22/5 2/5 0 1 -1 0 -3/5 2/5 3/5
0 s1 57/5 7/5 0 0 0 1 -8/5 2/5 8/5
0 x2 21/5 1/5 1 0 0 0 -4/5 1/5 4/5
z * 0 zj cj 0 0 0 0 0 0 1 1
z *
-43/5 zj cj 2/5 0 0 0 0 7/5
Minimum Z 43 / 5
Show that there does not exist any feasible
solution to the following LPP.
Maximize Z 2x 3x 5x
1 2 3
Cj 0 0 0 0 0 0 -1
CB BV xB x1 x2 x3 s1 s2 s3 A1 RR
0 s1 15 3 10 5 1 0 0 0 15/10
0 s2 33 33 -10 9 0 1 0 0 -
-1 A1 4 1 2 2 0 0 -1 1 2
z *
-4 zj cj -1 -2 -1 0 0 1 0
x2 enters the basis and s1 leaves the basis.The new iterative table is,
Cj 0 0 0 0 0 0 -1
CB BV xB x1 x2 x3 s1 s2 s3 A1 RR
0 x2 3/2 3/10 1 1/2 1/10 0 0 0 5
0 s2 48 36 0 14 1 1 0 0 4/3
-1 A1 1 2/5 0 0 -1/5 0 -1 1 5/2
the basis at a positive level, so the given LPP does not possess any
feasible solution.
Name :Nirali M. Patel
Roll No. : 46
The Big-M method is an alternative method to solve the LPP involving artificial variables. In
this method we assign a very high penalty (say M) to the artificial variables in the objective
function.
The computational algorithm is as follows
Step-1:
Write the given LPP in the standard form maximization. Add slack, surplus and artificial
variables in the constraints as stated in previous two section but assign a very high value
‘-M’ as a coefficient of the artificial variable in the objective function.
Step -2 :
Apply simplex method
z j cto the modified LPP following cases may arise.
j
EXAMPLE (1)
Use Big-M method to maximize z 3 x1 x 2
subject to the constraints:
2 x1 x 2 2
x1 3 x 2 3
x2 4
and x1 , x2 0.
2 x 1 x 2 s 1 A1 2
x1 3 x 2 s 2 3
x2 s3 4
and x1 , x 2 , s 1 , s 2 , s 3 , A1 0 .
Putting x1 x2 s1 0 gives the initial iterate as A1 2, s2 3 and s3 4.
The iterative table is as follows.
cj 3 -1 0 0 0 -M
B.V cB xB x1 x2 s1 s2 s3 A 1 RR
A 1 -M 2 2 1 -1 0 0 1 1→
s2 0 3 1 3 0 1 0 0 3
s3 0 4 0 1 0 0 1 0 -
cj 3 -1 0 0 0
B.V cB xB x1 x2 s1 s2 s3 RR
x 1 3 1 1 ½ -½ 0 0 -
s2 0 2 0 5/2 ½ 1 0 4→
s3 0 4 0 1 0 0 1 -
cj 3 -1 0 0
B.V cB xB x1 x 2 s1 s3
x 1 3 3 1 3 0 0
s1 0 4 0 5 1 0
s3 0 4 0 1 0 1
z=9 0 10 0 0
Maximize z 3 x1 2 x2 0 s1 0 s2 MA1
subject to the constraints :
2 x1 x 2 s 1 2
3 x1 4 x 2 s 2 A1 12
and x1 , x2 , s1 , s2 , A1 0.
Putting x1 x2 s2 0 gives the initial iterate as A1 12 and s1 2.
The iterative table is as follows.
cj 3 2 0 0 -M
B.V cB xB x1 x2 s1 s 2 A 1 RR
s1 0 2 2 1 1 0 0 2
A1 -M 12 3 4 0 -1 1 3
cj 3 2 0 0 -M
B.V cB xB x1 x2 s1 s2 A 1
x 2 2 2 2 1 1 0 0
s1
A1 -M 4 -5 0 -4 -1 1
Here the coefficients of M in each zj cj are non negative and the artificial variable appears at the
zero level. Thus, the LPP has an infeasible solution.
EXAMPLE (3)
Use Big-M method to maximize z 3 x1 2 x2 x3
Subject to the constraints:
2 x1 5 x2 x3 12
3x1 4 x2 11
and x 2 , x3 0 ; x1 unrestricted.
' '' ' ''
Solution: Since x1 is unrestricted, we write x1 x1 x1 . where x1 and x1 0.
Standard form
' ''
Maximize z 3 x1 3 x1 2 x2 x3 MA1
B.V cB xB x1
'
x1
''
x 2 x3 A 1
RR
x 3 1 12 2 -2 5 1 0 12/5
A1 -M 11 3 -3 4 0 1 11/4
x2 enters into the basis and x3 leaves the basis. The new iterative table is
as follows.
cj 3 -3 2 1
-M
''
B.V cB xB x1
'
x1 x 2 x3 A 1
RR
x1' enters into the basis and A1 leaves the basis. The new iterative table is
as follows.
cj 3 -3 2 1
B.V cB xB x1
'
x1
''
x 2 x3 RR
x 2 2 2 0 0 1 3/7 14/3
' 3 1 1 -1 0 -4/7 -
x1
Z=7 0 0 -13/7
x3 enters into the basis and x2 leaves the basis. The new iterative table is
as follows.
cj 3 -3 2 1
B.V cB xB x1
'
x1
''
x 2 x3
x 3 1 14/3 0 0 7/3 1
'
x1 3 11/3 1 -1 4/3 0
Z=47/3 0 0 0
and x1 , x2 0.
and x1 , x 2 , s 1 , s 2 , A1 , A2 0 .
Putting x1 x2 s1 s2 0 gives the initial iterate as A1 4 and A2 7.
The iterative table is as follows.
cj -1 -1 0 0 -M -M
B.V cB xB x1 x2 s1 s2 A 1 A2 RR
A 1 -M 4 2 1 -1 0 1 0 4
A2 -M 7 1 7 0 -1 0 1 1
cj -1 -1 0 0 -M
B.V cB xB x1 x 2 s1 s2 A 1
RR
x2 -1 1 1/7 1 0 -1/7 0 7
cj -1 -1 0 0
B.V cB xB x1 x2 s1 s2
x 1
-1 21/13 1 0 -7/13 1/13
Step-2: Rearrange the column vector of A so that initial basis can be chosen by the first m-column
vectors of A.
and x1 , x 2 0 .
and x1 , x 2 , s 1 , s 2 , s 3 0 .
Putting x1 x2 0 we get first iteration as shown below.
cj 2 1 0 0 0
cB B.V xB x1 x2 s1 s2 s3 RR
0 s1 12 4 3 1 0 0 3
0 s2 8 4 1 0 1 0 2
0 s3 8 4 -1 0 0 1 2
z 0 zj cj -2 -1 0 0 0
↑
Clearly most negative z1 c1 corresponds to x1 . So x1 wil enter the basis. The minimum ratio 2
occurs for both s 2 and s 3 so both tend to leave the basis. So we have degeneracy.Let us rearrange
columns corresponding to x1 , x 2 , s 1 , s 2 , s 3
In such a way that the initial identity matrix appears first.
cj 0 0 0 2 1
cB B.V xB s1 s2 s3 x1 x2 RR
0 s1 12 1 0 0 4 3 -
0 s2 8 0 1 0 4 1 0
0 s3 8 0 0 1 4 -1 0
z 0 zj cj 0 0 0 -2 -1
↑
The minimum ratio 0 occurs for both s
and s 3
2
cj 0 0 0 2 1
cB B.V xB s1 s2 s3 x1 x2 RR
0 s1 12 1 0 0 4 3 -
0 s2 8 0 1 0 4 1 1/4
0 s3 8 0 0 1 4 -1 0←
z 0 zj cj 0 0 0 -2 -1
↑
Here 0/4 =0 is minimum value so s3
leaves the basis.
cj 0 0 0 2 1
cB B.V xB s1 s 2 s3 x1 x2 RR
0 s1 4 1 0 -1 0 4 1
0
s2 0 0 1 -1 0 2 0←
2 x1 2 0 0 1/4 1 -1/4 -
cB B.V xB s1 s2 s3 x1 x 2 RR
0 s1 4 1 -2 1 0 0 4
1 x2 0 0 1/2 -1/2 0 1 -
2 x1 2 0 1/8 1/8 1 0 16
z 4 zj cj 0 3/4 -1/4 0 0
↑
cj 0 0 0 2 1
cB B.V xB s1 s2 s3 x1 x 2 RR
0 s 3 4 1 -2 1 0 0
1 x2 2 1/2 -1/2 0 0 1
z 5 zj cj 1/4 1/4 0 0 0
all z j c j 0
An optimal solution is x1 3 / 2 x2 2
Maximize z=5
EXAMPLE (2)
Solve the following
Maximize z 5 x1 2 x 2 3 x3
Solution: We need to subtract surplus variable s 1 and add artificial variable A 1 in the first
constraint and slack variables s 2 and s
in the next two constraints.
3
Maximize z 5 x1 2 x2 3 x3 0 s1 0 s2 0 s3 MA1
cB B.V xB x1 x2 x 3 s1 s2 s3 A1 RR
-M A 1 2 2 2 -1 -1 0 0 1 1→
0 s2 3 3 -4 0 0 1 0 0 1
0 s3 5 0 1 3 0 0 1 0 -
cj 5 -2 3 0 0 0
cB B.V xB x1 x2 x 3 s1 s s3 RR
2
5 x 1 1 1 1 -1/2 -1/2 0 0 -
0 s2 0 0 -7 3/2 3/2 1 0 0←
0 s3 5 0 1 3 0 0 1 5/3
z 5 zj cj 0 7 -11/2 -5/2 0 0
cj 5 -2 3 0 0 0
cB B.V xB x1 x2 x 3 s1 s s3 RR
2
5 x 1 1 1 -4/3 0 0 1/3 0 -
3 x3 0 0 -14/3 1 1 2/3 0 -
0 s3 5 0 15 0 -3 -2 1 3→
z 5 zj cj 0 -56/3 0 3 11/3 0
↑
cj 5 -2 3 0 0 0
cB B.V xB x1 x2 x 3 s1 s2 s3 RR
cB B.V xB x1 x2 x 3 s1 s2 s3
5 x 23/3 1 0 4 0 1/3 4/3
1
-2 x2 5 0 1 3 0 0 1
Since all z j c j 0
an optimal solution is x 1 23 / 3 and x2 2 and x 3 0
with maximum z=85/3.
Every LPP always have another problem which is called as duality
of primal problem.
e.g.
Maximize Z = 8X + 6Y
Subject to the constraints:
X+Y≤4
4X + 5Y ≤ 3
and X,Y ≥ 0
SOLUTION : Primal is
Maximize Z = 8X + 6Y
The equation (1) and (3) are same. When X and W are same.
and X₁,X₂,X₃ ≥ 0.
Let Y₁ ,Y₂ ,Y₃ be dual variable corresponding to each of the primal constraint.
Then dual problem is
and Y₁,Y₂,Y₃ ≥ 0.
Example : 3 Write dual of LPP:
and X₁,X₂,X₃ ≥ 0.
SOLUTION : Primal is
and X₁,X₂,X₃ ≥ 0.
Let Z₁ ,Z₂ ,Z₃, Z4, Z5 be dual variable corresponding to each of the primal constraint. Then dual
problem is;
and Z1,Z₂,Z₃,Z₄,Z₅ ≥ 0
Maximize Z = 3X₁ + X₂ + X₃ – X₄
and X₁ , X₂ , X₃ , X₄ ≥ 0
SOLUTION : Primal is
Maximize Z = 3X₁ + X₂ + X₃ – X₄
Subject to constrains: W₁ - W₂ ≥ 3
5W₁-W₂ ≥ 1
3W₁ + W₃ ≥ 1
4W₁ - W₂ ≥ -1
Minimize Z = X1-3X2-2X3
we have primal as
Minimize Z = X1-3X2-2(X′3-X″3)
Rewriting primal problem as minimization problem with all constraints ≥ (-) type:
Minimize Z = X1-3X2-2(X′3-X″3)
Instead of working out the dual in the above manner, the following way can
also be applied by using the table given below.
Primal (minimize with Dual
≥)
Minimize Z = X1-3X2-2X3 Maximize
Z* = -7W1 + 12W2 – 10W
Subject to constrains:
-3X1 + X2 - 2X3 ≥ -7 Subject to the constraints:
2X1 – 4X2≥12
4X1 - 3X2 -8X3 = -10 -3W1 + 2W2 + 4W ≤ 1
W1 - 4W2 - 3W ≤ -3
and X1 , X2 ≥ 0 and X3 2W1 + 8W = 2
unrestricted.
W1 ≥ 0, W2 ≥ 0 and W
is unrestricted .
CB Cj -3 -2 0 0 0 0
BV X1 X2 S1 S2 S3 S4 XB
0 S1 -1 -1 1 0 0 0 -1
0 S2 1 1 0 1 0 0 7
0 S3 -1 -2 0 0 1 0 -10
0 S4 0 1 0 0 0 1 3
ITEARATION TABLE : 1
CB Cj -3 -2 0 0 0 0
BV X1 X2 S1 S2 S3 S4 XB
0 S1 -1 -1 1 0 0 0 -1
0 S2 1 1 0 1 0 0 7
0 S3 -1 -2 0 0 1 0 -10
0 S4 0 1 0 0 0 1 3
Zj 0 0 0 0 0 0
Cj-Zj -3 -2 0 0 0 0
CB Cj -3 -2 0 0 0 0
BV X1 X2 S1 S2 S3 S4 XB
0 S1 -1 -1 1 0 0 0 -1
0 S2 1 1 0 1 0 0 7
0 S3 -1 -2 0 0 1 0 -10
0 S4 0 1 0 0 0 1 3
Zj 0 0 0 0 0 0
Cj-Zj -3 -2 0 0 0 0
RR 3 1 - - - -
Here, Cj – Zj ≤ 0 but XB ≤ 0.
Thus, X2 will enter into the basis and S3 will leave the
basis in the next table.
CB Cj -3 -2 0 0 0 0
BV X1 X2 S1 S2 S3 S4 XB
0 S1 -1 -1 1 0 0 0 -1
0 S2 1 1 0 1 0 0 7
-2 X2 1/2 1 0 0 -1/2 0 5
0 S4 0 1 0 0 0 1 3
Zj 0 0 0 0 0 0
Cj-Zj -3 -2 0 0 0 0
RR 3 1 - - - -
CB Cj -3 -2 0 0 0 0
BV X1 X2 S1 S2 S3 S4 XB
0 S1 -1/2 0 1 0 -1/2 0 4
0 S2 1/2 0 0 1 1/2 0 2
-2 X2 1/2 1 0 0 -1/2 0 5
0 S4 -1/2 0 0 0 1/2 1 -2
Zj -1 -2 0 0 1 0 -10
Cj-Zj -2 0 0 0 -1 0
RR 4 - - - - -
0 S1 4 6 3 1 0 0 8
0 S2 1 -9 1 0 1 0 -3
0 S3 -2 -3 5 0 0 1 -4
Zj 0 0 0 0 0 0
Cj-Zj -2 -1 -1 0 0 0
RR 1 1/3 - - - -
BV X1 X2 X3 S1 S2 S3
0 S1 4 6 3 1 0 0 8
0 S2 1 -9 1 0 1 0 -3
-1 X2 2/3 1 -5/3 0 0 -1/3 4/3
Zj 0 0 0 0 0 0
Cj-Zj -2 -1 -1 0 0 0
RR 1 1/3 - - - -
CB Cj -2 -1 -1 0 0 0 XB
BV X1 X2 X3 S1 S2 S3
0 S1 0 0 13 1 0 2 0
0 S2 7 0 -14 0 1 -3 9
Maximize z = 3x1+4x2
• But the first three points are out of the feasible region. so, if we
consider that after rounding off the solution would be (3,1),then we
would be mistaken because z=13 at (3,1) but (2,2) gives z=14,which
is a better solution than (3,1) and in this case optimal.
FORMS OF INTEGER PROGRAMMIG PROBLEMS(IPP)
The LP can be classified in to three forms:
Pure integer programming problem in which all decision variable are required
to have integer values.
The standard form of IPP is:
Maximize z = cTx
subject to the constraints:
n m
Ax≤b,x≥0 are integers where x , c Є R ,A : m Х n, b Є R .
Roll no.: 52
GOMORY’S CUTTING PLANE METHOD
In 1956 , R.E. Gomory developed this method to solve IPP using dual
simplex method.
He generated a sequence of linear inequalities called cuts which reduce
a part of the feasible region of the corresponding LPP to obtain integer
solution. The method of cutting the feasible region of an LPP is called
cutting plane method.
Step 1: Write the given LPP with objective as
maximization with all the constraints as type.
Step 2: Solve the problem by the simplex method.
Step 3: If the solution obtained is integer, the
problem has obtained optimal solution. If all xBi 0
but some of them are not integers, go to step 4.
Step 4: Choose the largest fraction of x Bi ‘s (say)
xBk . Express each of the negative fraction(if any)
in the k-th row of the optimal simplex table as a
sum of a negative integer and non-negative
fraction.
Step 5: Construct the Gomorian constraint:
n n
f
j 1
kj x j fk i.e g1 f k f kj x j
j 1
where g is
1 called the Gomorian slack variable
and all f kj 0 .
Step 6: Add the cutting plane generated in step 5
at the bottom of the optimum simplex table
obtained in step 2. Find the new optimum
solution using the dual simplex method.
Step 7: Repeat step 3 to 6 until all integral
solution is obtained.
EXAMPLE 1: Find the optimum integer
solution of LPP:
Maximize z 4 x1 3 x 2
z 0 zj cj -4 -3 0 0
cj 4 3 0 0
cB B xB x1 x2 s1 s2 RR
0 s1 1 0 3/2 1 -1/2 2/3
4 x1 3 1 1/2 0 1/2 6
z 12 zj cj 0 -1 0 2
cj 4 3 0 0
cB B xB x1 x2 s1 s2
3 x2 2/3 0 1 2/3 -1/3
4 x1 8/3 1 0 -1/3 2/3
z 38/3 z j c j 0 0 2/3 5/3
cj 4 3 0 0 0
cB B xB x1 x2 s1 s2 g1
3 x2 2/3 0 1 2/3 -1/3 0
4 x1 8/3 1 0 -1/3 2/3 0
0 g1 -2/3 0 0 -2/3 -2/3 1
cj 4 3 0 0 0
cB B xB x1 x2 s1 s2 g1
3 x2 0 0 1 0 -1 1
4 x1 3 1 0 0 1 -1/2
0 s1 1 0 0 1 1 -3/2
z 12 zj cj 0 0 0 1 1
0 s2 35 7 1 0 1 35
z 0 zj cj -7 -9 0 0
cj 7 9 0 0
cB B xB x1 x2 s1 s2 RR
9 x2 2 -1/3 1 1/3 0 -
0 s2 33 22/3 0 -1/3 1 9/2
z 18 z j c j -10 0 3 0
cj 7 9 0 0
cB B xB x1 x2 s1 s2
9 x2 7/2 0 1 7/22 1/22
7 x1 9/2 1 0 -1/22 3/22
z 63 zj cj 0 0 28/11 15/11
f
j 1
kj x j fk
1
2 2x 7
22 1
1
22 2 s s
Therefore, the corresponding Gomorian slack variable is
n
g1 f k f kj x j i.e g1 12 227 s1 221 s2
j 1
12 227 s1 221 s2 g1
Insert this constraint at the bottom of the previous optimal table.
cj 7 9 0 0 0
cB B xB x1 x2 s1 s2 g1
9 x2 7/2 0 1 7/22 1/22 0
7 x1 9/2 1 0 -1/22 3/22 0
0 g1 -1/2 0 0 -7/22 -1/22 1
z 63 zj cj 0 0 28/11 15/11 0
RR - - -8 -30 0
f j 1
kj x j fk
4
7 x1 17 s 2 1
7 g1
x1 1
7 s 2 ( 1 76 ) g 1
Taking all the integral parts on one side, the corresponding
fractional cut is given by
g2 74 17 s2 76 g1
74 17 s2 76 g1 g2
Adding this slack variable in the previous optimal table, we
get
cj 7 9 0 0 0 0
cB B xB x1 x2 s1 s2 g1 g2
9 x2 3 0 1 0 0 1 0
7 x1 32/7 1 0 0 1/7 -1/7 0
0 s1 11/7 0 0 1 1/7 -22/7 0
0 g2 -4/7 0 0 0 -1/7 -6/7 1
z 59 zj cj 0 0 0 1 8 0
RR - - - -7 -28/3 -
cj 7 9 0 0 0 0
cB B xB x1 x2 s1 s2 g1 g2
9 x2 3 0 1 0 0 1 0
7 x1 4 1 0 0 0 -1 1
0 s1 1 0 0 1 0 -4 1
0 s2 4 0 0 0 1 6 -7
z 55 zj cj 0 0 0 0 2 7
and x1 , x 2 , x 3 , s1 , A 0
cj 2 20 -10 0 -M
cB B xB x1 x2 x3 s1 A RR
0 s1 15 2 20 4 1 0 3/4
-M A 20 6 20 4 0 1 1
z -20M z j c j -6M-2 -20M-20 -4M+10 0 0
cj 2 20 -10 0 -M
cB B xB x1 x2 x3 s1 A RR
20 x2 3/4 1/10 1 1/5 1/20 0 15/2
-M A 5 4 0 0 -1 1 5/4
z 15-5M zj cj -4M 0 14 1+M 0
cj 2 20 -10 0
cB B xB x1 x2 x3 s1
20 x2 5/8 0 1 1/5 3/40
2 x1 5/4 1 0 0 -1/4
z 15 zj cj 0 0 14 1
g 1 85 1
5 x3 3
40 s1
85 15 x3 403 s1 g1
Adding this slack variable in the previous optimal table , we get
cj 2 20 -10 0 0
cB B xB x1 x2 x3 s1 g1
20 x2 5/8 0 1 1/5 3/40 0
2 x1 5/4 1 0 0 -1/4 0
0 g1 -5/8 0 0 -1/5 -3/40 1
z 15 zj cj 0 0 14 1 0
RR - - -70 -40/3 0
Solving the above table by the dual simplex method suggests that g1
exits and s 1 enters.
cj 2 20 -10 0 0
cB B xB x1 x2 x3 s1 g1
20 x2 0 0 1 0 0 1
2 x1 10/3 1 0 2/3 0 -10/3
0 s1 25/3 0 0 8/3 1 -40/3
z 20/3 zj cj 0 0 34/3 0 40/3
Since the solution is non-integer, a fractional cut is constructed from
the third row,
8 1
3 (2 2
3 ) x 3 s 1 ( 14 2
3 ) g1
g2 1
3 2
3 x3 2
3 g1
1
3 23 x3 23 g1 g 2
Adding this slack variable in the previous optimal table, we get
cj 2 20 -10 0 0 0
cB B xB x1 x2 x3 s1 g1 g2
20 x2 0 0 1 0 0 1 0
2 x1 10/3 1 0 2/3 0 -10/3 0
0 s1 25/3 0 0 8/3 1 -40/3 0
0 g2 -1/3 0 0 -2/3 0 -2/3 1
z 20/3 zj cj 0 0 34/3 0 40/3 0
RR - - -17 - -20 0
Then the dual simplex method suggests that x 3enters and g 2 leaves the basis.
cj 2 20 -10 0 0 0
cB B xB x1 x2 x3 s1 g1 g2
20 x2 0 0 1 0 0 1 0
2 x1 3 1 0 0 0 -4 1
0 s1 7 0 0 0 1 -16 4
-10 x3 1/2 0 0 1 0 1 -3/2
z 1 zj cj 0 0 0 0 2 17
Since the solution is not integer, a third fractional cut is required. From
the last row, we have
1
2 x3 g1 (2 12 ) g2
The corresponding Gomorian slack variable is g 3 12 12 g 2
12 12 g 2 g 3
The new iteration table is
cj 2 20 -10 0 0 0 0
cB B xB x1 x2 x3 s1 g1 g2 g3
20 x2 0 0 1 0 0 1 0 0
2 x1 3 1 0 0 0 -4 1 1
0 s1 7 0 0 0 1 -16 4 4
-10 x3 1/2 0 0 1 0 1 -3/2 -3/2
0 g3 -1/2 0 0 0 0 0 -1/2 1
z 1 zj cj 0 0 0 0 2 17 0
RR - - - - - -34 0
Then drop g 3 and enter g 2 . The improved solution is
cj 2 20 -10 0 0 0 0
cB B xB x1 x2 x3 s1 g1 g2 g3
20 x2 0 0 1 0 0 1 0 0
2 x1 2 1 0 0 0 -4 0 2
0 s1 3 0 0 0 1 -16 0 8
-10 x3 2 0 0 1 0 1 0 -3
0 g2 1 0 0 0 0 0 1 -2
z -16 zj cj 0 0 0 0 2 0 34
Roll no: 53
Example 1: Find the optimum mixed –integer
solution off LLP
Maximize
Subject to the constraints
and
where is an integer
Solution: Using simplex method, the optimum
solution of the LPP without integer requirements
is given below.
Writing the given LPP in the standard form, we
need to add slack variables in the constraints
thus, LPP is
Maximize
Subject to the constraints:
and .
1 1 0 0
RR
0 16 2 5 1 0 8
0 30 6 5 0 1
z 0 -1 -1 0 0
1 1 0 0
RR
0 6 0 10/3 1 -1/3
1 5 1 5/6 0 1/6 6
z 5 0 -1/6 0 1/6
1 1 0 0
1 1 0 0 0
Maximize
Subject to the constraints:
Maximize
Subject to the constraints:
and x1 , x2 , x3 , s1 , s2 , s3. 0
4 6 2 0 0 0
B.V RR
0 5 4 -4 0 1 0 0 -
0 5 -1 6 0 0 1 0
0 5 -1 1 1 0 0 1 5
z 0 -4 -2 0 0 0
4 6 2 0 0 0
B.V RR
0 25/3 10/3 0 0 1 2/3 0
6 5/6 -1/6 1 0 0 1/6 0 -
0 25/6 -5/6 0 1 0 -1/6 1 -
z 5 6 0 0 1 0
4 6 2 0 0 0
B.V RR
4 5/2 1 0 0 3/10 1/5 0 -
6 5/4 0 1 0 1/20 1/5 0 -
0 25/4 0 0 1 1/4 0 1
z 35 0 0 3/2 2 0
4 6 2 0 0 0
B.V RR
4 5/2 1 0 0 3/10 1/5 0
6 5/4 0 1 0 1/20 1/5 0
2 25/4 0 0 1 1/4 0 1
z 30 0 0 0 2 2 2
Adding this slack variable in the previous optimal
table we get
4 6 2 0 0 0 0
B.V
4 5/2 1 0 0 3/10 1/5 0 0
6 5/4 0 1 0 1/20 1/5 0 0
2 25/4 0 0 1 1/4 0 1 0
0 -1/2 0 0 0 -3/10 -1/5 0
z 30 0 0 0 2 2 2 0
RR 0 0 0 -10 0 0
4 6 2 0 0 0 0
B.V
4 2 1 0 0 0 0 0 1
6 7/6 0 1 0 0 1/6 0 1/6
2 35/6 0 0 1 0 -1/6 1 5/6
0 5/3 0 0 0 1 2/3 0 -10/3
z 80/3 0 0 0 0 2/3 2 20/3
4 6 2 0 0 0 0
B.V
4 2 1 0 0 0 0 0 1 0
6 7/6 0 1 0 0 1/6 0 1/6 0
2 35/6 0 0 1 0 -1/6 1 5/6 0
0 5/6 0 0 0 1 2/3 0 -10/3 0
0 -5/6 0 0 0 0 -5/6 0 -5/6
z 80/3 0 0 0 0 2/3 2 20/3 0
RR 0 0 0 0 0 -8 0
The Branch and Bound method divides the feasible region into smaller subprograms and
Examines each of the subprograms successively until a basic feasible solution is obtained.
The iterative steps are as follows :
Step 2 : If the solution obtained is integer then terminate the process, otherwise go to
step 3.
Step 3: Calculate the value of the objective function and treat it as upper bound. Obtain
the lower bound by rounding off to the integer values of the decision variables.
Step 4 : Let xj be not an integer value. The sub-divide given LPP into two subprograms.
1. If the optimum solutions of the two subprograms are integral, then the
required solution is one that gives larger value of the objective function.
2. If the optimum solution of one subprogram is integral and that of the other
has no feasible solution, then the required solution is of that subprogram
which satisfies integer requirement of the decision variables.
3. If the optimum solution of one subprogram is integral and that of the other
is non-integral, then repeat steps 3 and 4 for the non-integer valued sub-
program only.
Step 7 : Choose the solution amongst the obtained integer valued solutions that gives
an optimum value of the objective function.
Example :1 Find the optimum integer solution of LPP using B & B method.
Solution: Ignoring the restriction of integers, then we will get optimum solution is
Subprogram B : Minimize Z = 4 x1 3 x2
5 x1 3 x2 30
x1 4
x2 6
x2 3
x1, x2 0
There is no feasible solution, so the optimum solution of subprogram B is infeasible
Now,
Subprogram C:
Minimize z = 4 x1 3x2
5x1 3x2 30
x1 4
x2 6
x2 4
x1, x2 0
So , 18 132
x1 , x2 4 and minimum z =
5 5
x1 3, x2 5 and minimum z = 27
Subprogram E :
Minimize z = 4 x1 3 x2
5x1 3x2 30
x1 4
x2 6
x2 4
x1 4
x1, x2 0
The optimum solution of subprogram E is x1 4, x 2 4
and minimum z = 28.
The tree diagram for the optimal integral solution is given in bellow figure.
Example 2: Find the optimum integer solution of LPP using B & B method:
Maximize z = 8 x1 5 x2
Subject to the constraints:
9 x1 5 x2 45
x1 x2 6
and x1 , x2 0 & integers.
Solution : Ignoring the restriction of integers, then we will get optimum solution is
x1 15 4 , x2 9 4 and z = 165
4
Here , x1 15 4 , x2 9 4
Both are non-integral but x1 x2
Then there is two new branches, x1 3 (Subprogram B) and x1 4 (subprogram C)
x1 4, x2 9
5
x1 , x2 0
The optimum solution of subprogram B is x1 3, x2 3
and maximize z = 39
Subprogram C: Maximize z = 8 x1 5 x2
9 x1 5 x2 45
x1 x2 6
x1 4
x1 , x2 0
Here , x1 4, x2 9
5 which is not integer
Subprogram D: Maximize z = 8 x1 5 x2
Subprogram E: Maximize z = 8 x 5 x
1 2
9 x1 5 x2 45
x1 x2 6
x1 4
x2 2
x1 , x2 0
So, we need to have branching of subprogram D because x1 40
9 4.44 is not integer.
Subprogram F: Maximize z = 8 x1 5 x2
Subject to the constraints:
9 x1 5 x2 45
x1 x2 6
x1 4
x2 1
x1 4
x1 , x2 0
The optimum solution of the subprogram F is x1 4, x2 1 and maximize z = 37
Subprogram G: Maximize z = 8 x 5 x
1 2
9 x1 5 x2 45
x1 x2 6
x1 4
x2 1
x1 5
x1 , x2 0
The optimum solution of subprogram G is x1 5, x2 0
and maximum z = 40.
The tree diagram for the optimal integral solution is given in bellow figure
a. limitations;
b. requirements;
c. balanced conditions;
conditions;
optimized;
c. (a) or (b);
c. (a) or (b);
b. optimal column;
c. quantity column;
row;
b. a positive cj – zj value;
set;
b. zj ≥ 0, for all j;
c. zj ≤ 0, for all j;
d. cj – zj ≥ 0, for all j.
a. are used to find an initial solution;
iterative table;
termination;
value
d. by choosing it randomly.
a. n constraints and m non-negative variables;
b. is a minimization model;
a. branching.
b. bounding.
c. enumerating.
d. all of the above.
7. Rounding off solution values of decision
variables in an LPP may not be acceptable
because
a. an equality constraint.
b. less than or equal to constraint.
c. greater than or equal to constraint.
d. an artificial variable.
13. The use of cutting plane method
1. b 8. d 15. c
2. c 9. d 16. a
3. a 10. b
4. a 11. b
5. a 12. b
6. a 13. a
7. d 14. c