Operational ResearchUnit 913 min read
Replacement Models & Miscellaneous OR Topics (Cost Analysis, EOQ, Queuing)
Unit 9 of Operational Research covers replacement models (economic life, group vs. individual replacement), EOQ for inventory, queuing theory (Kendall’s notation, single-channel models), and miscellaneous OR topics like duality and limitations. Learn cost-minimization techniques, real-world applications (e.g., Daraz lo
TAKEAWAYS:
- Replacement models minimize long-term costs by balancing purchase, maintenance, and failure risks (e.g., Daraz’s server upgrades vs. individual bulb replacements).
- EOQ (Economic Order Quantity) balances ordering and holding costs to optimize inventory (used by NTC for spare parts, banks for ATM cash).
- Queuing theory models wait times (e.g., Pathao rider queues, Ncell customer service calls) using Kendall’s notation (M/M/1, M/G/∞).
- Duality theorem links primal and dual LPPs to simplify complex problems (used in airline seat allocation, hospital resource sharing).
- OR limitations include unrealistic assumptions (e.g., constant failure rates) and data dependency—critical for exam critiques.
- Exam focus: Worked examples (cost calculations, queueing formulas), classifications (queue types), and short notes (EOQ, duality) dominate.
1. Replacement Models: Minimizing Long-Term Costs
Replacement models determine the optimal time to replace assets (machines, bulbs, vehicles) to minimize total cost over time. Two key approaches:
- Individual Replacement: Replace items one by one as they fail.
- Group Replacement: Replace all items in a batch at fixed intervals, regardless of failure.
Key Cost Components
For any replacement policy, total cost per period includes:
- Purchase Cost (C₀): Initial cost of the asset.
- Salvage Value (Sₙ): Resale value at end of life.
- Maintenance Cost (Mₙ): Cost to keep the asset running (increases with age).
- Failure Cost (Fₙ): Cost of downtime or emergency replacement.
Example 1: Individual vs. Group Replacement for Light Bulbs
Scenario: A company uses 3,000 bulbs. Replacing individually costs Rs. 20/bulb. Failure data:
| Year | Cumulative Failure Probability |
|---|---|
| 1 | 0.1 |
| 2 | 0.3 |
| 3 | 0.6 |
| 4 | 0.8 |
| 5 | 0.95 |
Assumptions:
- Bulbs fail randomly (Poisson process).
- Replacement cost = Rs. 20/bulb.
- No maintenance cost (only failure cost).
Step 1: Calculate Expected Failures per Year For 3,000 bulbs:
- Year 1: failures → Cost =
- Year 2: failures → Cost = Rs. 12,000
- Year 3: failures → Cost = Rs. 18,000
- Total 5-year cost: Rs. 6,000 + 12,000 + 18,000 + (Year 4: Rs. 12,000) + (Year 5: Rs. 3,000) = Rs. 63,000.
Step 2: Group Replacement Policy Replace all bulbs every 3 years (optimal balance):
- Replacement cost: every 3 years.
- Failure cost: Only for bulbs failing before Year 3.
- Failures in Year 1: 300 → Rs. 6,000
- Failures in Year 2: 600 → Rs. 12,000
- Total 3-year cost: Rs. 60,000 (replacement) + Rs. 18,000 (failures) = Rs. 78,000.
- Cost per year: Rs. 78,000 / 3 = Rs. 26,000/year (vs. Rs. 12,600/year for individual).
Conclusion: Individual replacement is cheaper here (Rs. 12,600/year vs. Rs. 26,000/year).
Example 2: Scooter Replacement (Depreciation + Maintenance)
Data: Scooter costs Rs. 80,000. Depreciation and maintenance costs:
| Year | Depreciation (Rs.) | Maintenance (Rs.) |
|---|---|---|
| 1 | 28,000 | 5,000 |
| 2 | 20,000 | 8,000 |
| 3 | 15,000 | 12,000 |
| 4 | 10,000 | 18,000 |
| 5 | 5,000 | 25,000 |
| 6 | 2,000 | 35,000 |
Assumptions:
- Salvage value = Rs. 2,000 at end of Year 6.
- Interest rate = 0% (simplified).
Step 1: Calculate Net Cost per Year Net cost = (Depreciation + Maintenance) – Salvage value (prorated). For Year 1: (no salvage yet). For Year 6: (salvage cancels out).
Step 2: Cumulative Net Cost
| Year | Net Cost (Rs.) | Cumulative Net Cost (Rs.) |
|---|---|---|
| 1 | 52,000 | 52,000 |
| 2 | 25,000 | 77,000 |
| 3 | 27,000 | 104,000 |
| 4 | 28,000 | 132,000 |
| 5 | 30,000 | 162,000 |
| 6 | 33,000 | 195,000 |
Step 3: Average Cost per Year Divide cumulative cost by year number to find the economic life:
- Year 3:
- Year 4: ← Minimum
- Year 5:
Optimal Replacement Year: Year 4 (lowest average cost of Rs. 33,000/year).
2. Economic Order Quantity (EOQ): Inventory Optimization
EOQ determines the optimal order quantity that minimizes total inventory costs (ordering + holding).
EOQ Formula
Where:
- = Annual demand (units/year)
- = Ordering cost per order (Rs./order)
- = Holding cost per unit per year (Rs./unit/year)
Total Cost (TC):
Example 3: NTC’s Spare Parts Ordering
Scenario: NTC needs 10,000 spare parts/year. Ordering cost = Rs. 500/order, holding cost = Rs. 2/unit/year.
Step 1: Calculate EOQ
Step 2: Total Cost at EOQ
Step 3: Compare with Other Quantities
| Order Quantity (Q) | Ordering Cost (DS/Q) | Holding Cost (HQ/2) | Total Cost (Rs.) |
|---|---|---|---|
| 1,000 | 5,000 | 1,000 | 6,000 |
| 2,236 | 2,236 | 2,236 | 4,472 |
| 5,000 | 1,000 | 5,000 | 6,000 |
Conclusion: Order 2,236 units every time to minimize costs.
3. Queuing Theory: Modeling Wait Times
Queuing theory analyzes waiting lines (queues) to optimize service systems. Key terms:
- Arrival Rate (λ): Customers/unit time.
- Service Rate (μ): Customers served/unit time.
- Queue Discipline: FIFO, LIFO, priority, etc.
- System States: Number of customers in the system.
stateDiagram-v2 state Customer state Server Customer --> Server : Arrival (λ) Server --> Customer : Service (μ) Customer --> Customer : Wait in Queue state Queue Customer --> Queue : Enqueue Queue --> Server : Dequeue caption Kendall's M/M/1 Queue: Arrival → Queue → Service → DepartureM/M/1 Queue Process (Single-Server System)
Kendall’s Notation
Describes queue types as A/B/c/K/N:
- A: Arrival distribution (M = Markovian/Poisson, G = General).
- B: Service distribution (M = Exponential, D = Deterministic).
- c: Number of servers.
- K: Queue capacity.
- N: Population size.
Example Models:
| Model | Description | Example |
|---|---|---|
| M/M/1 | Single server, Poisson arrivals | Ncell customer service call |
| M/M/c | Multiple servers, Poisson arrivals | Bank with 3 tellers |
| M/G/1 | Single server, general service time | Pathao rider dispatch system |
| M/D/1 | Single server, fixed service time | Fast-food drive-thru |
Example 4: Single-Channel Queuing (Ncell Customer Service)
Scenario:
- Arrival rate (λ) = 10 calls/hour (Poisson).
- Service rate (μ) = 12 calls/hour (Exponential).
- Single server (M/M/1).
Key Metrics:
- Utilization (ρ):
- Average Queue Length (L_q):
- Average Waiting Time (W_q):
- System Time (W):
Interpretation:
- Customers wait 25.2 minutes on average before service.
- Total time in system (waiting + service) = 30 minutes.
flowchart TD
A["Arrival (λ=10/hour)"] --> B["Queue"]
B --> C["Server (μ=12/hour)"]
C -->|"Service Complete"| D["Exit"]
C -->|"Back to Queue"| B4. Duality Theorem in Linear Programming
The duality theorem states that every primal LPP has a corresponding dual LPP, and their optimal solutions are equal.
Primal vs. Dual Relationship
| Primal (Maximization) | Dual (Minimization) |
|---|---|
| Maximize | Minimize |
| Subject to: | Subject to: |
Example 5: Airline Seat Allocation (Primal-Dual Pair) Primal Problem (Maximize Profit):
- Variables:
- = Economy seats (Rs. 5,000/profit).
- = Business seats (Rs. 10,000/profit).
- Constraints:
- Weight: kg.
- Space: units.
- .
Dual Problem (Minimize Cost):
- Variables:
- = Shadow price for weight (Rs./kg).
- = Shadow price for space (Rs./unit).
- Constraints:
- (Economy).
- (Business).
- .
Optimal Solution:
- Primal: , → .
- Dual: , → .
5. Limitations of Operational Research
While OR provides powerful tools, it has key limitations:
- Assumptions: Models often assume linearity, constant rates, or independence (e.g., Poisson arrivals in queues).
- Data Dependency: Results are only as good as input data (e.g., inaccurate failure probabilities).
- Human Factors: Ignores psychological/social behaviors (e.g., customer impatience in queues).
- Dynamic Systems: Static models fail for rapidly changing environments (e.g., stock market).
- Implementation Cost: Solving large-scale problems requires expensive software/hardware.
In the Real World
Daraz Logistics:
- Uses queuing theory (M/M/c) to optimize warehouse order processing.
- Multiple servers (c) handle Poisson-arriving orders to minimize delivery delays.
Ncell Customer Service:
- Models calls as M/M/1 queues to predict wait times and hire agents.
- Example: If λ = 15 calls/hour and μ = 12 calls/hour, hours (critical bottleneck!).
Bank Loan Interest (EOQ):
- Banks use EOQ to decide how often to order cash for ATMs.
- Example: If notes/year, , , then:
Pathao Rider Dispatch:
- Uses M/G/1 queues to model variable ride durations (general service time).
- Helps estimate rider wait times during peak hours.
Exam Tip
Replacement Models:
- Always calculate average cost per year for comparison.
- For group replacement, consider failure costs before replacement interval.
EOQ:
- Memorize the formula and units (D = units/year, S = Rs./order, H = Rs./unit/year).
- Plot the total cost curve to show the minimum at .
Queuing Theory:
- Kendall’s notation is critical—practice mapping real scenarios (e.g., bank = M/M/c).
- For M/M/1, derive , , and from .
Duality:
- Convert primal to dual by:
- Swap max/min.
- Transpose coefficients.
- Change to and vice versa.
- Shadow prices (dual variables) show "cost per unit of resource."
- Convert primal to dual by:
Short Notes:
- EOQ: "Balances ordering and holding costs for optimal Q."
- Kendall’s Notation: "A/B/c/K/N describes queue characteristics."
- Duality Theorem: "Primal and dual LPPs have equal optimal values."
Visual Summary:
mindmap
root((Replacement Models & OR Misc))
Individual Replacement
Cost: Failure-driven
Example: Bulbs
Group Replacement
Cost: Fixed interval
Example: Scooter (Year 4)
EOQ
Formula: √(2DS/H)
Example: NTC Spare Parts (Q*=2,236)
Queuing Theory
Kendall's Notation: M/M/1, M/G/c
Example: Ncell Calls (W_q=25.2 min)
Duality
Primal ↔ Dual
Example: Airline Seats
Limitations
Assumptions, Data, Human FactorsBased on the TU BCA syllabus for Operational Research (CAOR451), unit 9.
Discussion
Loading…