Mca 204
Mca 204
Mca 204
Q-1: Define Operations Research and its significance in decision making? What are the main components of a
typical OR model?
A-1
Operations research (OR) is an analytical method of problem-solving and decision-making that is useful in the
management of organizations. In operations research, problems are broken down into basic components and then solved
in defined steps by mathematical analysis.
The process of operations research can be broadly broken down into the following steps:
1. Identifying a problem that needs to be solved.
2. Constructing a model around the problem that resembles the real world and variables.
3. Using the model to derive solutions to the problem.
4. Testing each solution on the model and analysing its success.
5. Implementing the solution to the actual problem.
Disciplines that are similar to, or overlap with, operations research include statistical analysis, management science, game
theory, optimization theory, artificial intelligence and network analysis. All of these techniques have the goal of solving
complex problems and improving quantitative decisions.
The concept of operations research arose during World War II by military planners. After the war, the techniques used in
their operations research were applied to addressing problems in business, the government and society.
5.Stochastic Models
Stochastic models are used in environments with uncertainty. They incorporate randomness and are useful for making
informed decisions under uncertainty by analysing different outcomes and their probabilities.
Example: In finance, stochastic models are used to price options. The Black-Scholes model, for example, evaluates an
option's price considering the stochastic nature of the underlying asset's price, volatility, and time to expiration.
6.Simulation Models
Simulation models mimic the operation of a real-world process or system over time. They are versatile and can
incorporate complexity and randomness, making them suitable for analyzing systems where analytical models are
impractical.
Example: In healthcare, simulation models can manage emergency department operations, simulating patient arrival
times, treatment processes, and staffing levels to improve patient flow and reduce waiting times.
---------------------------------------------------------------------------------------------------------------------------------------------------
If the constraint is 2x+3y≤30, then the slack variable 𝑠 satisfies the equation 2x+3y+s−30=0
Replacing an inequality with an equation
For example, if the first constraint is 4−2x1−x2−x3, then the slack variable 𝑥4 is defined as 14−2𝑥1−𝑥2−𝑥3
o Finding the difference between the left and right sides of a constraint
software. For example, the absolute value function can be represented by replacing one variable with two, such as 𝑥1+𝑥2
Slack variables can be used to represent functions with discontinuous derivatives in the form required by optimization
instead of |𝑥|
2.Surplus variables
Subtracted from the LHS of greater-than-or-equal-to (≥) constraints to convert them into equations. Surplus variables
indicate how much the RHS values are insufficient. They are also called negative slack variables.
An example of a surplus variable in linear programming is when a surplus variable is introduced to convert an inequality
constraint into an equality:
o In this example, the surplus variable, 𝑠 represents the amount by which the left-hand side of the
inequality exceeds the right-hand side.
Surplus variables are similar to slack variables, but are associated with greater-than constraints. In a LINGO solution
report, the Slack or Surplus column indicates how close a constraint is to being satisfied as an equality.
---------------------------------------------------------------------------------------------------------------------------------------------------
1.
2.
A-3 (1)
Now, we take:
Cj
3 2 0 0
B CB XB X1 X2 S1 S2 X B / Xi
S1 0 4 1 1 1 0 4
S2 0 2 1 -1 0 1 2
Zj 0 0 0 0
Δj = Cj - Zj 3 2 0 0
Since, Δj <= 0
Therefore, the solution is optimum
Hence the value of X1 = 3 and X2 = 1
Zmax = 3*3 +2*1 =11
(2)
---------------------------------------------------------------------------------------------------------------------------------------------------
Q. 4: Describe the simplex method. What are its advantages over graphical methods?
A-4
simplex method, standard technique in linear programming for solving an optimization problem, typically one involving
a function and several constraints expressed as inequalities. The inequalities define a polygonal region, and the solution is
typically at one of the vertices. The simplex method is a systematic procedure for testing the vertices as possible solutions.
Some simple optimization problems can be solved by drawing the constraints on a graph. However, this method is useful
only for systems of inequalities involving two variables. In practice, problems often involve hundreds of equations with
thousands of variables, which can result in an astronomical number of extreme points. In 1947 George Dantzig, a
mathematical adviser for the U.S. Air Force, devised the simplex method to restrict the number of extreme points that
have to be examined. The simplex method is one of the most useful and efficient algorithms ever invented, and it is still
the standard method employed on computers to solve optimization problems.
Understanding the importance of the Simplex Method in further mathematics can be observed in several ways:
Efficiency: It can effectively solve large-scale, complex linear programming problems, providing quick and
accurate results.
Versatility: Various fields make use of the Simplex Method, including finance, engineering, and business
operations.
Decision-making: It provides a rational and systematic approach for effective decision-making in various
scenarios.
---------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------
Q. 6: Solve the following two-person zero-sum game using the graphical method:
---------------------------------------------------------------------------------------------------------------------------------------------------
Q. 7:
---------------------------------------------------------------------------------------------------------------------------------------------------
Machine JOBS
1 2 3 4 5
A 6 2 10 4 11
B 3 7 8 9 5
---------------------------------------------------------------------------------------------------------------------------------------------------
Q. 9: A supermarket has an average of 6 customers arriving per hour, and each customer takes an average of 5
minutes to check out. Simulate the customer checkout process for 10
customers and calculate the total waiting time.
---------------------------------------------------------------------------------------------------------------------------------------------------
Q. 10: Find the optimal solution to the following integer programming problem:
Maximize Z=x1–x2
subject to x 1 + 2x 2 ≤ 4
6x 1 + 2x 2 ≤ 9
---------------------------------------------------------------------------------------------------------------------------------------------------