Operation Research Notes Mba
Operation Research Notes Mba
HASSANPUR
NOTES
Meaning:
The term "Operational Research" was first used in the UK during World War II to
describe the application of scientific methods to military operations. After the war, OR
expanded to other fields, including industry and management.
Scope:
2. Decision analysis
3. Risk analysis
4. Optimization
5. Simulation
6. Modeling
7. Data analysis
8. Performance measurement
Meaning:
Limitations:
1. Linearity assumption: LP assumes a linear relationship between variables, which
may not always hold true.
2. Simplistic modeling: LP models can be oversimplified, failing to capture complex
relationships and nuances.
3. Scalability: LP can become computationally expensive and difficult to solve for
large, complex problems.
4. Data requirements: LP requires accurate and reliable data, which may be difficult
to obtain.
5. Interpretation: LP solutions require careful interpretation and sensitivity analysis to
ensure practical applicability.
6. Assumption of certainty: LP assumes certainty in the data and parameters, which
may not always be the case.
7. Limited flexibility: LP models can be inflexible and difficult to adjust to changing
circumstances.
Despite these limitations, Linear Programming remains a powerful tool for
optimization and decision-making, widely used in various fields.
Here are some common formulations of industrial and business problems as linear
programming problems:
1. Production Planning:
- Maximize profit = Σ (selling price - production cost) x quantity produced
- Subject to: production capacity, material availability, labor constraints
2. Resource Allocation:
- Maximize efficiency = Σ (resource utilization x resource cost)
- Subject to: resource availability, demand constraints
3. Inventory Control:
- Minimize cost = Σ (holding cost x inventory level) + ordering cost
- Subject to: inventory capacity, demand constraints
4. Transportation:
- Minimize cost = Σ (transportation cost x distance)
- Subject to: supply and demand constraints, route constraints
5. Scheduling:
- Maximize efficiency = Σ (machine utilization x machine cost)
- Subject to: machine availability, labor constraints, deadline constraints
6. Financial Planning:
- Maximize return = Σ (investment return x investment amount)
- Subject to: budget constraints, risk constraints
7. Supply Chain Optimization:
- Minimize cost = Σ (production cost + transportation cost + inventory cost)
- Subject to: supply and demand constraints, route constraints
8. Quality Control:
- Maximize quality = Σ (quality metric x production quantity)
- Subject to: production capacity, material constraints
9. Energy Management:
- Minimize cost = Σ (energy consumption x energy cost)
- Subject to: energy availability, demand constraints
10. Portfolio Optimization:
*Graphical Method:*
4. Find the optimal solution by graphically identifying the point where the objective
function intersects the feasible region.
*Simplex Method:*
3. Perform pivoting operations to transform the tableau into a form where the optimal
solution is easily identified.
*Simplex Algorithm:*
1. Initialize the tableau with the initial basic feasible solution (BFS).
*Example:*
Maximize: 2x + 3y
Subject to:
x+y≤4
2x - y ≤ 3
x, y ≥ 0
Using the graphical method, we can plot the constraints and objective function on a
graph and identify the optimal solution as x = 2, y = 2.
Using the simplex method, we can convert the problem to standard form, create a
simplex tableau, and perform pivoting operations to find the optimal solution as x = 2,
y = 2.
Note: The simplex method is a more systematic and efficient approach for
solving linear programming problems, especially for larger problems. The
graphical method is useful for small problems and for visualizing the solution.
Duality:
- The primal problem is the original linear programming problem, while the dual
problem is derived from the primal problem by transposing the coefficient matrix and
changing the optimization direction (maximization to minimization or vice versa).
- The dual problem provides a lower bound on the optimal value of the primal
problem, and the optimal value of the dual problem is equal to the optimal value of
the primal problem.
Types of Duality:
- Weak Duality: The optimal value of the dual problem is less than or equal to the
optimal value of the primal problem.
- Strong Duality: The optimal value of the dual problem is equal to the optimal value
of the primal problem.
Importance of Duality:
Transportation problems are a type of linear programming problem that deals with
the transportation of goods from one place to another. There are two types of
transportation problems: balanced and unbalanced.
- A transportation problem is said to be balanced if the total supply equals the total
demand.
- In other words, the sum of the supplies from all sources equals the sum of the
demands at all destinations.
- A balanced transportation problem can be solved using the transportation
algorithm.
Unbalanced Transportation Problem:
- An unbalanced transportation problem occurs when the total supply does not equal
the total demand.
- This can happen when there is excess supply or excess demand.
- An unbalanced transportation problem can be converted into a balanced problem
by adding a dummy source or destination to absorb the excess supply or demand.
1. Start with the top-left cell (i.e., the cell in the first row and first column).
2. Allocate the maximum possible value to this cell, which is the minimum of the
supply and demand.
3. Move to the next cell in the row (i.e., the cell to the right) and allocate the
maximum possible value to it, which is the minimum of the remaining supply and
demand.
5. Once all rows have been processed, move to the next column and repeat steps 2-
4.
6. Continue this process until all cells have been allocated a value.
The resulting solution is an initial basic feasible solution, which can then be improved
upon using the transportation algorithm.
Example:
Suppose we have a transportation problem with the following supply and demand:
| | A | B | C | Supply |
| 1 | 10 | 20 | 30 | 100 |
| 2 | 40 | 10 | 20 | 150 |
| 3 | 20 | 30 | 40 | 120 |
| | A | B | C | Supply |
| 2 | 40 | 0 | 20 | 150 |
| 3 | 20 | 30 | 40 | 120 |
This is the initial basic feasible solution obtained by the Northwest Corner Method.
The Least Cost Entry Method is a method used to find an initial basic feasible
solution to a transportation problem. It involves assigning values to the cells of the
transportation table in a way that minimizes the total transportation cost.
Here are the steps to apply the Least Cost Entry Method:
1. Identify the cell with the lowest transportation cost (i.e., the cell with the smallest
cost per unit).
2. Allocate the maximum possible value to this cell, which is the minimum of the
supply and demand.
3. Make sure that the row and column totals are not exceeded.
4. If there are multiple cells with the same lowest transportation cost, choose the one
with the highest demand.
5. Repeat steps 1-4 until all cells have been allocated a value.
The resulting solution is an initial basic feasible solution, which can then be improved
upon using the transportation algorithm.
Example:
Suppose we have a transportation problem with the following supply and demand:
| | A | B | C | Supply |
| --- | --- | --- | --- | --- |
| 1 | 10 | 20 | 30 | 100 |
| 2 | 40 | 10 | 20 | 150 |
| 3 | 20 | 30 | 40 | 120 |
| |A| B|C|
| --- | --- | --- | --- |
|1|2|3|4|
|2|3|2|1|
|3|4|3|2|
Using the Least Cost Entry Method, we get:
| | A | B | C | Supply |
| 2 | 40 | 0 | 20 | 150 |
| 3 | 20 | 30 | 40 | 120 |
This is the initial basic feasible solution obtained by the Least Cost Entry Method.
1. Calculate the penalty for each cell as the difference between the supply and
demand.
3. Allocate the maximum possible value to this cell, which is the minimum of the
supply and demand.
5. Repeat steps 2-4 until all cells have been allocated a value.
VAM is similar to the Least Cost Entry Method, but it uses penalties instead of
transportation costs to make assignments.
Example:
Suppose we have a transportation problem with the following supply and demand:
| | A | B | C | Supply |
| --- | --- | --- | --- | --- |
| 1 | 10 | 20 | 30 | 100 |
| 2 | 40 | 10 | 20 | 150 |
| 3 | 20 | 30 | 40 | 120 |
| |A|B|C|
| --- | --- | --- | --- |
| | A | B | C | Supply |
| --- | --- | --- | --- | --- |
| 1 | 10 | 20 | 0 | 100 |
| 2 | 40 | 0 | 20 | 150 |
| 3 | 20 | 30 | 40 | 120 |
The Modi and Stepping Stone methods are two popular techniques used to find the
optimal solution to transportation problems.
Modi Method:
1. Find an initial basic feasible solution using any method (e.g., Northwest Corner,
Least Cost, or Vogel's Approximation).
2. Calculate the net evaluations (NE) for each cell:
- NE = Transportation cost - Dual variable
3. Identify the cell with the most negative NE (called the "incoming cell").
4. Draw a loop starting from the incoming cell, passing through the basic cells, and
returning to the incoming cell.
5. Calculate the loop's net evaluation (NE-loop).
6. If NE-loop ≥ 0, the current solution is optimal. Otherwise, proceed to step 7.
7. Update the dual variables and basic variables accordingly
Types of Degeneracy:
1. *Cell Degeneracy*: When multiple cells have the same minimum cost.
2. *Row Degeneracy*: When all cells in a row have the same minimum cost.
3. *Column Degeneracy*: When all cells in a column have the same minimum cost.
4. *Global Degeneracy*: When all cells in the transportation table have the same
minimum cost.
Effects of Degeneracy:
1. *Perturbation*: Add a small random value to the costs to break the degeneracy.
2. *Preprocessing*: Transform the transportation table to reduce degeneracy.
3. *Specialized Algorithms*: Use algorithms designed specifically for degenerate
transportation problems.
4. *Heuristics*: Use heuristic methods to find a good, but not necessarily optimal,
solution.
It's important to note that degeneracy can be a challenging issue in transportation
problems, and resolving it may require specialized techniques or algorithms.
The Assignment Problem and the Traveling Salesman Problem are both classical
problems in Operations Research and Computer Science.
Assignment Problem:
- Definition: The Assignment Problem is a problem where we have a set of tasks and
a set of agents, and we want to assign each task to exactly one agent in such a way
that the total cost or time is minimized.
- Example: Assigning jobs to machines, assigning students to projects, etc.
- Solution methods: Hungarian Algorithm, Linear Programming Relaxation, etc.
- Definition: The TSP is a problem where we have a set of cities and we want to find
the shortest possible tour that visits each city exactly once and returns to the starting
city.
Both problems are NP-hard, meaning that the running time of traditional algorithms
increases exponentially with the size of the problem instance. However, there are
many approximation algorithms and heuristics that can be used to solve these
problems in reasonable time.
6. Resource Allocation:
In summary, PERT is more suited for projects with uncertain task durations,
while CPM is better suited for projects with fixed task durations and a focus on
resource allocation.
1. Identify the project activities: List all the activities that need to be performed to
complete the project.
2. Determine the dependencies: Identify the dependencies between activities,
including predecessor and successor relationships.
3. Draw the network diagram: Use a node (or box) to represent each activity and an
arrow to represent the dependencies.
4. Add activity details: Include relevant information such as activity descriptions,
durations, and resource requirements.
5. Check for errors: Verify that the network diagram is accurate, complete, and free
of errors.
Some popular network construction techniques include:
1. Activity-on-node (AON)
2. Activity-on-arrow (AOA)
3. Precedence diagramming method (PDM)
Network construction is a critical step in project management, as it helps to:
1. Visualize the project scope and activities
2. Identify dependencies and relationships
3. Develop a project schedule
4. Assign resources and estimate costs
5. Identify potential risks and bottlenecks
By constructing a comprehensive project network diagram, project managers can
better plan, coordinate, and control their projects.
EST (Early Start Time) is a metric used in project management to calculate the
earliest possible start time of an activity. Here's how to calculate EST:
Where:
- EF predecessor is the early finish time of the predecessor activity
This calculation ensures that the activity starts after its predecessor has finished, or if
there are multiple predecessors, it starts after the latest finish time of all
predecessors.
For example, if an activity has two predecessors with EF times of 10 and 12, and ES
times of 8 and 9 respectively, the EST would be:
EST = max (12, 9) + 1 = 13
This means that the activity can start at time 13, which is after the latest finish
time of its predecessors.
Note that EST is used in conjunction with other metrics like EFT (Early Finish Time),
LST (Late Start Time), and LFT (Late Finish Time) to calculate the float and slack in
a project schedule.
EFT (Early Finish Time) is a metric used in project management to calculate the
earliest possible finish time of an activity. Here's how to calculate EFT:
Where:
- EST (Early Start Time) is the earliest possible start time of the activity
For example, if an activity has an EST of 10 and a duration of 5, the EFT would
be:
EFT = 10 + 5 = 15
This means that the activity can finish at time 15, which is the earliest possible
finish time.
Note that EFT is used in conjunction with other metrics like EST, LST (Late Start
Time), and LFT (Late Finish Time) to calculate the float and slack in a project
schedule.
I hope that helps! Let me know if you have any other questions.
Here are the definitions and calculations for LST, LFT, and Float:
The latest possible start time of an activity without delaying the project.
Calculation:
Where:
- LFT (Late Finish Time) is the latest possible finish time of the activity
- Duration is the estimated time required to complete the activity
LFT (Late Finish Time):
The latest possible finish time of an activity without delaying the project.
Calculation:
LFT = EFT + Float
Where:
- EFT (Early Finish Time) is the earliest possible finish time of the activity
- Float is the amount of time an activity can be delayed without affecting the project
schedule
Float:
The amount of time an activity can be delayed without affecting the project schedule.
Calculation:
Where:
- LFT (Late Finish Time) is the latest possible finish time of the activity
- EFT (Early Finish Time) is the earliest possible finish time of the activity
Calculation:
TF = LFT - EST
Where:
- LFT (Late Finish Time) is the latest possible finish time of the activity
- EST (Early Start Time) is the earliest possible start time of the activity
The amount of float available for an activity without affecting the early start time of its
successor activities.
Calculation:
Where:
I hope this helps clarify the calculations for LST, LFT, and Float! Let me know if you
have any further questions.
3. Expected value: The expected value of an activity duration is calculated using the
formula: (Optimistic + 4 x Most Likely + Pessimistic) / 6
The TCT concept is often represented graphically, with time on the x-axis and cost
on the y-axis. The curve typically shows that as the project duration decreases, the
cost increases exponentially.
There are several strategies for managing the time-cost tradeoff, including:
-------------------------|--------
6 months | $100,000
5 months | $120,000
4 months | $150,000
3 months | $200,000
In this example, reducing the project duration by 1 month increases the cost by
$20,000. This illustrates the time-cost tradeoff, where shorter duration results in
higher cost.
8. Risk analysis: PERT uses risk analysis to identify potential risks and their impact
on the project completion time.
By considering these probability factors, PERT provides a more realistic and robust
project schedule, allowing for better risk management and decision-making.