SOL - DU - MBAFT-6202 Decision Modeling and Optimization With Distributed Network
SOL - DU - MBAFT-6202 Decision Modeling and Optimization With Distributed Network
Introduction
➢ Linear programming (LP or linear optimisation) is a mathematical method for
determining a way to achieve the best outcome (such as maximum profit or lowest
cost) in a given mathematical model for some list of requirements represented as
linear relationships.
➢ A model consisting of linear relationships representing a firm’s objective and
resource constraints.
➢ LP is a mathematical modeling technique used to determine a level of operational
activity in order to achieve an objective, subject to restrictions called constraints
➢ Linear programming is a specific case of mathematical programming (mathematical
optimisation).
➢ More formally, linear programming is a technique for the optimisation of a linear
objective function, subject to linear equality and linear inequality constraints.
➢ Optimization (either maximised or minimized the objective function )
➢ Linear Programming is a very important tool of quantitative techniques for the best
possible distribution of scarce resources including labor, materials, machinery,
money, energy, and so forth. It is used in almost every aspect of life, whether
marketing or domestic or Production or anything else.
Types of LPP
• There are various types of LPP based on uses i.e. Product mix, Transportation &
logistics, networking, production, diet requirement, industrial and social problems.
Production Model, Investment Model, Cost Minimization Model, etc. which are
summarized as:-
Types of LPP
Applications of LPP
1. Product mix problem
2. Diet problem
3. Blending problem
4. Media selection problem
5. Assignment problem
6. Transportation problem
7. Portfolio selection problem
8. Work-scheduling problem
9. Production scheduling problem
10. Inventory Problem
11. Multi period financial problem
12. Capital budgeting problem
13. Many more as discussed above
Definition and Terms of LPP
1) Linear Function :
Definition :
A function f(x1, x2,......xn) of x1, x2,..... xn is a linear function if and only if for some set
of constants c1, c2,.......cn
f(x1, x2,......xn) = c1x1 + c2x2 + .......... + cnxn
Examples:
i) x1
ii) 5x1+ 6x4- 2x2+1
iii) 3x+5y=7(equality)
2)Linear Inequalities :
Definition :
For any linear functions f(x1, x2,......xn) and any number b, the inequalities.
f(x1, x2,......xn) ≤ b and
f(x1, x2,......xn) > b are linear inequalities.
Examples :
i) x1 + x2 ≤ 4
ii) 5x1 - 4 > 0
iii) 6x+9y=0(equality)
Definition and Terms of LPP
3) Linear Equalities :
Definition :
For any linear function f(x1, x2,......xn) and any number b, the equality f(x1, x2,......xn) = b is a
linear equality.
4)LP (Linear Programming) :
Definition:
Linear -It is used to describe how two or more variables in a model relate to one another
proportionally and the change in one variable occurs will always follow a given change in
another variable.
Programming :-Program," in this context, has to do with a “plan,” not a computer program or
device some technique-models for doing work in well organized manner. A linear Programming
problem (LP) is an optimisation problem for which :
a)We attempt to maximize (or minimize) a linear function of the decision variables. (objective
function)
b)The values of the decision variables must satisfy a set of constraints, each of which must be
a linear inequality or linear equality.
c)A sign restriction on each variable. For each variable xi the sign restriction can either say
i) xi> 0,
ii) xi ≤ 0,
iii) xi unrestricted (urs).
Definition and Terms of LPP
5) Solution :
A Solution to a linear program is a setting of the variables and satisfied the inequalities.
6)Feasible region:
The feasible region in a linear program is the set of all possible feasible solutions.
7)Feasible solution:
A feasible solution to a linear program is a solution that satisfies all constraints.
8)Basic and Non basic variables and solutions :
Consider a linear programming problem in which all the constraints are equalities (conversion
can be accomplished with slack and excess variables.)
Definitions :
1)If there are n variables and m constraints, a solution with at most m non-zero values is a
basic solution.
2)In a basic solution, n-m of the zero-valued variables are considered non-basic variables and
the remaining m variables are considered basic variables.
9) Dual of LPP :Duality is the state of having two distinct but related parts. It turns out that every
LP problem has a related problem called the dual problem or dual. The dual is formulated from
information contained in the original problem called the primal problem or primal
Formulation of LPP
Decision Variables :mathematical symbols representing levels of activity of an
operation
Objective Function:
• A linear relationship reflecting the objective of an operation
• Most frequent objective of business firms is to maximize profit
• Most frequent objective of individual operational units (such as a production or
packaging department) is to minimize cost
Constraint :
a linear relationship representing a restriction on decision making
Non Negativity Restriction : All the decision variables must be non-negativity
Primal Dual
Formulation of LPP
There are mainly four steps in the mathematical formulation of linear programming problem
as a mathematical model.
Formulation of LPP
Solution by Graphical Method
Linear programming with two decision variables can be solved graphically, Although the method
is quite simple the principle of solution is based on certain analytical concepts.
Ex. No. 3)
A company Manufacture two types of presentation goods A and B that requires
Gold & Silver. Each unit of type A requires 4 grams of silver & 1 gram of gold; while that of B
requires 1 gram of silver & 3 grams of gold the availability of silver & gold per day are 120
grams & 100 grams respectively. The manufacturing Cost per unit of type A is Rs 920 & that of
type B is Rs 16. Formulate the above problem as L.L.P. to minimise Cost.
Goods Gold Silver (Profit) Cost Price
A 1 4 920
B 3 1 1600
Available 100 120
Problems on Linear Programme
Solution:
Problems on Linear Programme
Problems on Linear Programme
Ex. No. 4)
A dealer wishes to purchase a No. of fans &Sewning Machine he had only Rs 5760 to invest &
he has space for almost 20 items a fan cost Rs. 360 & a sewn machine Rs. 240 his expectation
is that he can sale a fan at a profit of Rs. 22 and sewning machine at a profit of Rs. 18
assuming that he can raise all the items can by formulate his problem L.L.P to maximize his
profit.
Fans 350
Sewing 240
Available 5760
Problems on Linear Programme
Problems on Linear Programme
Problems on Linear Programme
Ex. No. 5)
A company Manufactures two types of toys A and B. Each Toy of type A requires 1
minutes for costing and 1 minutes of for assembling. Each toy of type B requires 3 min for
cutting and 4 min for assembling. Their are 150 min available for cutting and 160 min for
assembling on selling a toy of type A company gets a profit of Rs. 10 and that on selling a toy
of type B company gets a profit of Rs. 20 formulates the problem as L.P.P. to maximize the
profit.
Toys Cutting Assembling Profit
A 2 1 10
B 3 4 20
Available Time 180 160
Problems on Linear Programme
Problems on Linear Programme
General Linear Programme Problem
Max/min z = c1x1 + c2x2 + ... + cnxn
subject to:
a11x1 + a12x2 + ... + a1nxn (≤, =, ≥) b1
a21x1 + a22x2 + ... + a2nxn (≤, =, ≥) b2
:
am1x1 + am2x2 + ... + amnxn (≤, =, ≥) bm
All Xij≥0
xj = decision variables
bi = constraint levels
cj = objective function coefficients
aij = constraint coefficients
Problems on Linear Programme
Ex. No. 6) RESOURCE REQUIREMENTS
Labor Clay Revenue
PRODUCT (hr/unit) (lb/unit) ($/unit)
Bowl 1 4 40
Mug 2 3 50
Maximize revenue if there are 40 hours of labor and 120 pounds of clay
available each day
Lets Decision variables x1 = number of bowls to produce & x2 =
number of mugs to produce.
Maximize Z = $40 x1 + 50 x2
Then Formulated LPP is Subject to
x1 + 2x2 40 hr (labor constraint)
4x1 + 3x2 120 lb (clay constraint)
x1 , x2 0
x2
50 –
40 –
4 x1 + 3 x2 120 lb
30 –
20 – Area common to
both constraints
10 – x1 + 2 x2 40 hr
0– | | | | | |
10 20 30 40 50 60 x1
Computing Optimal Values
x1 + 2x2 = 40
x2
4x1 + 3x2 = 120
40 – 4 x + 3 x 120 lb 4x1 + 8x2 = 160
1 2
-4x1 - 3x2 = -120
30 – 5x2 = 40
x2 = 8
20 –
x1 + 2 x2 40 hr x1 + 2(8) = 40
x1 = 24
10 –
8
0– | | 24 | | x1
10 20 30 40
Z = $50(24) + $50(8) = $1,360
Extreme Corner Points
x1 = 0 bowls
x2 x2 = 20 mugs
x1 = 224 bowls
Z = $1,000
40 – x2 = 8 mugs
Z = $1,360 x1 = 30 bowls
30 – x2 = 0 mugs
20 – A
Z = $1,200
10 –
B
0– | | | C|
10 20 30 40 x1
Objective Function
x2
40 –
4x1 + 3x2 120 lb
30 – Z = 70x1 + 20x2
Optimal point:
x1 = 30 bowls
20 –A x2 = 0 mugs
Z = $2,100
10 – B
x1 + 2x2 40 hr
0– | | | C |
10 20 30 40 x1
LPP-Minimization Problem
Ex. No. 7) CHEMICAL CONTRIBUTION(To minimize Chemical uses)
Brand Nitrogen (lb/bag) Phosphate (lb/bag) Chemical Cost
Gro-plus 2 4 $6
Crop-fast 4 3 $3
Minimum availability 16 24
subject to
2x1 + 4x2 16 lb of nitrogen
4x1 + 3x2 24 lb of phosphate
x1, x2 0
LPP-Minimization Problem-Graphical Solution
x2
14 –
x1 = 0 bags of Gro-plus
12 – x = 8 bags of Crop-fast
2
10 –
Z = $24
8–A
Z = 6x1 + 3x2
6–
4–
B
2–
C
0– | | | | | | |
2 4 6 8 10 12 14 x1
Ex. No. 8) LPP on Assignment problem
Example
A law firm maintains a large staff of young attorneys who hold the
title of junior partner. The firm concerned with the effective
utilization of this personnel resources, seeks some objective means
of making lawyer-to-client assignments.
On march 1, four new clients seeking legal assistance came to the
firm. While the current staff is overloads and identifies four junior
partners who, although busy, could possibly be assigned to the
cases.
Each young lawyer can handle at most one new client. Furthermore
each lawyer differs in skills and specialty interests.
Seeking to maximize the overall effectiveness of the new client
assignment, the firm draws up the following table, in which he
rates the estimated effectiveness (of a scale of 1 to 9) of each
lawyer on each new case.
35
Ex. No. 8) LPP on Assignment problem
Model Formulated in tabular form as:-
[sum of total assigned values in row and column equal 1]
Ex. No. 9) LPP on Transportation problem
Example
The Top Speed Bicycle Co. manufactures and markets a line of 10-speed
bicycles nationwide. The firm has final assembly plants in two cities
in which labor costs are low, New Orleans and Omaha.
Its three major warehouses are located near the larger market areas of
New York, Chicago, and Los Angeles.
The sales requirements for next year at the New York warehouse are
10000 bicycles, at the Chicago warehouse 8000 bicycles, and at the
Los Angeles warehouse 15000 bicycles.
The factory capacity at each location is limited. New Orleans can
assemble and ship 20000 bicycles; the Omaha plant can produce
15000 bicycles per year.
The cost of shipping one bicycle from each factory to each warehouse
differs, and these unit shipping costs are:
37
Ex. No. 9) LPP on Transportation problem
38
Network Distribution Models
Network Distribution Models
Network Distribution Models