350 883237 Linearprogramming
350 883237 Linearprogramming
350 883237 Linearprogramming
Acc . To Prof. George B. Dantzing ,’’ Linear programming is a technique which is applicable
to those programming problems in which the desired objectives as well as the restrictions
on the resources give rise to linear functions.’’
5. The best possible solution is obtained in Linear programming. To solve the problem
of linear programming graphical method is used where each inequality constraint
exhibit a certain area with the help of which best solution is obtained.
6. The dividend, cost or price per unit and quantity of production per unit should be
ascertain.
8. The sum of the quantity of resources engaged in the various activities of linear
programming should be equal to the capacity of other activities.
We can understand the situations in which Linear programming is applied with the help of
the example discussed below,
Suppose a delivery man has to deliver 8 packets in a day to the different locations of a city.
He has to pick all the packets from A and has to deliver them to points P, Q, R, S, T, U, V,
and W. The distance between them is indicated using the lines as shown in the image
below. The shortest path followed by the delivery man is calculated using the concept of
Linear Programming.
Linear Programming Problems
Linear Programming Problems (LPP) involve optimizing a linear function to find the optimal
value solution for the function. The optimal value can be either the maximum value or the
minimum value.
In LPP, the linear functions are called objective functions. An objective function can have
multiple variables, which are subjected to conditions and have to satisfy the linear
constraints.
Coordinat Z = 6x +
es 9y
(0,5) Z = 45
(0,4) Z = 36
(5,0) Z = 30
(6,0) Z = 36
(3,2) Z = 36
Hence, we find that Z = 6x + 9y is maximum at (0,5) and minimum at (5,0).
Linear Programming Applications
Linear Programming has applications in various fields. It is used to find the minimum cost of
a process when all the constraints of the problems are given. It is used to optimize the
transportation cost of the vehicle, etc. Various applications of Linear Programming are
Engineering Industries
Engineering Industries use linear programming to solve design and manufacturing problems
and to get the maximum output from a given condition.
Manufacturing Industries
Manufacturing Industries use linear programming to maximize the profit of the companies
and to reduce the manufacturing cost.
Energy Industries
Transportation Industries
Linear programming is also used in transportation industries to find the path to minimize the
cost of transportation.
Importance of Linear Programming
Linear Programming has huge importance in various industries it maximizes the output value
while minimizing the input values according to various constraints.
Linear Programming Problems
Problem 1: A company manufactures and sells two types of products and the cost of
production of each unit a and b is rupees 200 and 150 respectively each unit of product
yields a profit of 20 rupees and each unit of product b yields a profit of 15 rupees on selling.
The company estimates the monthly demand of A and B to be at a maximum of the
harvested unit in all the production budget for the month is set at rupees 50000. How many
units should the company manufacture to earn maximum profit from its monthly sales from a
and b?
Solution:
Let x = number of units of type A
y = Number of units of type B
Maximize Z = 40x + 50y
Subject to the constraints
3x + y 9
x + 2y 8
and x, y 0
Consider the equation,
3x + y = 9
x=3
y=0
and x + 2y = 8
x=8
y=0
Now, we can determine the maximum value of Z by evaluating the value of Z at the four
points (vertices) is shown below
Vertice
s Z = 40x + 50y
Z = 40 × 0 + 50 × 0 = Rs.
(0, 0) 0
Z = 40 × 3 + 50 × 0 = Rs.
(3, 0) 120
Z = 40 × 0 + 50 × 4 =
(0, 4) Rs. 200
Vertice
s Z = 40x + 50y
Z = 40 × 2 + 50 × 3 = Rs.
(2, 3) 230
Vertices Z = 3x + 4y
(0, 0) Z=3×0+4×0=0
Z = 3 × 0 + 4 × 450 =
(0, 450) 1800
Therefore, the optimal solution maximum Z = 1800 at co-ordinate x = 0 and y = 450. The
graph is given below.
Up-to-Date Applications of Linear Programming
Linear programming, a powerful mathematical technique, is used to solve optimization
problems in various industries. Here are some modern applications:
Supply Chain Optimization: Linear programming helps companies minimize costs and
maximize efficiency in their supply chains. It’s used for determining the most cost-
effective transportation routes, warehouse operations, and inventory management
strategies.
Energy Management: In the energy sector, linear programming is utilized to optimize the
mix of energy production methods. This includes balancing traditional energy sources
with renewable ones to reduce costs and environmental impact while meeting demand.
Telecommunications Network Design: Linear programming aids in designing efficient
telecommunications networks. It helps in allocating bandwidth, designing network
layouts, and optimizing the flow of data to ensure high-speed communication at lower
costs.
Financial Planning: Businesses and financial analysts use linear programming for portfolio
optimization, risk management, and capital budgeting. It helps in making investment
decisions that maximize returns while minimizing risk.
Healthcare Logistics: In healthcare, linear programming is applied to optimize the
allocation of resources, such as hospital beds, medical staff, and equipment. It’s crucial
for improving patient care, reducing wait times, and managing costs effectively.
Manufacturing Process Optimization: Linear programming is used to determine the optimal
production levels for multiple products within a manufacturing facility, considering
constraints like labor, materials, and machine availability.
Agricultural Planning: Farmers and agricultural planners use linear programming to decide
on crop selection, land use, and resource allocation to maximize yields and profits while
conserving resources.
Airline Crew Scheduling: Airlines employ linear programming to schedule crews efficiently,
ensuring that flights are staffed in compliance with regulations and minimizing
operational costs.
These applications demonstrate the versatility and power of linear programming in solving
complex optimization problems across various sectors, showcasing its relevance in today’s
data-driven world.
Linear Programming in Operations Research
Core Tool: Linear programming is a foundational tool in operations research for optimizing
resources.
Decision Making: Helps in making the best decisions regarding resource allocation,
maximizing profits, or minimizing costs.
Wide Applications: Used in various fields such as logistics, manufacturing, finance, and
healthcare for solving complex problems.
Modeling Real-World Problems: Transforms real-world problems into mathematical
models to find the most efficient solutions.
Simplex Method
Optimization Algorithm: The Simplex Method is a powerful algorithm used in linear
programming to find the optimal solution to linear inequalities.
Step-by-Step Approach: It iteratively moves towards the best solution by navigating the
edges of the feasible region defined by constraints.
Efficiency: Known for its efficiency in solving large-scale linear programming problems.
Versatility: Applicable in various domains like diet planning, network flows, production
scheduling, and more, showcasing its versatility.
Simplex method
The simplex method is an algorithm used to calculate the optimal solution to an LP problem.
It is a systematically performed iterative procedure to identify the optimal solution from the
set of feasible solutions. You might remember that in the graphical solution, the unique
optimal solution to the LP problem occurred at a corner point or vertex of the feasible region.
The simplex algorithm also starts at one corner point of the feasible region and at each
iteration moves to an adjacent vertex in sequence, until the corner point corresponding to the
optimal solution is reached.
The simplex method was developed in 1947 by George B. Dantzig. He put forward the
simplex method for obtaining an optimal solution to a linear programming problem, i.e., for
obtaining a non-negative solution of a system of m linear equations in n variables which
maximises a given linear functional of the vector of variables.
It is one of the most universally applied mathematical techniques, the popularity of the
simplex method comes from the fact that it can indicate at each phase if the solution is
optimal and if the solution can be improved and what that improved solution would be.
All LP problems can be solved using the simplex method. It is much more adaptable to
computers than the graphical method, therefore, it is more suited for complex problems
despite being mathematically more complex. Using the simplex method, a decision maker
can also identify degeneracy, unbounded solutions, alternate solutions, and infeasible
solutions along with redundant constraints.
Important Terms of Linear Programming for Simplex Method
Pivot column: In a row-echelon matrix, the first non-zero entry of each row is called a
pivot, and the columns where pivots occur are called pivot columns or key columns. This
is the column with the most negative index number, and it shows the entering variable in
the basis.
Pivot row: It is the row which contains the smallest non-negative ratio is called the pivot
row or key row. This row has the smallest quotient obtained after dividing the values of
quantity column by key column for each row. It shows the exiting variable from the basis.
Pivot element/ number: The pivot element of a matrix is selected first by an algorithm to
do certain computations. The pivot element is at the intersection of the pivot column with
pivot row.
Simplex tableau: The simplex tableau organises the model into a form that simplifies the
application of the mathematical steps. An LP problem in standard form can be
represented as a tableau of the form given below:
Basis: It is the set of variables not constrained to equal zero in the current basic solution.
Basic variables are those variables which make up the basis.
Non-basic variables: These are all variables other than basic variables.
Iteration: This refers to the steps performed to progress from one feasible solution to
another in simplex method.
Cj Row: The coefficients of the variables in the objective function occur in this row.
Zj Row: The Zj row element shows the increase or decrease in objective function value
when one unit of that variable is brought into the solution.
Zj – Cj Row: It is also called the index row; the elements of this row depict net contribution/
loss per unit when one unit of that vari- able is brought into the solution.
(New row number) = (no in old row) – (no in old row above or below pivot number) x
(corresponding no in the new row)
The goal is to have no negative indicators in the first row. The simplex method is iterative,
i.e., we repeat steps 5, 6 and 7 until all numbers on the first row are positive.