Operations Research

Operations Research interview questions

Questions interviewers ask Production graduates on Operations Research, with the answer a strong candidate would give. Written with Aria and reviewed by the AiCanCode.org team.

Linear programming formulation and graphical method

  1. 1.What is linear programming and why is it important in operations research?Concept

    Linear programming optimises (maximises or minimises) a linear objective function of decision variables subject to linear equality or inequality constraints and non-negativity. It rests on proportionality, additivity, divisibility and certainty. It matters because product mix, blending, machine loading, transportation and assignment decisions can all be modelled this way and solved exactly and quickly, with shadow prices that tell managers what each scarce resource is worth.

  2. 2.Explain the graphical method of solving a linear programming problem.Concept

    The graphical method involves plotting the constraints of a linear programming problem on a graph. The feasible region is identified where all constraints overlap. The objective function is then plotted, and the optimal solution is found at the vertex or corner point of the feasible region that maximizes or minimizes the objective function.

  3. 3.What are the limitations of using the graphical method in linear programming?Concept

    The graphical method is limited to solving linear programming problems with only two decision variables because it relies on a two-dimensional graph. It becomes impractical for problems with more than two variables, where other methods like the Simplex method are more suitable.

  4. 4.Why is the feasible region important in linear programming?Application

    The feasible region represents all possible solutions that satisfy the constraints of a linear programming problem. It is important because the optimal solution must lie within this region. Without identifying the feasible region, it would be impossible to determine the best solution that meets all constraints.

  5. 5.What happens if the feasible region is unbounded in a linear programming problem?Application

    If the feasible region is unbounded, it means that the solution can extend infinitely in one or more directions. In such cases, the linear programming problem may not have a finite optimal solution, especially if the objective function is to be maximized. However, if the objective function is to be minimized, a finite solution might still exist.

  6. 6.How does the Simplex method differ from the graphical method in solving linear programming problems?Application

    The Simplex method is an algebraic approach that can handle linear programming problems with more than two variables, unlike the graphical method which is limited to two variables. The Simplex method iteratively moves along the edges of the feasible region to find the optimal solution, making it suitable for larger and more complex problems.

  7. 7.Why is it necessary to convert inequalities into equalities in linear programming?Application

    Algebraic methods such as simplex work on a system of linear equations, so each ≤ constraint gets a slack variable (unused resource) and each ≥ constraint gets a surplus variable (amount above the requirement). Artificial variables are not part of this conversion; they are added afterwards to ≥ and = rows only to provide a starting basic feasible solution and must be driven to zero (Big-M or two-phase).

  8. 8.Maximise Z = 3x + 2y subject to x + y ≤ 4, x − y ≥ 1, x, y ≥ 0 using the graphical method.Numerical

    The feasible region is the triangle with corners (1, 0), (4, 0) and (2.5, 1.5), the last from x + y = 4 and x − y = 1. Evaluating Z: Z(1, 0) = 3, Z(2.5, 1.5) = 10.5, Z(4, 0) = 12. The optimum is x = 4, y = 0 with Z = 12; the corner (4, 0), where x + y = 4 meets the x-axis, is easy to miss if you only check the intersection of the two constraint lines.

  9. 9.Maximise P = 5x + 7y subject to 2x + 3y ≤ 12, x + 4y ≤ 8, x, y ≥ 0 using the graphical method.Numerical

    The two lines meet at x = 8 − 4y → 2(8 − 4y) + 3y = 12 → y = 0.8, x = 4.8. The corners are (0, 0), (6, 0), (4.8, 0.8) and (0, 2), giving P = 0, 30, 29.6 and 14. The optimum is x = 6, y = 0 with P = 30: the first constraint is binding and the second has slack of 2.

  10. 10.Explain the role of slack variables in linear programming.Concept

    Slack variables are added to less-than-or-equal-to constraints to convert them into equalities. They represent the unused resources in the constraints and allow the use of methods like the Simplex method, which require equations rather than inequalities.

Simplex method: Big-M and two-phase

  1. 1.What is the Big-M method in the context of the simplex method?Concept

    When ≥ or = constraints have no slack to form a starting basis, artificial variables are added to them. The Big-M method gives each artificial a huge penalty in the objective — coefficient −M in a maximisation, +M in a minimisation — and then runs ordinary simplex. Because any positive artificial would make the objective very bad, simplex drives them out; if one stays positive at the optimum, the original problem is infeasible.

  2. 2.Explain the two-phase method in the simplex algorithm.Concept

    The two-phase method is a technique used to solve linear programming problems with artificial variables. In the first phase, the method focuses on finding a feasible solution by minimizing the sum of artificial variables. Once a feasible solution is found, the second phase involves optimizing the original objective function starting from this feasible solution. This method avoids the need for a large constant like in the Big-M method.

  3. 3.Why is the Big-M method used in linear programming?Application

    Simplex needs an initial basic feasible solution with an identity sub-matrix. A ≤ row provides one through its slack, but a ≥ row (surplus has coefficient −1) or an = row does not. Big-M supplies the starting basis with artificial variables and, through the penalty M, makes the algorithm itself remove them, so feasibility and optimisation are handled in a single run.

  4. 4.What happens if the value of M is not sufficiently large in the Big-M method?Application

    If the value of M is not sufficiently large, the artificial variables may not be driven to zero in the optimal solution. This can lead to an incorrect solution where the artificial variables remain positive, indicating that the original constraints are not fully satisfied. Therefore, M must be chosen large enough to ensure that artificial variables are effectively penalized.

  5. 5.How does the two-phase method ensure feasibility in the solution?Application

    Phase 1 ignores the real objective and minimises r, the sum of the artificial variables, subject to the constraints. If the minimum r is zero, the artificials are out (or at zero) and the final basis is a basic feasible solution of the original LP, from which Phase 2 optimises the real objective. If the minimum r is positive, no feasible solution exists and the method stops there.

  6. 6.Compare the Big-M method and the two-phase method.Application

    Both reach the same optimum through essentially the same sequence of bases. Big-M does it in one run but carries a large number M; by hand that means two-part (M and constant) objective rows, and on a computer a numerical M mixes very large and small numbers and causes round-off error, while too small an M can give a wrong answer. Two-phase separates feasibility (Phase 1) from optimisation (Phase 2), needs no M, and detects infeasibility cleanly, so it is preferred in practice and in software.

  7. 7.Solve by simplex: Maximise z = 3x + 2y subject to x + y ≤ 4, x, y ≥ 0. Do you need the Big-M method here?Numerical

    No artificial variable is needed: the only constraint is ≤, so the slack s gives the starting basis (s = 4, z = 0) and Big-M is unnecessary. Cj − Zj is 3 for x and 2 for y, so x enters and s leaves (ratio 4/1). New tableau: x = 4, z = 12, with Cj − Zj of y = 2 − 3 = −1 and of s = −3, all ≤ 0. Optimum x = 4, y = 0, z = 12.

  8. 8.Solve by the two-phase method: Minimise z = x + 2y subject to x + y = 3, x, y ≥ 0.Numerical

    Add an artificial a: x + y + a = 3. Phase 1 minimises r = a; x (or y) enters with ratio 3 and a leaves, giving r = 0, so the problem is feasible with basis x = 3. Phase 2: with x basic, z = x + 2y = (3 − y) + 2y = 3 + y, so the reduced cost of y is +1 ≥ 0 and the basis is optimal. Optimum x = 3, y = 0, z = 3.

Duality and sensitivity analysis

  1. 1.What is duality in linear programming?Concept

    Duality in linear programming refers to the concept where every linear programming problem (the primal) has an associated dual problem. The solutions to these problems provide bounds to each other, and under certain conditions, they have the same optimal value. This relationship helps in understanding the properties of the original problem and can be used to derive sensitivity analysis.

  2. 2.Explain the significance of the dual problem in linear programming.Concept

    The dual problem provides insights into the primal problem, such as bounds on the optimal value and sensitivity information. It can also be easier to solve in certain cases, especially when the primal problem is large. Additionally, the dual variables can be interpreted as shadow prices, indicating how much the objective function would improve if there were one more unit of a resource.

  3. 3.What is sensitivity analysis in the context of linear programming?Concept

    Sensitivity analysis in linear programming examines how the optimal solution changes in response to changes in the coefficients of the objective function or the right-hand side values of the constraints. It helps in understanding the robustness of the solution and in making informed decisions when there are uncertainties in the data.

  4. 4.Why is duality used in sensitivity analysis?Application

    Duality is used in sensitivity analysis because the dual variables provide information about how changes in the constraints affect the optimal value of the objective function. This allows decision-makers to understand the impact of variations in resource availability or requirement levels on the solution.

  5. 5.What happens if the primal problem is unbounded?Application

    If the primal problem is unbounded, it means that the objective function can be increased indefinitely without violating any constraints. In such cases, the dual problem will be infeasible, as there is no finite solution that satisfies all the dual constraints.

  6. 6.How does a change in an objective function coefficient affect the dual problem and the optimal solution?Application

    Primal objective coefficients are the right-hand sides of the dual constraints, so changing cⱼ shifts dual constraint j. In the primal it changes the reduced costs: as long as every reduced cost keeps its optimal sign (the optimality range of cⱼ), the optimal x* is unchanged and only Z changes. Outside that range another vertex becomes optimal and the basis changes.

  7. 7.What is the complementary slackness condition?Concept

    At optimality, each primal constraint's slack times its dual variable is zero, and each primal variable times the surplus of its dual constraint is zero. So a resource with unused capacity has a zero shadow price, and a positive shadow price means the resource is fully used; likewise a product made at a positive level has zero reduced cost. Given one optimal solution, these conditions let you write down the other's optimum by solving a few equations.

  8. 8.Explain how you would perform sensitivity analysis on the right-hand side of a constraint.Application

    Write the optimal basic variables as functions of the changed bᵢ (from the B⁻¹ columns of the final tableau) and require each to stay non-negative; that gives the feasibility range of bᵢ. Inside it the same basis remains optimal, Z changes at the shadow price yᵢ per unit, and the basic variable values shift. Outside it the basis changes, so you re-optimise (usually by dual simplex) and the old shadow price no longer applies.

  9. 9.Given a primal linear programming problem, how do you formulate its dual?Numerical

    First put the primal in canonical form: for a Max problem all constraints ≤ (multiply ≥ rows by −1) and all variables ≥ 0. Then give each constraint a dual variable yᵢ ≥ 0, make the dual a Min with the primal RHS as objective coefficients, transpose the coefficient matrix, and make each dual constraint ≥ with the primal objective coefficient as its RHS. An equality constraint gives an unrestricted dual variable, and an unrestricted primal variable gives an equality dual constraint.

  10. 10.Solve the following primal problem and find its dual: Maximize z = 3x₁ + 2x₂ subject to x₁ + x₂ ≤ 4, x₁ ≤ 2, x₂ ≤ 3, x₁, x₂ ≥ 0.Numerical

    Corners (0, 0), (2, 0), (2, 2), (1, 3), (0, 3) give z = 0, 6, 10, 9, 6, so the primal optimum is x₁ = 2, x₂ = 2, z = 10. Dual: minimise w = 4y₁ + 2y₂ + 3y₃ subject to y₁ + y₂ ≥ 3, y₁ + y₃ ≥ 2, y ≥ 0. Constraint 3 has slack (x₂ = 2 < 3), so y₃ = 0; x₁, x₂ > 0 make both dual constraints tight: y₁ = 2, y₂ = 1. Then w = 8 + 2 = 10 = z, confirming strong duality.

Transportation problem

  1. 1.What is the transportation problem in operations research?Concept

    The transportation problem is a type of linear programming problem where the objective is to determine the most cost-effective way to transport goods from several suppliers to several consumers. The goal is to minimize the total transportation cost while satisfying supply and demand constraints.

  2. 2.Explain the difference between a balanced and an unbalanced transportation problem.Concept

    A balanced transportation problem occurs when the total supply equals the total demand. An unbalanced transportation problem arises when the total supply does not equal the total demand. In such cases, dummy rows or columns are added to balance the problem, ensuring that the supply equals demand.

  3. 3.What is the Northwest Corner Method, and how is it used in solving transportation problems?Concept

    The Northwest Corner Method is a technique used to find an initial feasible solution for a transportation problem. It involves starting at the top-left (northwest) corner of the cost matrix and allocating as much as possible to the shipping routes, moving either right or down, until all supply and demand constraints are satisfied.

  4. 4.Why is the transportation problem important in industrial operations?Application

    The transportation problem is crucial in industrial operations because it helps in optimizing logistics and supply chain management. By minimizing transportation costs, companies can reduce overall operational expenses, improve efficiency, and enhance customer satisfaction by ensuring timely delivery of goods.

  5. 5.What happens if the transportation cost matrix contains negative values?Application

    Nothing special is needed: the problem is still a minimisation, and NWC, LCM, VAM and MODI work unchanged with negative cᵢⱼ (for example a rebate or subsidy on a route). Because supplies and demands bound every shipment, the optimum stays finite. If you prefer non-negative numbers, add the same constant to every cell; this shifts the total cost by a constant times the total quantity and does not change the optimal allocation.

  6. 6.How does the MODI method improve upon the initial solution obtained by methods like the Northwest Corner Method?Application

    MODI computes row and column potentials from uᵢ + vⱼ = cᵢⱼ for the m + n − 1 occupied cells, then the opportunity cost dᵢⱼ = cᵢⱼ − (uᵢ + vⱼ) of every empty cell. If any dᵢⱼ is negative, that route enters: a closed loop through occupied cells is traced, the smallest quantity on a minus corner is shifted, and the cost falls by θ·|dᵢⱼ|. It repeats until all dᵢⱼ ≥ 0, which is the optimality condition; uᵢ and vⱼ are the dual variables.

  7. 7.What is the significance of degeneracy in a transportation problem, and how can it be resolved?Concept

    A basic solution must have m + n − 1 independent occupied cells; degeneracy means fewer, typically because a row and a column are satisfied by the same allocation. With too few cells the uᵢ, vⱼ equations cannot all be solved, so MODI cannot test optimality. The fix is to put a very small quantity ε in an empty cell that does not form a closed loop with the occupied cells, treat it as occupied, and set ε = 0 in the final answer.

  8. 8.Given a transportation problem with 3 suppliers and 4 consumers, how many basic variables should be in the initial feasible solution?Numerical

    For a transportation problem with 3 suppliers and 4 consumers, the number of basic variables in the initial feasible solution should be m+n-1, which is 3+4-1 = 6.

  9. 9.Find the initial feasible solution by the Northwest Corner Method: supplies [20, 30], demands [10, 10, 30], costs [[8, 6, 10], [9, 7, 4]].Numerical

    Allocate x₁₁ = 10 (D1 satisfied), then x₁₂ = 10, which exhausts S1 and D2 at the same time, then x₂₃ = 30. Cost = 10×8 + 10×6 + 30×4 = ₹260. Only 3 cells are occupied against m + n − 1 = 4, so the solution is degenerate; add ε to an independent cell such as (2,2) before applying MODI.

Assignment problem

  1. 1.What is the assignment problem and how is it different from the transportation problem?Concept

    It assigns n jobs to n facilities one-to-one to minimise total cost or time (or maximise profit). It is a special transportation problem in which every supply and demand equals 1 and every xᵢⱼ is 0 or 1. Because only n of the 2n − 1 basic cells are positive, it is extremely degenerate, so instead of MODI it is solved by the Hungarian method, which works directly on the cost matrix.

  2. 2.Why does subtracting a row or column minimum not change the optimal assignment?Concept

    Every feasible assignment picks exactly one element from each row and each column. Subtracting a constant k from a row therefore reduces the total cost of every assignment by the same k, so their ranking is unchanged. The reduced matrix has no negative entries, so an assignment made entirely on zeros has the least possible reduced cost and is optimal for the original matrix too.

  3. 3.Walk me through the Hungarian method.Concept

    Reduce each row by its minimum, then each column by its minimum. Try to make assignments on zeros, starting with rows or columns that have a single zero. If you cannot make n assignments, cover all zeros with the minimum number of lines; if lines are fewer than n, subtract the smallest uncovered element from all uncovered cells and add it to the cells where two lines cross, then try again. When n independent zeros exist, that assignment is optimal; report its total from the original matrix.

  4. 4.How do you handle a maximisation assignment problem?Concept

    Convert profits to opportunity losses by subtracting every element from the largest element of the matrix (or by multiplying by −1), then apply the minimisation Hungarian method. The optimal cells are the same, but the objective must be computed from the original profit matrix, not from the loss matrix.

  5. 5.How do you solve an unbalanced assignment problem or one with a prohibited assignment?Concept

    If the matrix is not square, add dummy rows or columns with zero cost (or a given idle cost) to make it square; a job assigned to a dummy facility is left undone, and a facility assigned a dummy job stays idle. A prohibited pairing gets a very large cost M so the method never chooses it unless no feasible alternative exists.

  6. 6.What does the minimum number of covering lines tell you?Concept

    It equals the maximum number of independent zeros — zeros with no two in the same row or column (König's theorem). If it equals n, a complete optimal assignment can be made on zeros. If it is less than n, the matrix must be modified by the improvement step, which creates at least one new zero in an uncovered cell while keeping all entries non-negative.

  7. 7.How is the travelling salesman problem related to the assignment problem?Concept

    A TSP is an assignment problem (each city has exactly one successor and one predecessor) with the extra condition that the assignment must form one single tour with no subtours, and with self-assignments (diagonal) prohibited by cost M. Solving it as an assignment problem gives a lower bound; if the result contains subtours, branch and bound is used to eliminate them.

Integer programming: branch and bound

  1. 1.Why can't you just round the LP solution to get an integer solution?Concept

    A rounded point can violate constraints — for example rounding (3.75, 1.25) to (4, 1) breaks 10x₁ + 6x₂ ≤ 45 — and even when it is feasible it can be far from optimal, because the integer optimum need not lie next to the LP vertex. Rounding is acceptable only when the variables are large (hundreds of units) and the error is negligible; for small counts and 0-1 decisions you need branch and bound or another exact method.

  2. 2.Explain the branch and bound method.Concept

    Solve the LP relaxation; its value bounds the integer optimum. If the solution is fractional, choose a fractional variable xⱼ = v and create two sub-problems with xⱼ ≤ ⌊v⌋ and xⱼ ≥ ⌊v⌋ + 1, which exclude the fractional point but no integer point. Solve each node's LP and fathom it if it is infeasible, integer (update the incumbent), or no better than the incumbent. When all nodes are fathomed, the incumbent is optimal.

  3. 3.What does it mean to fathom a node, and when do you do it?Concept

    Fathoming means no further branching from that node is needed. It happens when the node LP is infeasible, when its solution is already integer (it becomes the incumbent if it is better), or when its LP value is no better than the best integer solution found so far — since children can only be worse, nothing better can be found below it.

  4. 4.What is the relationship between the LP relaxation value and the integer optimum?Concept

    Relaxing integrality enlarges the feasible region, so the LP optimum is at least as good as the integer optimum: an upper bound for maximisation and a lower bound for minimisation. The gap between them, the integrality gap, shows how much the integer requirement costs and how much work branch and bound may need.

  5. 5.Give examples of where 0-1 variables are used in production engineering.Concept

    Plant or warehouse location (open or not), machine purchase decisions, project or capital-budgeting selection, fixed set-up costs where a product is made only if the machine is set up (x ≤ U·y), sequencing and either-or constraints, and assignment of jobs to machines. These create yes/no logic that ordinary LP cannot represent.

  6. 6.How does the cutting-plane method differ from branch and bound?Concept

    A cutting-plane method (Gomory) keeps a single LP and adds valid inequalities, derived from a fractional row of the optimal tableau, that slice off the current fractional vertex without removing any integer point; it re-solves until the LP optimum is integer. Branch and bound instead splits the problem into sub-problems. Pure cutting planes can converge slowly, so modern solvers combine both as branch and cut.

  7. 7.Which node do you explore next in branch and bound, and why does it matter?Concept

    Depth-first search follows one branch down, finds a feasible integer incumbent quickly and uses little memory, which helps prune other nodes early. Best-bound search always expands the open node with the best LP value, which tends to prove optimality with fewer nodes. The choice affects only computing effort, not the final optimum.

Network flow: shortest path, minimal spanning tree, maximal flow

  1. 1.What is the shortest path problem in network flow?Concept

    The shortest path problem involves finding the path between two nodes in a graph such that the sum of the weights of its constituent edges is minimized. This is commonly used in routing and navigation systems to determine the most efficient route.

  2. 2.Explain the concept of a minimal spanning tree.Concept

    A minimal spanning tree (MST) is a subset of the edges of a connected, edge-weighted graph that connects all the vertices together, without any cycles and with the minimum possible total edge weight. It is used in network design, such as designing the layout of electrical grids or computer networks.

  3. 3.What is the maximal flow problem in network flow?Concept

    The maximal flow problem involves finding the greatest possible flow from a source node to a sink node in a flow network, subject to capacity constraints on the edges. This is used in various applications like traffic engineering and network routing.

  4. 4.Why is Dijkstra's algorithm used for finding the shortest path?Application

    Dijkstra's algorithm is used for finding the shortest path because it efficiently computes the shortest paths from a single source vertex to all other vertices in a graph with non-negative edge weights. It is widely used due to its simplicity and effectiveness in many practical applications.

  5. 5.What happens if you apply Kruskal's algorithm to a graph with negative edge weights?Application

    Kruskal's algorithm can still be applied to graphs with negative edge weights, as it only requires sorting the edges by weight and does not depend on the sign of the weights. The algorithm will still find the minimal spanning tree, as it focuses on minimizing the total edge weight.

  6. 6.Explain how the Ford-Fulkerson method finds the maximal flow in a network.Concept

    Starting from zero flow, it repeatedly finds an augmenting path from source to sink in the residual network — forward arcs with spare capacity, or reverse arcs that cancel flow already sent — and pushes the path's bottleneck capacity along it. When no augmenting path remains, the flow is maximal. At that point the nodes reachable from the source define a cut whose capacity equals the flow, which is the max-flow min-cut theorem and identifies the bottleneck arcs.

  7. 7.How does the Bellman-Ford algorithm differ from Dijkstra's algorithm?Application

    The Bellman-Ford algorithm differs from Dijkstra's algorithm in that it can handle graphs with negative edge weights and can detect negative weight cycles. While Dijkstra's algorithm is more efficient for graphs with non-negative weights, Bellman-Ford is more versatile for graphs where negative weights are present.

  8. 8.Calculate the shortest path from node A to node D in a graph with edges: A-B (1), B-C (2), A-C (2), C-D (1).Numerical
    1. Start at node A. Possible paths are A-B-C-D and A-C-D.
    2. Calculate the total weight for A-B-C-D: 1 (A-B) + 2 (B-C) + 1 (C-D) = 4.
    3. Calculate the total weight for A-C-D: 2 (A-C) + 1 (C-D) = 3.
    4. The shortest path is A-C-D with a total weight of 3.
  9. 9.Find the minimal spanning tree for a graph with nodes A, B, C, D and edges: A-B (4), B-C (1), C-D (3), A-D (2).Numerical
    1. List the edges in increasing order of weight: B-C (1), A-D (2), C-D (3), A-B (4).
    2. Start with the smallest edge B-C (1).
    3. Add A-D (2) as it does not form a cycle.
    4. Add C-D (3) as it does not form a cycle.
    5. The minimal spanning tree includes edges B-C, A-D, and C-D with a total weight of 6.
  10. 10.Why is the Edmonds-Karp algorithm used in network flow problems?Application

    The Edmonds-Karp algorithm is used in network flow problems because it is a specific implementation of the Ford-Fulkerson method that uses breadth-first search to find augmenting paths. This ensures that the algorithm runs in polynomial time, making it more efficient for larger networks.

Project networks: CPM and floats

  1. 1.What is the Critical Path Method (CPM) in project management?Concept

    The Critical Path Method (CPM) is a project management technique used to determine the longest sequence of dependent tasks and the minimum time needed to complete a project. It identifies critical and non-critical tasks, helping project managers prioritize activities and allocate resources efficiently.

  2. 2.Why is the Critical Path Method (CPM) important in project scheduling?Application

    CPM is important because it helps project managers identify the most crucial tasks that directly impact the project's completion time. By focusing on these tasks, managers can allocate resources more effectively, anticipate potential delays, and ensure that the project is completed on time.

  3. 3.What happens if a task on the critical path is delayed?Application

    If a task on the critical path is delayed, it directly affects the project's overall completion time, as there is no slack available for these tasks. This can lead to project overruns unless corrective actions, such as reallocating resources or adjusting schedules, are taken.

  4. 4.How can project managers use float to optimize project schedules?Application

    Project managers can use float to optimize schedules by reallocating resources from tasks with float to critical tasks that are at risk of delay. This flexibility allows managers to balance workloads, reduce bottlenecks, and ensure that critical tasks are completed on time.

  5. 5.Explain the difference between total float and free float.Concept

    Total float is the amount of time a task can be delayed without affecting the project's overall completion time. Free float, on the other hand, is the amount of time a task can be delayed without affecting the start time of any subsequent tasks. Free float is always less than or equal to total float.

  6. 6.In what scenarios might a project manager choose not to use CPM?Application

    A project manager might choose not to use CPM in scenarios where the project is small and simple, with few dependencies, or when the project timeline is flexible and not critical. Additionally, if the project involves a high degree of uncertainty or frequent changes, other methods like Agile might be more suitable.

  7. 7.Calculate the total float for a task with an early start of 5 days, a late start of 10 days, an early finish of 15 days, and a late finish of 20 days.Numerical

    Total float can be calculated using the formula: Total Float = Late Start - Early Start or Late Finish - Early Finish. Using either formula, Total Float = 10 - 5 = 5 days or 20 - 15 = 5 days.

  8. 8.A project has tasks A, B, and C. Task A takes 3 days, B takes 5 days, and C takes 2 days. Tasks B and C can start only after A is completed. What is the critical path and project duration?Numerical

    The critical path is the longest path through the project network. Task A must be completed before tasks B and C can start. The critical path is A -> B, with a duration of 3 + 5 = 8 days. Task C, taking 2 days, is not on the critical path.

  9. 9.What are some limitations of the Critical Path Method (CPM)?Application

    Some limitations of CPM include its assumption of fixed task durations, which may not account for variability in real-world scenarios. It also requires accurate estimation of task durations and dependencies, which can be challenging. Additionally, CPM does not handle resource allocation directly, which can be a limitation in resource-constrained projects.

PERT and probability of completion

  1. 1.What is PERT in operations research?Concept

    PERT stands for Program Evaluation and Review Technique. It is a project management tool used to schedule, organize, and coordinate tasks within a project. PERT is particularly useful for projects where the time required to complete different tasks is uncertain. It helps in identifying the critical path and estimating the minimum time needed to complete the entire project.

  2. 2.Explain the difference between PERT and CPM.Concept

    Both use a precedence network and the critical-path logic. PERT treats activity times as random, with three estimates per activity giving a mean and a variance, and answers probability questions about meeting a due date; it suits new, uncertain R&D-type projects and is event-oriented. CPM uses single deterministic durations, is activity-oriented, and adds the time-cost trade-off (crashing) for repetitive work such as construction and maintenance where durations and costs are well known.

  3. 3.What are the three time estimates used in PERT?Concept

    PERT uses three time estimates for each activity: optimistic time (O), which is the shortest time in which the activity can be completed; pessimistic time (P), which is the longest time the activity might take; and most likely time (M), which is the best estimate of the time required to complete the activity, assuming everything proceeds as normal. These estimates are used to calculate the expected time for each activity.

  4. 4.How is the expected time for an activity calculated in PERT?Numerical

    Assuming the activity time follows a beta distribution between the optimistic time a and pessimistic time b with mode m, the expected time is te = (a + 4m + b)/6 — a weighted average with weight 4 on the most likely time. The standard deviation is approximated as (b − a)/6, so the variance is ((b − a)/6)².

  5. 5.Explain how PERT can be used to assess the probability of completing a project by a certain deadline.Application

    Find the critical path using expected times; the project mean Tₑ is the sum of their te values and the project variance is the sum of their variances (activities assumed independent). By the central limit theorem the project time is taken as normal, so Z = (deadline − Tₑ)/σ_T and the probability is Φ(Z) from the normal table. The answer is somewhat optimistic because near-critical paths with large variance are ignored.

  6. 6.Calculate the expected time for an activity with optimistic time of 3 days, most likely time of 5 days, and pessimistic time of 9 days.Numerical

    Using the PERT formula for expected time: TE = (O + 4M + P) / 6, where O = 3 days, M = 5 days, and P = 9 days. TE = (3 + 4*5 + 9) / 6 = (3 + 20 + 9) / 6 = 32 / 6 = 5.33 days.

  7. 7.How does PERT handle uncertainty in project scheduling?Application

    PERT handles uncertainty in project scheduling by using probabilistic time estimates for each activity. By considering optimistic, pessimistic, and most likely times, PERT provides a more realistic estimate of project duration. This approach allows project managers to assess risks and plan for potential delays, making it easier to manage projects with uncertain timelines.

Project crashing and time-cost trade-off

  1. 1.What is project crashing in the context of operations research?Concept

    Project crashing is a technique used in project management to reduce the duration of a project by allocating additional resources to critical path activities. This often involves increasing costs to achieve a shorter project timeline. The goal is to find the most cost-effective way to decrease the project duration.

  2. 2.Explain the time-cost trade-off in project management.Concept

    Shortening activities by overtime, extra crews or equipment raises the direct cost, while indirect costs (overheads, supervision, penalties) fall as the project gets shorter. Total cost is therefore U-shaped against duration. The time-cost trade-off crashes the cheapest critical activities step by step and stops at the optimum duration, where the cheapest daily crashing cost first exceeds the indirect cost saved per day.

  3. 3.What happens if a project is crashed too much?Application

    If a project is crashed excessively, it can lead to significantly increased costs, resource burnout, and potential quality issues. Over-crashing might also result in diminishing returns, where the additional cost does not proportionally reduce the project duration. It is essential to carefully analyze the cost-benefit ratio to avoid these negative outcomes.

  4. 4.How do you determine which activities to crash in a project?Application

    Only critical activities matter. Compute each one's cost slope, (crash cost − normal cost)/(normal time − crash time), and crash the lowest-slope critical activity first, by no more than its crash limit or the float of the next-longest path. When several paths are critical, compare a common activity with combinations of one activity per path and pick the cheapest. Recompute the critical paths after every step.

  5. 5.Explain how the critical path method (CPM) is related to project crashing.Concept

    The critical path method (CPM) identifies the longest sequence of dependent tasks in a project, which determines the shortest possible project duration. Project crashing focuses on reducing the time of activities on this critical path to shorten the overall project duration. Understanding the CPM is essential for effective project crashing.

  6. 6.How can project crashing impact project quality?Application

    Project crashing can negatively impact project quality if not managed carefully. The pressure to meet shorter deadlines might lead to rushed work, reduced attention to detail, and insufficient testing or quality assurance. It is important to balance time savings with maintaining quality standards.

  7. 7.An activity has a normal time of 10 days at ₹5000 and can be crashed to 7 days at ₹8000. What is its cost slope and the extra cost of crashing it by 3 days?Numerical

    Cost slope = (crash cost − normal cost)/(normal time − crash time) = (8000 − 5000)/(10 − 7) = ₹1000 per day. Crashing by the full 3 days adds 3 × 1000 = ₹3000 to the direct cost, which is worth doing only if the activity is critical and the saving in indirect cost or penalty exceeds ₹1000 per day.

  8. 8.Activities A, B and C are on the only critical path, with cost slopes of ₹200, ₹150 and ₹100 per day. Which should be crashed first?Numerical

    Crash C first, because it saves a day for the least money (₹100/day), provided it still has crash time left. Crash it only until another path becomes critical or its crash limit is reached; after that, recompute the critical paths, because the cheapest choice may then be a common activity or a combination on parallel paths.

Queuing models: M/M/1 and M/M/c

  1. 1.What is an M/M/1 queuing model?Concept

    An M/M/1 queuing model is a mathematical model used to describe a system with a single server where arrivals follow a Poisson process, and service times are exponentially distributed. The 'M' stands for 'memoryless', indicating the exponential distribution, and the '1' denotes a single server. This model is used to analyze the performance of queuing systems, such as calculating average wait times and queue lengths.

  2. 2.Explain the M/M/c queuing model.Concept

    The M/M/c queuing model is an extension of the M/M/1 model, where 'c' represents the number of servers in the system. Like the M/M/1 model, arrivals follow a Poisson process, and service times are exponentially distributed. This model is used to analyze systems with multiple servers, allowing for the calculation of metrics like average queue length, waiting time, and server utilization.

  3. 3.Why is the Poisson process used for modeling arrivals in M/M/1 and M/M/c queuing models?Application

    The Poisson process is used because it is a good representation of random, independent events occurring over time, which is typical for arrival processes in many real-world systems. It is mathematically tractable and allows for the derivation of key performance metrics in queuing theory. Additionally, the memoryless property of the exponential distribution simplifies the analysis.

  4. 4.What happens to the average waiting time in an M/M/1 queue if the arrival rate approaches the service rate?Application

    As the arrival rate approaches the service rate in an M/M/1 queue, the system becomes heavily loaded, leading to a significant increase in the average waiting time. In the limit, as the arrival rate equals the service rate, the average waiting time tends to infinity, indicating that the system is unstable and cannot handle the incoming traffic.

  5. 5.How does increasing the number of servers in an M/M/c model affect the system performance?Application

    Increasing the number of servers in an M/M/c model generally improves system performance by reducing the average waiting time and queue length. It also increases the system's capacity to handle higher arrival rates without becoming unstable. However, there is a trade-off between the cost of adding more servers and the benefits of reduced waiting times.

  6. 6.Explain the concept of server utilization in the context of M/M/1 and M/M/c models.Concept

    Server utilization is the fraction of time a server is busy serving customers. In an M/M/1 model, it is calculated as the ratio of the arrival rate to the service rate. In an M/M/c model, it is the ratio of the arrival rate to the product of the number of servers and the service rate. High utilization indicates efficient use of resources, but very high utilization can lead to long wait times and potential system overload.

  7. 7.What is the probability that there are no customers in an M/M/1 queue?Concept

    The probability that there are no customers in an M/M/1 queue, also known as the idle probability, is given by 1 - ρ, where ρ is the server utilization (arrival rate divided by service rate). This probability indicates how often the server is idle and not serving any customers.

  8. 8.Calculate the average number of customers in the system for an M/M/1 queue with an arrival rate of 2 customers per hour and a service rate of 3 customers per hour.Numerical

    To calculate the average number of customers in the system (L) for an M/M/1 queue, use the formula L = λ / (μ - λ), where λ is the arrival rate and μ is the service rate. Here, λ = 2 customers/hour and μ = 3 customers/hour. So, L = 2 / (3 - 2) = 2 customers.

  9. 9.For an M/M/2 queue with an arrival rate of 4 customers per hour and a service rate of 3 customers per hour per server, calculate the server utilization.Numerical

    In an M/M/c model, server utilization (ρ) is calculated as ρ = λ / (c * μ), where λ is the arrival rate, c is the number of servers, and μ is the service rate per server. Here, λ = 4 customers/hour, c = 2 servers, and μ = 3 customers/hour. So, ρ = 4 / (2 * 3) = 2/3 or approximately 0.67.

  10. 10.What are the limitations of using M/M/1 and M/M/c models in real-world applications?Application

    The main limitations of M/M/1 and M/M/c models are their assumptions of Poisson arrivals and exponential service times, which may not hold in all real-world scenarios. These models also assume infinite queue capacity and do not account for priorities or varying service rates. As a result, they may not accurately represent systems with complex arrival patterns or service mechanisms.

Game theory

  1. 1.What is game theory and why is it important in operations research?Concept

    Game theory is a mathematical framework used for analyzing situations where multiple players make decisions that affect each other's outcomes. It is important in operations research because it helps in understanding and predicting the behavior of competing agents, optimizing strategies, and making informed decisions in competitive environments.

  2. 2.Explain the difference between cooperative and non-cooperative game theory.Concept

    In cooperative game theory, players can form binding agreements and coalitions to achieve a better outcome collectively. In non-cooperative game theory, players make decisions independently and cannot form binding agreements, focusing on individual strategies to maximize their own payoffs.

  3. 3.What is a Nash equilibrium and how is it determined?Concept

    A Nash equilibrium is a situation in a game where no player can benefit by changing their strategy while the other players keep theirs unchanged. It is determined by identifying the strategies where each player's choice is the best response to the others' choices.

  4. 4.How does game theory apply to supply chain management?Application

    Game theory applies to supply chain management by analyzing interactions between different entities like suppliers, manufacturers, and retailers. It helps in understanding competitive behaviors, optimizing pricing strategies, and improving negotiation outcomes to enhance overall supply chain efficiency.

  5. 5.Explain the concept of a zero-sum game with an example.Concept

    A zero-sum game is a situation where one player's gain is exactly balanced by the losses of other players. An example is a poker game, where the total amount won by some players equals the total amount lost by others, making the net change in wealth zero.

  6. 6.Why might a company use mixed strategies in a competitive market?Application

    A company might use mixed strategies to remain unpredictable and prevent competitors from exploiting a fixed pattern. By randomizing their actions, they can maintain a competitive edge and potentially achieve better outcomes in uncertain environments.

  7. 7.Find the pure-strategy Nash equilibria of this 2 × 2 game: Player A chooses Up or Down, Player B chooses Left or Right; payoffs (A, B) are Up-Left (3, 2), Up-Right (1, 1), Down-Left (0, 0), Down-Right (2, 3).Numerical

    A's best responses: against Left, Up (3 > 0); against Right, Down (2 > 1). B's best responses: against Up, Left (2 > 1); against Down, Right (3 > 0). Cells where both are best responses are (Up, Left) with payoffs (3, 2) and (Down, Right) with (2, 3), so there are two pure Nash equilibria (and also a mixed one). This coordination game shows that a Nash equilibrium need not be unique.

  8. 8.In a game with two players, if Player 1 has a dominant strategy, what does it imply about Player 2's strategy?Application

    If Player 1 has a dominant strategy, it means that Player 1 will choose this strategy regardless of what Player 2 does. This can simplify Player 2's decision-making, as they can anticipate Player 1's choice and adjust their strategy accordingly to maximize their own payoff.

  9. 9.What is a saddle point in a two-person zero-sum game?Concept

    It is a cell of the payoff matrix that is the minimum of its row and the maximum of its column, so the maximin (A's guaranteed floor) equals the minimax (B's guaranteed ceiling). Then both players use pure strategies — A that row, B that column — and the value of the game is that entry. Neither player can gain by moving away from it alone.

  10. 10.How do you solve a two-person zero-sum game that has no saddle point?Concept

    First remove dominated rows (smaller for A) and columns (larger for B). For a 2 × 2 game use the mixed-strategy formulas: with D = a₁₁ + a₂₂ − a₁₂ − a₂₁, p₁ = (a₂₂ − a₂₁)/D, q₁ = (a₂₂ − a₁₂)/D and V = (a₁₁a₂₂ − a₁₂a₂₁)/D. For 2 × n or m × 2 use the graphical method to pick the active 2 × 2 sub-game, and for larger games solve the equivalent linear programme. Always check that V lies between maximin and minimax.

Decision theory under risk and uncertainty

  1. 1.Explain the difference between risk and uncertainty in decision-making.Concept

    In decision-making, risk refers to situations where the probabilities of different outcomes are known or can be estimated. Uncertainty, on the other hand, refers to situations where these probabilities are unknown or cannot be reliably estimated. This distinction affects how decisions are made, as different tools and approaches are used to handle risk versus uncertainty.

  2. 2.What is the expected value criterion in decision theory?Concept

    The expected value criterion is a decision-making tool used under risk. It involves calculating the weighted average of all possible outcomes, where each outcome is weighted by its probability of occurrence. The decision with the highest expected value is typically chosen, as it represents the most favorable average outcome over time.

  3. 3.Why is the maximin criterion used in decision-making under uncertainty?Application

    The maximin criterion is used in decision-making under uncertainty to ensure a conservative approach. It involves selecting the decision that maximizes the minimum payoff. This approach is useful when decision-makers want to avoid the worst-case scenario, as it focuses on minimizing potential losses in the absence of known probabilities.

  4. 4.How does the minimax regret criterion work in decision theory?Concept

    For each state of nature, the regret (opportunity loss) of an alternative is the best payoff available in that state minus the payoff the alternative gives, so regrets are never negative. Build the regret table column by column, note each alternative's largest regret, and choose the alternative whose largest regret is smallest. It suits a decision maker who wants to limit how badly a choice can look in hindsight.

  5. 5.What happens if probabilities are incorrectly estimated in decision-making under risk?Application

    If probabilities are incorrectly estimated in decision-making under risk, it can lead to suboptimal decisions. The expected value calculations will be inaccurate, potentially leading to choices that do not maximize the actual expected outcome. This highlights the importance of accurate probability estimation in risk-based decision-making.

  6. 6.Explain how sensitivity analysis is used in decision-making under uncertainty.Application

    Sensitivity analysis is used to assess how the outcomes of a decision change with variations in input parameters. In decision-making under uncertainty, it helps identify which variables have the most impact on the decision outcome. This analysis aids in understanding the robustness of a decision and in identifying critical factors that require more accurate estimation.

  7. 7.Calculate the expected value of a decision with outcome A: payoff ₹100 thousand with probability 0.4, and outcome B: payoff ₹200 thousand with probability 0.6.Numerical

    EV = Σ p·payoff = 0.4 × 100 + 0.6 × 200 = 40 + 120 = ₹160 thousand. It is a long-run average: in any single trial the actual payoff will be 100 or 200, never 160.

  8. 8.Project X has a 50% chance of ₹300 thousand and a 50% chance of ₹100 thousand. Project Y has a 70% chance of ₹200 thousand and a 30% chance of ₹50 thousand. Which should be chosen on expected value?Numerical

    EMV(X) = 0.5 × 300 + 0.5 × 100 = ₹200 thousand; EMV(Y) = 0.7 × 200 + 0.3 × 50 = 140 + 15 = ₹155 thousand. On EMV, X is chosen. X also has the higher worst case (100 against 50), so even a risk-averse decision maker would prefer it here.

  9. 9.What is the role of utility theory in decision-making under risk?Concept

    Utility theory plays a role in decision-making under risk by considering the decision-maker's preferences and risk tolerance. Instead of focusing solely on monetary outcomes, utility theory evaluates the satisfaction or utility derived from different outcomes. This approach helps in making decisions that align with the decision-maker's subjective preferences and risk attitudes.

Replacement models

  1. 1.What is a replacement model in operations research?Concept

    A replacement model in operations research is a mathematical model used to determine the optimal time to replace equipment or machinery. It helps in minimizing the total cost associated with the operation and maintenance of the equipment over its lifecycle. The model considers factors such as the cost of new equipment, maintenance costs, and the depreciation of the existing equipment.

  2. 2.Explain the difference between individual and group replacement policies.Concept

    Individual replacement replaces each item only when it fails. Group replacement replaces all items together at fixed intervals, whether failed or not, and replaces failures individually in between. Group replacement suits large numbers of cheap items that fail suddenly, such as lamps or fuses, where replacing them together costs much less per item than attending to each failure; the best interval is the one with the lowest average cost per period, compared against the individual policy's cost of N₀/(mean life) failures per period.

  3. 3.Why is it important to consider the time value of money in replacement models?Application

    The time value of money is important in replacement models because it affects the evaluation of future costs and benefits. Money today is worth more than the same amount in the future due to its potential earning capacity. By considering the time value of money, decision-makers can accurately compare the costs of maintaining old equipment versus investing in new equipment, ensuring that the replacement decision is financially sound.

  4. 4.What factors should be considered when deciding on a replacement policy?Application

    When deciding on a replacement policy, factors to consider include the cost of new equipment, maintenance and repair costs, the reliability and efficiency of the current equipment, the expected lifespan of the equipment, technological advancements, and the time value of money. Additionally, the impact on production and any potential downtime should also be considered.

  5. 5.How does technological advancement impact replacement decisions?Application

    Technological advancement can significantly impact replacement decisions by making existing equipment obsolete or less efficient compared to newer models. As technology improves, new equipment may offer better performance, lower operating costs, and enhanced features. This can lead to a decision to replace older equipment sooner to take advantage of these benefits, even if the existing equipment is still functional.

  6. 6.What happens if a company delays the replacement of equipment beyond the optimal time?Application

    If a company delays the replacement of equipment beyond the optimal time, it may face increased maintenance and repair costs, higher downtime, and reduced efficiency. This can lead to higher operational costs and potential losses in productivity. Additionally, the equipment may become less reliable, increasing the risk of unexpected failures and disruptions.

  7. 7.A machine costs ₹1,00,000, is kept for 5 years with running costs of ₹10,000 every year and has no resale value. What is its average annual cost, and why can't this case give an optimal replacement age?Numerical

    Average annual cost = (1,00,000 + 5 × 10,000)/5 = 1,50,000/5 = ₹30,000 per year. With constant running costs, A(n) = 1,00,000/n + 10,000 keeps falling as n increases, so it always pays to keep the machine longer. An optimal replacement age exists only when running costs rise with age (or resale value and obsolescence are considered).

  8. 8.Discuss the role of depreciation in replacement models.Concept

    Depreciation plays a crucial role in replacement models as it represents the reduction in value of an asset over time. It affects the book value of the equipment, which is important for financial reporting and tax purposes. Depreciation helps in determining the optimal replacement time by indicating when the cost of maintaining an old asset exceeds the benefits of keeping it. It also impacts the calculation of salvage value and the overall cost-benefit analysis of replacement decisions.

Monte Carlo simulation

  1. 1.What is Monte Carlo simulation in the context of operations research?Concept

    Monte Carlo simulation is a computational technique used to model the probability of different outcomes in a process that cannot easily be predicted due to the intervention of random variables. It uses random sampling and statistical modeling to estimate mathematical functions and mimic the operations of complex systems.

  2. 2.Explain how Monte Carlo simulation can be applied in production and industrial engineering.Concept

    In production and industrial engineering, Monte Carlo simulation can be used to model and analyze complex systems such as supply chain logistics, production scheduling, and inventory management. By simulating different scenarios and outcomes, engineers can assess risks, optimize processes, and make informed decisions under uncertainty.

  3. 3.What are the key components required to perform a Monte Carlo simulation?Concept

    The key components of a Monte Carlo simulation include a model of the system or process being analyzed, a set of input variables with defined probability distributions, a method for generating random samples, and a computational algorithm to simulate the process and analyze the results.

  4. 4.Why is random sampling important in Monte Carlo simulations?Application

    Random sampling is crucial in Monte Carlo simulations because it allows for the exploration of a wide range of possible outcomes and the estimation of probabilities for different scenarios. This randomness helps in capturing the inherent variability and uncertainty in complex systems, leading to more robust and reliable results.

  5. 5.What happens if the number of iterations in a Monte Carlo simulation is too low?Application

    If the number of iterations in a Monte Carlo simulation is too low, the results may not accurately represent the true variability and uncertainty of the system being modeled. This can lead to biased estimates and unreliable conclusions, as the simulation may not capture the full range of possible outcomes.

  6. 6.How can Monte Carlo simulation be used to optimize inventory management?Application

    Monte Carlo simulation can be used in inventory management to model demand variability, lead times, and other uncertainties. By simulating different inventory policies and scenarios, managers can identify optimal reorder points and safety stock levels that minimize costs while maintaining service levels.

  7. 7.Describe a scenario where Monte Carlo simulation might be preferred over deterministic models.Application

    Monte Carlo simulation is preferred over deterministic models when dealing with systems that have significant uncertainty and variability, such as financial forecasting, risk assessment, or complex manufacturing processes. In these cases, deterministic models may oversimplify the system, while Monte Carlo simulation can provide a more comprehensive analysis by accounting for randomness.

  8. 8.A project has three possible outcomes: a profit of ₹1,00,000 with probability 0.3, a profit of ₹50,000 with probability 0.5 and a loss of ₹20,000 with probability 0.2. What is its expected value, and what would a Monte Carlo run of the project give?Numerical

    EV = 0.3 × 1,00,000 + 0.5 × 50,000 + 0.2 × (−20,000) = 30,000 + 25,000 − 4000 = ₹51,000. A Monte Carlo run would allot random numbers 00–29, 30–79 and 80–99 to the three outcomes and average the simulated results; with enough trials the average converges to ₹51,000, while the spread of the trials also shows the 20 % chance of a loss.

  9. 9.A factory uses Monte Carlo simulation to estimate the probability of machine failure. If the simulation runs 10,000 iterations and observes 500 failures, what is the estimated probability of failure?Numerical

    The estimated probability of failure is calculated by dividing the number of observed failures by the total number of iterations: Probability of failure = 500 / 10,000 = 0.05 or 5%.

  10. 10.What are some limitations of Monte Carlo simulation?Concept

    Some limitations of Monte Carlo simulation include the need for significant computational resources, the potential for inaccurate results if the input distributions are not well-defined, and the challenge of interpreting results in complex systems. Additionally, the quality of the simulation is highly dependent on the accuracy of the model and the assumptions made.