Linear Programming Problems
Linear Programming Problems
(3)
The above LPP may also be stated in matrix form as follows:
optimze Z = CX
subject to: AX(≤,=,≥)b
And X≥0
Where,
Note:
In a general linear programming problem it is assumed that the number of
rows of coefficients matrix A is less than it's number of columns.
Basic solution:
If there are 'n' number of equations with 'm' number of variables for (m>n),
then setting (m-n) variables to zero the solution thus obtained is known as
the basic solution.
[
No. of basic solution=
m
= m!/n!(m-n)!
[
n
Basic variables:
The variables associated with the basic solution are known as the basic
variables.
Basic solutions are of two types.
1. Non-degenerate basic solutions:
A basic solution is called non degenerate basic solutions,if none of the
basic variables is zero.
Feasible solution :
Any solution which satisfies the conditions of the problem and the non-
negative restrictions is known as feasible solution.
Example:
Find out the basic feasible solution of the problem
Solution:
Here,
no. of equations(n)=2
and no. of variables (m)=3
B1X1
⇒ X1
Putting x1=0
then,
⇒ X3 3
In general we use two methods for the solution of a linear programming problem.
1. Graphical method.
2. Simplex method.
Graphical method :
If the objective function Z is a function of two wariables only then the problem
can be solved by graphical method. A problem of three variables, can be solved
by this method, but it is complicated enough.
Simplex method:
This is the most powerful tool of the linear programming as any problem can be
solved by this method.
This method is an algebraic procedure which progressively approaches the
optimal solution, The procedure is straight forward and requires
only time and patience to execute it manually.
Simplex method
Introduction :
It is either impossible or require great labour to search for optimal solution from
amongst all the feasible solutions which may be infirnite in number. The
fundamental theorem of linear programming which states that sif the given
linear programming problem has an optimal solution, then at least one basic
feasible solution must be optimal” forms a firm base for the solution of L.P.P.
According to this theorem we can search the optimal solution among the basic
feasible solutions only which are finite in number, Also it is casy to find an
optimal among the basic feasibles then to find that among all the feasible
solutions which may be infinite in number. In this way a L.P.P can be solved be
enumerating all the B.F.solutions. But it is also not an easy job to enumerate all
the B.F.solutions even for small values of m(number of constraints) and n (no. of
variables), To over come this dificulty a method known as Simplex Method (or
Simplex Algorithm) was developed by 𝐆𝐞𝐨𝐫𝐠𝐞 𝐃𝐚𝐧𝐭𝐳𝐢𝐠 in 1947 which was made
available in 1951.This method is an iterative (step by step) procedure in which
we pto-ceed in systematic steps from an initial B.P.solution to other
B.F.solutions and finally in a finite number of steps, to an optimal B.E, solution,
in such a way that the value of the objective func.tion at each step (iteration) is
better (or at least not worse) than at the preceding step.
6
In others words the simplex algorithm consists of the following main steps,
(i) Finding a trial B.F.S. of the L.P.P.
(ii) Testing whether it is an optimal solution or not.
(iii) Improving the first trial B.F.S, (if it is not optimal) by a set of rules.
(iv) Repeating the steps (i) and (i) till we get an optimal solution.
Proof.
Let x*= , be an optimal feasible solution of the given L.P.
problem and qixy be the maximum value of the objective function
corresponding to this solution x*.
Suppose that k components (variables) in x* are non-Zero and remaining (m+n-k)
components are zero. We can assume these non-zero components as the first k
components of x*.
(m+n-k)
i.e:
∴ (1)
and (2)
2. If are L. D. This is the case when k >m.In this case we can reduce
the number of non-zero variables step by step as follows.
7
k
(3)
i=1
Now suppose that at least one λ1 is positive because if none is positive
then we can multiply the equation by -I and get positive λ1 .
Let
max (4)
v= (λ i /x i )
1≤i≤k
k
i
i
i=1
or
or
i.e; all the components of the solution x' given by (6) are non-negative and
thus x' is a F. S. to the given L. P.P.
Also from (4),we have
8
i.e; vanishes at least for one value of i. Therefore the B. S. x' given by
(6) cannot have more than (k-1) non-zero components (variables).
Thus we have derived anew F, S. from the given optimal solution, containing
less number of non-zero variables.
∴
= (7)
Either (i)
(ii)
We can find a real number r(negative in case (i) and positive in case (ii) such that
r.
9
or
or
or
(8)
[from (2)]
r unrestricted , when λ i =0
thus k, if we choose r such that
(9)
Also we have
10
Hence when r lies in the non-empty interval given by (9) then the solution given by
or Z'=Z*