Operation Research Mid-Sem Questions
Operation Research Mid-Sem Questions
The transportation problem typically involves a network or matrix representation, where each
source and destination is represented as a node, and the transportation costs or quantities
between them are represented as edge weights. The problem assumes that the total supply from
all sources equals the total demand at all destinations, ensuring a balanced transportation plan.
The transportation problem can be formulated as a linear programming problem and solved
using various optimization techniques, such as the simplex method or specialized algorithms like
the transportation simplex method or the transportation algorithm. These methods find the
optimal solution by iteratively improving the allocation of goods until an optimal solution is
reached.
Let's consider a company that produces goods at three factories (F1, F2, and F3) and needs to
distribute them to four warehouses (W1, W2, W3, and W4). The company wants to minimize the
transportation costs while meeting the demand at each warehouse and respecting the capacity at
each factory.
Here are the production capacities at each factory and the demand at each warehouse:
Factory capacities:
Warehouse demands:
W1: 80 units
W2: 120 units
W3: 100 units
W4: 150 units
Additionally, the transportation costs per unit from each factory to each warehouse are as
follows:
| W1 | W2 | W3 | W4 |
| W1 | W2 | W3 | W4 |
--------|----|----|----|----|
F1 | $4 | $5 | $6 | $8 |
F2 | $7 | $6 | $9 | $4 |
F3 | $3 | $2 | $5 | $10|
To solve this transportation problem, we can set up a linear programming model where decision
variables represent the quantities to be transported from each factory to each warehouse.
Let's assume Xij represents the quantity of goods transported from factory i to warehouse j. The
objective is to minimize the total transportation cost:
Minimize: 4X11 + 5X12 + 6X13 + 8X14 + 7X21 + 6X22 + 9X23 + 4X24 + 3X31 + 2X32 + 5X33 +
10X34
1. Supply constraints: X11 + X12 + X13 + X14 ≤ 100 (Factory F1 capacity) X21 + X22 + X23
+ X24 ≤ 150 (Factory F2 capacity) X31 + X32 + X33 + X34 ≤ 200 (Factory F3 capacity)
2. Demand constraints: X11 + X21 + X31 ≥ 80 (Warehouse W1 demand) X12 + X22 + X32 ≥
120 (Warehouse W2 demand) X13 + X23 + X33 ≥ 100 (Warehouse W3 demand) X14 +
X24 + X34 ≥ 150 (Warehouse W4 demand)
3. Non-negativity constraints: Xij ≥ 0 for all i, j
By solving this linear programming problem, we can determine the optimal allocation of goods
from the factories to the warehouses that minimizes the total transportation cost while meeting
the demand and capacity constraints.
Decision variable in operation research?
In Operations Research, decision variables are mathematical representations of the choices or
decisions that need to be made as part of an optimization problem. They are used to model and
quantify the unknowns or variables in a problem so that an optimal solution can be determined.
Decision variables are typically denoted by symbols or names and represent quantities that can
be adjusted or controlled by the decision-maker. The values of these variables directly impact the
objective function and are subject to various constraints.
For example, in a production planning problem, decision variables may represent the quantities
of different products to be manufactured. In a scheduling problem, decision variables may
represent the start and end times of different tasks. In a transportation problem, decision
variables may represent the quantities of goods to be transported between different sources and
destinations.
The values of decision variables are determined by solving the optimization problem using
mathematical techniques such as linear programming, integer programming, or nonlinear
programming. The goal is to find the values of the decision variables that optimize the objective
function while satisfying the constraints of the problem.
Decision variables play a critical role in Operations Research models as they capture the key
decisions that need to be made and allow for the systematic exploration of different scenarios
and options. By manipulating the values of decision variables, decision-makers can evaluate the
impact of different choices and make informed decisions to improve operational efficiency,
resource allocation, and overall performance.
Supply constraints: Supply constraints specify the maximum amount of a resource available for
use or distribution. They restrict the total quantity that can be allocated from a particular source
or the maximum capacity of a facility. Supply constraints ensure that the total supply does not
exceed the available resources.
For example, in a production planning problem, supply constraints may limit the maximum
production capacity of a factory or the availability of raw materials. In a transportation problem,
supply constraints may represent the maximum amount of goods that can be produced at a
factory or the maximum capacity of a vehicle for transportation.
Supply constraints are typically formulated as linear inequalities or equalities and involve the
decision variables of the problem. They can be expressed using mathematical symbols and
relationships, such as:
Σ Xi ≤ S, where Σ Xi represents the sum of the decision variables associated with the supply, and S
represents the available supply or capacity.
Demand constraints: Demand constraints specify the minimum amount of a resource that
needs to be allocated or distributed to fulfill specific requirements. They represent the demand or
needs that must be met by the allocation or distribution process.
For example, in a production planning problem, demand constraints may represent the minimum
quantities of different products that need to be produced to satisfy customer orders or market
demand. In a transportation problem, demand constraints may represent the minimum quantities
of goods required at different destinations or warehouses.
Demand constraints are also typically formulated as linear inequalities or equalities and involve
the decision variables of the problem. They can be expressed using mathematical symbols and
relationships, such as:
Σ Xi ≥ D, where Σ Xi represents the sum of the decision variables associated with the demand,
and D represents the required demand or quantity.
By incorporating supply and demand constraints into optimization models, Operations Research
enables decision-makers to allocate resources efficiently, fulfill requirements, and meet
operational goals while considering the limitations and capacities of the system
Here are the key components involved in the formulation of an Operations Research problem:
In a balanced situation, the optimization problem can be formulated without any additional
adjustments or considerations. The supply and demand constraints can be easily satisfied, and
the problem can be solved directly using optimization techniques.
2. Unbalanced Situation: In an unbalanced situation, the total supply does not equal the
total demand. There is either an excess of supply or a shortage of supply compared to
the demand. This can occur when the available resources do not perfectly align with the
requirements or when the problem involves multiple sources and destinations with
different capacities and demands.
In an unbalanced situation, adjustments need to be made to balance the supply and demand.
These adjustments can involve adding a dummy source or a dummy destination with appropriate
supply or demand values to balance the problem.
Decision variable, constraint formulation and balanced and unbalanced situation in assignment
problem
In the assignment problem, let's consider the following notation:
In an unbalanced situation, the number of tasks does not equal the number of agents (n ≠ m).
This implies that either some tasks will remain unassigned or some agents will remain unutilized.
In an unbalanced scenario, dummy tasks or dummy agents can be introduced to balance the
problem. The dummy tasks or agents are given zero assignment costs, indicating that they do not
represent real tasks or agents but serve to balance the problem mathematically.