Aryan Sem 2 Op Assign
Aryan Sem 2 Op Assign
SET – 1
QUESTION 1.
ANSWER 1.
Operations Research (OR) is a branch of applied mathematics and science that focuses on
solving complex decision-making problems. It uses advanced techniques like mathematical
modelling, statistical analysis, optimization, and simulation to identify the most efficient
ways to allocate resources, design processes, and make informed decisions. OR is
interdisciplinary, drawing from fields like mathematics, computer science, economics, and
engineering, and is widely used in industries such as logistics, healthcare, manufacturing,
finance, and defence.
In conclusion, while Operations Research is a powerful tool for solving complex problems
and optimizing systems, its effectiveness depends on the context, quality of data, and the
ability to address its inherent limitations.
QUESTION 2.
ANSWER 2.
To solve this linear programming problem, we can use the Simplex Method. Here's the step-
by-step process:
Given Problem
Objective Function:
Maximize Z = 3x1 + 2x2 + x3
Constraints:
We will rewrite the constraints in standard form by introducing slack variables s1 and s2:
Initial Tableau
Here, the coefficients of Z in the bottom row represent the negative of the objective function
coefficients.
4. Perform Pivoting:
Pivot to make the entering variable (x1) a basic variable and update the tableau.
After the first pivot operation, the updated simplex tableau is:
Basis x1 x2 x3 s1 s2 Solution
s1 0 -2 1 1 -1 1
x1 1 -4/3 -1/3 0 -1/3 -7/3
Z 0 -6 -2 0 -1 -7
1. The Z-row still has negative coefficients (−6 and −2), so the solution is not yet
optimal.
2. We need to perform another pivot operation, choosing the most negative Z-row
coefficient (−6 for x2).
After the second pivot operation, the updated simplex tableau is:
The Z-row no longer has any negative coefficients. Therefore, the solution is optimal.
Optimal Solution
1. Basic variables:
o x2 = 1.75
o s1 = 4.5
2. Non-basic variables:
o x1 = 0, x3 = 0
Optimal value of Z:
Z = 3.5
To convert to standard form, we added slack variables s1and s2, resulting in:
2. First Pivot:
After normalizing s2's row and performing row operations, the updated tableau was:
x1 x2 x3 s1 s2 Solution
0 -2 1 1 -1 1
1 -4/3 -1/3 0 -1/3 -7/3
0 -6 -2 0 -1 -7
3. Second Pivot:
After normalizing x1's row and performing row operations, the updated tableau was:
x1 x2 x3 s1 s2 Solution
-1.5 0 1.5 1 -0.5 4.5
-0.75 1 0.25 0 -0.25 1.75
-4.5 0 -0.5 0 -0.5 3.5
4. Final Results:
Optimal Solution:
o x2 = 1.75
o s1 = 4.5
o x1 = 0, x3 = 0, s2 = 0.
Optimal Value of Z: Substituting into Z = 3x1 + 2x2 + x3 :
QUESTION 3.
ANSWER 3.
S1 0 10 0 1
S2 0 0 0 13
S3 6 0 12 1
u1 = 0 (arbitrary)
v2 = 16, v4 = 13
u2 = 10
v1 = 32, v3 = 18
u3 = 28
D1 D2 D3 D4
Optimal Solution:
D1 D2 D3 D4
S1 0 10 0 1
S2 6 0 7 0
S3 0 0 5 14
Optimal Cost:
SET – 2
QUESTION 4.
ANSWER 4.
The Hungarian Method is used to solve assignment problems efficiently. Here, the objective
is to assign salesmen to zones such that the total expected sales are maximized.
The annual sales for each zone and the proportional effectiveness of each salesman are given.
Multiply the zone's sales by the salesman's proportional effectiveness to form the matrix.
Calculation:
Sales Contribution = Zone Sales × Salesman Effectiveness/Highest Effectiveness (7)
Zone B
Zone A (126000) Zone C (84000) Zone D (63000)
(105000)
Subtract the smallest value in each row from all elements of that row.
Subtract the smallest value in each column from all elements of that column.
Q 0 0 12000 21000
R 0 0 12000 21000
S 0 0 12000 24000
Assign salesmen to zones by marking zeroes such that each salesman is assigned to
one zone.
P→A,Q→B, R→C, S→D.
P→A (126000),
Q→B (75000),
R→C (60000),
S→D (36000).
QUESTION 5.
ANSWER 5.
Queuing System:
A queuing system is a model used to describe the process in which customers (or items) wait
in line for service. It consists of:
Arrival process: The pattern or rate at which customers arrive at the service point.
Service process: How customers are served once they arrive, including the rate at
which they are served.
Queue discipline: The rules for determining the order in which customers are served
(e.g., first come First Served, FCFS).
Service mechanism: The number of servers and the way service is provided (e.g.,
single-server or multi-server systems).
1. Arrival Rate (λ): The rate at which customers arrive in the system, typically
described by a Poisson distribution (which assumes random arrivals).
2. Service Rate (μ): The rate at which customers are served by a server, typically
modelled by an exponential distribution.
3. Utilization Factor (ρ): The fraction of time the server is busy. It is calculated as: ρ =
λ / μ where λ is the arrival rate and μ is the service rate.
In this case, we have a single-server queuing system where customers arrive at a rate of 9
customers every 5 minutes, and the cashier can serve 10 customers in 5 minutes.
Given:
Arrival rate (λ) = 9 customers every 5 minutes ⇒λ=9/5 customers per minute = 1.8
customers per minute.
Service rate (μ) = 10 customers every 5 minutes ⇒μ=10/5 customers per minute = 2
customers per minute.
The system follows a Poisson distribution for arrivals and an Exponential
distribution for service rates (M/M/1 system).
The formula for the average number of customers in the system in an M/M/1 queue is:
L = λ / μ−λ
The formula for the average number of customers in the queue in an M/M/1 queue is:
Lq = λ2 / μ(μ−λ)
The formula for the average time a customer spends in the system in an M/M/1 queue is:
W = 1 / μ−λ
The formula for the average time a customer spends waiting in the queue before being served
in an M/M/1 queue is:
Wq = λ / μ(μ−λ)
Thus, the average time a customer waits before being served is 4.5 minutes.
QUESTION 6.
ANSWER 6.
1. Define the Problem and Objectives: The first step involves clearly defining the
problem you want to solve and understanding the goals of the simulation. This may
include identifying the system to be studied, the variables involved, and the
performance measures you want to optimize or evaluate. For example, a company
may simulate its supply chain to improve inventory management.
2. Formulate the Mathematical Model: Once the problem and objectives are defined, a
mathematical or algorithmic model of the system is created. This involves specifying
the system's components, their relationships, and their behaviours. It could include
equations, variables, and constraints that represent the real-world process. For