OOperations Research Unit 1,2,3 Two Marks
OOperations Research Unit 1,2,3 Two Marks
UNIT-I
LINEAR PROGRAMMING(LP)
PART-A 2 MARKS
Operation Research:
Operations research (OR) is a method of solving problems and making decisions using
mathematical analysis. It's used to improve efficiency and decision-making in organizations.
2. Dynamic programming
(i) Capital budgeting
(ii) Employment smoothening
(iii) Cargo loading.
3. Inventory control
(i) Economic order quantity
1
3. Define a feasible solution.
A solution to the LPP which satisfies the non-negativity restrictions of the LPP
is called a feasible solution
Feasible region:
A region in which all the constraints are satisfied simultaneously is called a
feasible region.
By performing optimality test we can find whether the current feasible solution can be
improved or not. This is possible by finding the Z jC j row. In the case of a maximization
problem if all j j CZare nonnegative, then the current solution is optimal
Basic Solution: A solution with a specific number of variables set to non-zero, not necessarily
satisfying all constraints.
Feasible Solution: A solution that satisfies all constraints, including non-negativity.
Basic Feasible Solution: A solution that is both basic and feasible; it satisfies all constraints and
corresponds to a vertex of the feasible region.
Understanding these distinctions is crucial in the context of linear programming, especially when applying
methods like the simplex algorithm to find optimal solutions.
2
Canonical form: Uses Boolean algebra to represent Boolean outputs of digital circuits
The standard form of a linear programming problem (LP) is a fixed format that's used to solve linear programs
using the Simplex Method. It has the following characteristics:
Maximization: The objective function is to maximize the value, not minimize it.
Non-negative variables: All variables are non-negative.
Equality constraints: All constraints are in the form of equations.
Less-than-or-equal-to inequalities: All linear constraints are in the form of less-than-or-equal-to inequalities.
The standard form of a linear programming problem is written as:
Objective function: max z = ∑ c i x i
Constraints: x i > 0
The canonical form is used to construct the simplex method, which standardizes the algorithm
and uses the mechanics of the extreme points.
Constraints: It can be difficult to specify constraints, even after the function is determined.
Mathematical function: It can be difficult to determine the mathematical function in an LPP.
Coefficient values: Determining the coefficient values at each step can be a problem.
3
Assumptions: The assumptions made are not real because they are based on the elements in the
given situation.
Solutions: The solutions obtained can always be real numbers.
Relationships: LPP treats all relationships as linear, which is not true in many real-life
situations.
Decision variables: In some LPPs, the decision variable would only be meaningful if it has
integer values.
11. What are the slack and surplus variables? (imp ques)
Definition
A decision variable is a physical quantity that a decision maker controls and is
represented by a mathematical symbol.
14. What are the methods used to solve an LPP involving artificial variables?
4
The concept of obtaining a degenerate basic feasible solution in a LPP is known as
degeneracy. In the case of a BFS, all the non basic variables have zero value. If some basic
variable
s also have zero value, then the BFS is said to be a degenerate BFS.
5
6
UNIT-II
DUALITY, TRANSPORTATION MODEL AND
ASSIGNMENT MODEL
PART-A
Primal – Dual models – Dual simplex method – Mathematical formulation of the problem –
Methods for finding an initial solution – North-West corner method, Least-cost method, Vogel’s
Approximation Method (VAM) – Test for optimality – Variants of the transportation problem –
Mathematical Formulation of the problem – Solution of an assignment problem – Hungarian
algorithm – Variants of the assignment problem – Traveling salesman problem
2 marks :
The dual of a linear programming problem (LP) is another LP that has the same data and
solution as the original LP. The original LP is called the primal problem, and the other LP is
called the dual problem.
The original problem is called “pri- mal” while the other one is called “dual”. In fact, either problem can
be considered as primal and the remaining problem as its dual. An interesting feature of duality is that if
the optimal solution of one is known then the optimal solution of the other one is readily available.
1. If. the primal problem contains a large number of rows and a smaller number of
columns, the computational procedure can be considerably reduced by converting it into dual and
then solving it.
2. This can help managers in answer questions about alternative course of actions and
their relative values.
3. Economic interpretation of the dual helps the management in making future decisions.
4. Calculation of the dual checks the accuracy of the primal solution.
7
3. State the optimality condition in dual simplex method.
In the dual simplex method, the optimality condition is when the resulting value for
the new variable in the new row is non-negative.
Explanation
The dual simplex method is a variant of the primal simplex method.
The dual simplex method is used to solve linear programming problems (LPPs) where the
initial basic solution is infeasible but better than optimal.
The dual simplex method works towards feasibility, while the primal simplex method works
towards optimality.
At the final optimal iteration, the solution is both primal and dual feasible
4. What is the difference between regular simplex method and dual simplex
method?
Simplex method starts with a non-optimal but feasible solution whereas dual simplex method
starts with an optimal but infeasible solution
. Simplex method maintains the feasibility during successive iterations whereas dual simplex
method maintains the optimality.
5. What is transportation problem? Is this a special class of LPP ? When does it a unique
solution ?
The transportation problem is to transport various amount of single object that are
initially stored at various origins, to different destinations in such a way that the total
transportation cost is minimum.
Yes it is a special class of LPP and may be solved by simplex method. Transportation
problem always posses a feasible solution.
It has a unique solution when cell evaluation matrix has only positive values
8
Write mathematical model for general transportation problem as LPP.
Mathematical formulation
Suppose that there are m sources and n destinations. Let a1be the number of supply units
available at source i (i =1, 2, 3 m) and let b1 be the number of demand units required at destination j
(f = 1, 2, 3 n). Let C, represent the unit transportation cost for transporting the units from source i to
distination j. The objective is to determine the number of units to be transported from source i to
destination j. So that total transportation cost is minimum.
6. List any three approaches used with T.P for determining the starting solution. or
List the various methods that can be used for obtaining an initial basic solution for
transportation problem.
Explanation
In a transportation problem, the goal is to assign a finite amount of goods from a finite
number of sources to a finite number of destinations.
When the supply and demand are equal, the problem is balanced.
When the supply and demand are not equal, the problem is unbalanced.
To solve an unbalanced transportation problem, you can add a dummy row or column to
make it balanced.
You can then solve the balanced problem using the same methods.
To convert an unbalanced transportation problem into a balanced one, you can add a
dummy row or column to account for the difference between supply and demand. The
transportation costs to the dummy row or column are set to zero.
Steps
1. Identify if the total supply is greater than or less than the total demand
9
2. If the supply is greater than demand, add a dummy destination
3. If the demand is greater than supply, add a dummy origin
4. Set the transportation costs to zero for the dummy row or column
5. Solve the problem as if it were balanced
11.List the various methods are used to solve the assignment problems?
An assignment problem is a problem where resources are assigned to tasks to minimize cost
or maximize profit. The goal is to find the optimal one-to-one matching between sources and
destinations
Hungarian method.
Enumeration Method.
Simplex method.
Transportation method.
Hungarian method: An efficient algorithm that uses a matrix approach to find the optimal
solution. It reduces the cost matrix to a matrix of opportunity costs.
Enumeration method: A method that calculates the cost for all possible assignments and then
selects the solution with the lowest cost. This method is best for smaller problems.
10
Simplex method: A linear programming method that can be used to solve assignment problems.
Transportation method: A method that can be used to solve assignment problems.
Genetic algorithms (GA): A meta heuristic technique that mimics natural selection to find
optimal solutions.
Evolutionary algorithms (EA): A meta heuristic technique that mimics natural selection to find
optimal solutions.
If number of rows is not equal to number of columns then it is called Unbalanced Assignment
Problem.
So to solve this problem, we have to add dummy rows or columns with cost 0, to make it a
square matrix.
(imp ques)
13.State the difference between the T.P and A.P.
The main difference between a transportation problem and an assignment problem
is that a transportation problem can have multiple sources and destinations, while
an assignment problem must have an equal number of sources and destinations
If you’re unable to see the whole table kindly convert the mobile view to the
desktop view
Transportation Problem Assignment Problem
11
problem sources to destinations individuals
Availability and Each source and destination have a Each task has only one individual
demand supply or demand value who can perform it
Decision variables Amount of goods transported from Binary variables indicate whether
each source to each destination an individual is assigned a task or
not
Constraints Capacity constraints on sources and Each individual can only perform
demand constraints on destinations one task
The objective of the Traveling Salesman Problem (TSP) is to find the shortest route
that visits every city once and returns to the starting point.
Explanation
The TSP is a well-known optimization problem in computer science and operations
research.
It's a combinatorial optimization problem, which means that the number of possible solutions
grows exponentially with the number of cities.
12
The TSP is NP-hard, which means that finding an exact solution requires a lot of computer
power.
The TSP has many real-world applications, such as in logistics and delivery businesses.
Applications
Finding more efficient routes can help delivery businesses increase profitability and reduce
greenhouse gas emissions.
Salespeople can use the TSP to plan optimal travel routes and avoid missed appointments.
Steps:
Explain North west corner rule for finding initial solution for a transportation problem.
(a) If D1< S1, set x11 equal to find the balance supply and demand and proceed horizontally (cell 1,
2).
(b) If = S1 set x11 equal to D1, find the balance supply and demand and proceed diagonally (cell 2,
2).
(c) If D1>S1, set x11equal to compute the baiance supply and demand and proceed vertically (cell 2,
1).
2. Continue in this manner, step by step away from the north west corner until, finally a value is
reached in the south east corner.
14
State the Assignment model. Is assignment problem a special case of transportation?
Assignment Model Suppose there are n jobs to be performed and n person are available for doing
these jobs. Assume that each person can do each job at a time, though with varying degree of
efficiency.The problem is to find an assignment so that the total cost for performmg all jobs is
minimum
Yes, the assignment problem is a special case of transportation problem when each
origin is associated with one and only one destination.
15
What do you mean by restrictions an assignments?
Or
How a restriction problem tackled?
Or
How will you solve an assignment where a particular assignment is prohibited?
Sometime technical, space, legal’or other problems do not permit the assignment of a particular
facility to a particularjob. Such problem are known restrictions an assignment problem. Such
problem can be solved by assigning a very heavy cost to the corresponding cell. It will automatically
excluded from further consideration.
Describe the steps involved in solving assignment problem by Hungarian method. (imp)
16
UNIT III INTEGER DYNAMIC PROGRAMMING
Types – Concept of a cutting plane – Gomory’s cutting plane method – Branch and bound
method– Concepts – Terminology – Bellman’s principle of optimality – Application in Network,
allocation and inventory.
UNIT-III
INTEGER DYNAMIC PROGRAMMING
PART-A
An integer programming (IP) problem is a mathematical optimization problem that uses integer
variables to find the best solution. IPs are used in many fields, including finance, economics, and
operations research.
How it works
Linear constraints: IPs are linear programming (LP) problems with additional integer
constraints.
Integer constraints: These constraints limit some or all of the variables to be integers.
Optimization: IPs optimize a linear function to find the best solution.
Zero-one integer programming is a mathematical method used to solve problems that have
two mutually exclusive options. It's used in many fields, including finance, engineering, and
logistics.
Applications
Finance: Zero-one integer programming can help with capital rationing, investment returns,
and production planning.
Business: It can help companies decide what to invest in, which options to select, and which
products to develop.
Transportation: It can help with scheduling services and vehicles, such as assigning buses
to routes and drivers.
Engineering: It can be used in engineering applications.
Logistics: It can be used in logistics applications.
Operations research: It can be used in operations research applications.
17
3. Define a mixed integer programming problem.
Explanation
Pure IPP
In a pure IPP, all decision variables must be integers. This means that the problem is
restricted to taking integer values.
Mixed IPP
In a mixed IPP, some variables must be integers, but others can be any non-negative
value. This means that the problem is not restricted to taking only integer values.
How it works
1. Solve the problem as a linear programming (LP) problem, ignoring the integer stipulation
2. If the solution satisfies the integer restrictions, then it is the optimal solution
3. If the solution does not satisfy the integer restrictions, add a Gomory constraint to the
problem
4. Repeat steps 2 and 3 until an optimal solution is found
Branch and bound algorithms are used to find the best solution to optimization
problems. They are used in many applications, including:
Supply chain scheduling
Branch and bound algorithms can be used to schedule deliveries for multiple factories
Channel assignment
Branch and bound algorithms can be used to assign resources to activities in a linear
programming problem
Integer programming
Branch and bound algorithms can be used to solve non convex nonlinear programming
problems
Mixed integer problems
Branch and bound algorithms can be used to solve mixed integer problems by converting
them to linear programming problems
Branch and bound algorithms are efficient and versatile, and can be used to solve a variety of
problems. They work by exploring the entire search space of possible solutions and pruning
the search tree to find the best solution.
19
Benefits of branch and bound algorithms
Efficiency They can efficiently handle problems with large search spaces
Optimality: They can ensure that the best solution is found
Flexibility: They can be adapted to various optimization problems
8.What is dynamic programming?
Dynamic programming is a mathematical technique used in operations
research to solve optimization problems by breaking them down into simpler sub
problems. It's a general approach to problem solving that can be applied to many
different situations
Divide and conquer
Dynamic programming breaks down a complex problem into simpler subproblems.
Store solutions
The solutions to the subproblems are stored in a table.
Use solutions
When solving the original problem, the solutions to the subproblems are used as needed.
Find the optimal solution
The optimal solution is found by studying how each subproblem interacts with its solutions.
In dynamic programming, a stage is a step or phase, a state is the current status of a problem,
and a state variable is a variable that describes the state.
Stage
A stage is a step or phase in a problem that progresses from one solution to the next.
The order of stages is the order in which each state of a problem should be solved.
State
A state is the current status of a problem.
A state can be described by one or more state variables.
A state is a specific set of values for each parameter.
The answer for a specific state is called the DP value.
State variable
A state variable is a variable that describes the mathematical "state" of a dynamical system.
The values that state variables can take describe the status of the problem.
20
For example, in the shortest route problem, a city is referred to as a state variable.
Bellman's principle of optimality states that the optimal policy for a sequence of
decisions is independent of the initial state and decisions. It states that the
remaining decisions must be optimal for the state resulting from the first decision.
Explanation
The principle of optimality is used in dynamic programming (DP), a technique for
solving complex problems by breaking them down into smaller subproblems.
DP is used to solve engineering optimization problems.
In computer science, problems that can be broken down in this way are said to
have optimal substructure.
The principle of optimality is analogous to the concept of subgame perfect
equilibrium in dynamic game theory.
21
Dynamic programming can solve problems that are difficult or impossible to solve using
other methods.
Linear programming (LPP) is a mathematical tool that helps find the best solution to
complex problems by optimizing a certain outcome. It's used in many industries, including
business, engineering, economics, and finance
(Points to remember )
22
23
24
25
26
27
28
29
UNIT IV PROJECT MANAGEMENT AND THEORY OF GAMES
UNIT-IV
PROJECT MANAGEMENT AND THEORY OF GAMES
PART-A
1. What is a network?
How it works
A network diagram is a graph that shows the activities, duration, and dependencies of tasks
in a project.
Activities are represented by arrows and consume time and resources.
Network analysis helps to estimate complex patterns of relationships.
It can help to solve problems like how long a project will take, what activities need to be
completed first, and what the estimated cost will be.
When it's used
Network analysis can be used in many fields, including construction, maintenance,
fabrication, purchasing, and research and development.
It can help to minimize trouble spots like delays and interruptions
30
Merge event: When two or more activities join an event, or when two or more events are
completed
Burst event: When two or more activities leave an event
Operations research (OR) is a discipline that uses analytical methods to improve decision-
making. It uses techniques from other mathematical sciences, such as statistics, modeling,
and optimization
Free float
The amount of time a task can be delayed without affecting the start of the next task
A measure of a task's flexibility
Helps project managers understand how much slack is available in the project schedule
Total float
The amount of time a task can be delayed without affecting the project's overall completion
date
A measure of a task's flexibility
Can compromise a project's final delivery date
Independent float
The amount of time a task can be delayed without affecting the start of any subsequent tasks
A delay in any project tasks that have no bearing on the early finish date of the project
The amount of time a task can be delayed without affecting the project's overall completion
date
A measure of a task's flexibility
Can compromise a project's final delivery date
31
5. Define critical activity and critical path.
the "cost-time slope" of an activity refers to the rate at which the direct cost of an activity increases when its
duration is reduced (i.e., "crashed"), essentially representing the additional cost incurred per unit time saved by speeding up an
activity.
Calculated: Cost-time slope = (Crash Cost - Normal Cost) / (Normal Time - Crash Time)
In Critical Path Method (CPM), the cost-time slope is crucial for determining which activities should be "crashed" first
to minimize overall project cost when aiming to shorten the project duration.
32
8. Define crash time and crash cost
Crash time: It is the minimum possible time in which an activity can be completed by
employing extra resources.
crash cost: is the associated cost of completing that activity within the crash time,
meaning the increased cost incurred by using additional resources to achieve the faster
completion time.
Types of games
Strategy games: Games where players use skill to determine their actions
Chance games: Games where players use chance to determine their actions
Zero-sum games: Games where the total payoff for all players is zero
Non-zero-sum games: Games where the total payoff for all players is not zero
Game theory
Game theory is a mathematical framework that analyzes decision-making in competitive
situations. It helps players determine the best strategy to maximize their payoff.
10. Define strategy.
strategy is a plan for how to allocate resources to achieve an organization's goals. It's a
long-term plan that involves making decisions about how to manage processes and resources.
33
player attempts to take an action to minimize this payoff. In fact, the gain of a player is the loss
of another.
Explanation
34
13. Define saddle point ?
A saddle point is a point on a graph where the slope is zero, but it is not a local maximum
or minimum.
Players apply mixed strategies in game theory situations where no pure strategy
equilibrium exists.
A strategy where a player randomizes over two or more actions rather than consistently
choosing a single action
35
UNIT V INVENTORY CONTROL AND QUEUING
Deterministic model – Costs – Decision variables – EOQ – Instantaneous receipt of goods with
and without shortages – Non-instantaneous receipt of goods without shortages – Price breaks –
Probabilistic inventory model – Single period without setup cost – Inventory systems – Lead
time- Safety stock – ROL, ROP determination – Characteristics of Queuing system – Symbols
and- Kendall’s notation – Poisson arrival and exponential service – Single and multi channel
model –Infinite population.
3. What are the different costs that are involved in the inventory problem?
The primary types of inventory include: raw materials, work-in-progress (WIP), finished
goods, and maintenance, repair, and operations (MRO) inventory; with additional categories like
cycle inventory, safety stock, and decoupling inventory depending on the specific application.
A deterministic model predicts a single, exact outcome based on known inputs, assuming no randomness
or uncertainty
probabilistic model provides a range of possible outcomes with associated probabilities, incorporating
randomness and uncertainty into the prediction,
36
7. Define buffer stock or safety stock.
Buffer stock refers to extra inventory kept on hand in case of manufacturing delays or an
unexpected increase in demand. Calculating the right amount of buffer stock to have available
helps to keep carrying costs low while making sure customer orders are fulfilled on time.
8. Define a queue
a queue is a waiting line of customers, items, or information that are waiting for service. Queues
are used in queuing theory to model waiting lines and predict how long people will wait for service.
37