Minimum Cost Flow: A Minimum Cost Flow Problem Is A Optimization and Decision Problem To Find The
Minimum Cost Flow: A Minimum Cost Flow Problem Is A Optimization and Decision Problem To Find The
cheapest possible of sending a certain amount of flow through a flow network. A typical application of
this problem involves finding the best delivery route from a factory to a warehouse where the road
network has some capacity and cost associated.
The objective is to minimize the total cost of sending the available supply through the network to
satisfy the given demand
Subject to
∑𝑛𝑗=1 𝑥𝑖𝑗 − ∑𝑛𝑗=1 𝑥𝑗𝑖 = 𝑏𝑖
The first summation in the node constraints represents the total flow out of node i, and the second
summation represents the total flow into node i, so the difference is the flow generated at this
node.
Feasible solution property: A necessary condition for a minimum cost flow problem to have any
feasible solution is that
∑𝑛𝑖=1 𝑏𝑖 = 0
𝑖. 𝑒 the total flow being generated at the supply nodes equals to the total flow being absorbed at
the demand.
Diet problem: The goal of the diet problem is to select a set of foods that will satisfy a set of daily
nutritional requirement at minimum cost. The problem is formulated as a linear program where
the objective is to minimize cost and the constraints are to satisfy the specified nutritional
requirements.
Formally, the cost minimization version of the problem can be defined as follows:
Define 𝑥𝑗 as the quantity of the jth food in the diet, let 𝑎𝑖𝑗 denote the amount of nutrients of type
i in one unit of food j, define 𝑐𝑗 as the cost for one serving of food j, and denote by 𝑏̅𝑖 ( 𝑏𝑖 )the
largest (smallest) acceptable quantity of nutrients of type i in the diet. The problem can then be
formulated as
𝑀𝑖𝑛 𝑍 = ∑𝑗 𝑐𝑗 𝑥𝑗
𝑥𝑖𝑗 ≥ 0 ∀𝑗
Example: Vitamins A and B are found in foods F1 and F2. One unit of food F1 contains three units
of vitamin A and four units of vitamin B. one unit of food F2 contains six units of vitamin A and
three units of vitamin B. One unit of food F1 and F2 cost Rs4 and 5, resp. The min. daily requirement
(for a person) of vitamins A and B is 80 and 100 units, resp. Assuming that anything in excess of
the daily min. requirement of A and B is not harmful. Formulate this problem as an LP model to
find out the optimum mixture of food F1 and F2 at the minimum cost which meets the daily
minimum requirement of vitamins A and B.
Scheduling problems: Optimization problems that involve assigning resources to perform a set of
tasks at specific times are called scheduling problems. The goal of such problems is to find a
schedule that minimizes the total amount of time (or cost) required to complete all the tasks.
LP model of scheduling problem
Let t= number of time periods, Periods are indexed by i= 1,2, 3,…….t
n= number of workforce patterns, patterns are indexed by j=0,1……n
ri = workforce requirement in period t
ci = cost associated with assigning one worker with pattern j
𝑀𝑖𝑛 𝑍 = ∑𝑛𝑗=1 𝑐𝑗 𝑥𝑗
Subject to
𝑥𝑗 ≥ 0 for j= 1,….,n
Production Planning: Production planning means to fix the production goals and to estimate the
resources which are required to achieve these goals. It prepares a detailed plan for achieving the
production goals economically, efficiently and in time. It forecasts each step in the production process. It
forecasts the problems, which may arise in the production process. It tries to remove these problems. It
also tries to remove the causes of wastage. Production planning provides answers for two major questions
Example: A pharmaceutical company produces two pharmaceutical products: A and B. Production of both
products requires the same process I and II. The production of B results also in a by product C at no extra
cost. the product A can be sold at a profit of Rs3 per unit and B at a profit of Rs8 per unit. Some of this by
product can be sold at a unit profit of Rs2, the remainder has to be destroyed and the destruction cost in
Rs1per unit. Forecasts show that only upto 5 units of C can be sold. The company gets 3 units of C for each
unit of B produced. The manufacturing times are 3 hrs per unit for A on process I and II, respectively and
4 hrs and 5 hrs per unit for B on process I and II resp. Because the product C results from producing C. the
available times are 18 and 21 hrs of process I and II resp. Formulate this problem as an LP model to
determine the quantity of A and B which should be produced , keeping C in mind, to make the highest
total profit to the company.