Operations & Supply Chain Optimization

Chapter 13
Operations Analytics, Modeling and Optimization

Post Graduate Program in Entrepreneurship
Operations & Supply Chain Optimization   •   Post Graduate Diploma

Operations Analytics, Modeling and Optimization

Introduction

Operations analytics converts operational data and managerial judgment into better decisions about capacity, sourcing, inventory, transportation, scheduling, service, and risk. In entrepreneurial firms, this capability is especially important because resources are scarce, demand is uncertain, and early design choices can create long-term cost and service consequences. Analytics does not replace managerial judgment. Rather, it structures judgment, makes assumptions visible, identifies trade-offs, and allows alternatives to be tested before resources are committed.

Operations analytics is commonly understood through three linked questions:

  1. Descriptive analytics: What has happened, and what is happening?
  2. Predictive analytics: What is likely to happen?
  3. Prescriptive analytics: What should be done, given objectives, constraints, and uncertainty?

Optimization models are central to prescriptive analytics. They represent decisions through variables, objectives, and constraints. However, every model is an abstraction. A mathematically optimal solution is useful only when the data, assumptions, implementation capability, and organizational objectives are credible.

Learning Objectives

By the end of this chapter, the learner should be able to:

  • distinguish descriptive, predictive, and prescriptive analytics;
  • formulate linear, integer, transportation, assignment, and network models;
  • interpret objective functions, constraints, feasible regions, and shadow prices;
  • use decision trees and Monte Carlo simulation for uncertain decisions;
  • conduct sensitivity analysis and apply multi-criteria decision methods;
  • assess model assumptions, data quality, ethical risks, and implementation limitations;
  • translate analytical results into defensible operational decisions.

1. The Analytics Hierarchy

1.1 Descriptive analytics

Descriptive analytics summarizes historical and current performance. Typical tools include dashboards, variance analysis, process mining, Pareto analysis, control charts, and key performance indicators (KPIs). Examples include order-fill rate, forecast error, inventory turnover, capacity utilization, supplier defect rate, and delivery lead time.

A useful measure of forecast error is mean absolute percentage error (MAPE):

MAPE = (100/n) ∑(t=1 to n) |(At − Ft)/At|

Here, At is actual demand in period t, Ft is forecast demand, and n is the number of periods. MAPE is interpretable as a percentage, but it becomes unstable when actual demand is zero or very small. Mean absolute error, MAE = (1/n)∑|At − Ft|, retains the original measurement units and is often more suitable for operational planning.

Descriptive analysis should move beyond reporting averages. Variation, seasonality, outliers, segmentation, and relationships between process variables may be more important than the mean. For example, a supplier with an average lead time of five days may be less attractive than one with six days if the first supplier has extreme variability that causes stockouts.

1.2 Predictive analytics

Predictive analytics estimates future outcomes. It may use time-series forecasting, regression, classification, survival models, machine learning, or causal analysis. A simple linear regression is written as:

yi = β₀ + β₁xi + εi

where yi is the observed outcome, xi is a predictor, β₀ is the intercept, β₁ is the estimated change in y associated with a one-unit change in x, and εi is an unexplained error term. The relationship should not automatically be interpreted as causal. Omitted variables, reverse causality, measurement error, and structural changes can mislead decision-makers.

For operational use, prediction intervals are often more valuable than point forecasts because they communicate uncertainty. Forecasts should also be evaluated out of sample, since a model that fits historical data well may perform poorly when market conditions change.

1.3 Prescriptive analytics

Prescriptive analytics recommends an action by combining predictions, objectives, constraints, and decision rules. A production plan, for example, may use forecast demand but also consider labor hours, machine capacity, minimum order quantities, service targets, cash availability, and environmental restrictions.

The analytics hierarchy is cumulative: poor descriptive data weakens prediction; poor prediction weakens prescription; and a technically correct prescription may still fail if it is not implementable.

2. Optimization Model Architecture

An optimization model normally contains five elements:

  • Decision variables: controllable choices, such as quantities produced or routes selected.
  • Parameters: known or estimated inputs, such as costs, capacities, and demand.
  • Objective function: the quantity to maximize or minimize.
  • Constraints: operational, financial, legal, or policy restrictions.
  • Domain restrictions: conditions such as non-negativity, integrality, or binary choice.

A general minimization model can be represented as:

Minimize Z = cᵀx
subject to Ax ≤, =, or ≥ b; x ∈ X

Here, x is the vector of decision variables, c is the vector of objective coefficients, A is the constraint-coefficient matrix, b is the vector of right-hand-side resources or requirements, and X defines variable restrictions. Units must be consistent: if x is measured in units, a cost coefficient should be measured in currency per unit, producing a currency-valued objective.

A model is feasible if at least one solution satisfies all constraints. It is infeasible when constraints conflict. It is unbounded when the objective can improve indefinitely, often indicating a missing constraint or an incorrect sign. A feasible solution is optimal if no other feasible solution improves the objective.

3. Linear Programming

Linear programming (LP) assumes that relationships between variables are linear, parameters are known, divisibility is allowed, and all relevant constraints have been represented. LP is suitable for blending, capacity allocation, production planning, workforce allocation, and many transportation problems.

3.1 Product-mix formulation

An entrepreneur produces products A and B. Let xA and xB denote units produced. Product A contributes $40 per unit and uses 2 labor hours and 1 machine hour. Product B contributes $30 per unit and uses 1 labor hour and 2 machine hours. Available resources are 100 labor hours and 80 machine hours.

The model is:

Maximize Z = 40xA + 30xB
subject to 2xA + xB ≤ 100 labor
xA + 2xB ≤ 80 machine time
xA, xB ≥ 0

At the intersection of both binding constraints:

2xA + xB = 100 and xA + 2xB = 80.

Multiplying the second equation by 2 gives 2xA + 4xB = 160. Subtracting the first equation yields 3xB = 60, so xB = 20 and xA = 40. The contribution is Z = 40(40) + 30(20) = 2,200.

The intercept solutions are (0, 0), (50, 0), and (0, 40). Their contributions are $0, $2,000, and $1,200 respectively. Therefore, (40, 20) is optimal among the corner points. This result assumes linear contribution, divisible production, reliable resource estimates, and no omitted constraints such as demand limits or setup times.

3.2 Dual values and managerial interpretation

A binding resource constraint may have a shadow price, meaning the marginal improvement in the objective from one additional unit of that resource, within an allowable range. Shadow prices support negotiations and investment decisions, but they are not automatically valid outside that range. If extra labor changes wage rates, induces overtime, or requires hiring a supervisor, the original marginal value no longer applies.

4. Integer and Binary Programming

LP permits fractional values. This is inappropriate when decisions involve indivisible facilities, vehicles, workers, or yes/no choices. Integer programming restricts some or all variables to integers; mixed-integer programming (MIP) combines continuous and integer variables.

A binary variable yj ∈ {0,1} can represent whether facility j is opened. If opening facility j costs fj and serves customers through quantities xij, a simplified facility model is:

Minimize ∑j fj yj + ∑i∑j cij xij
subject to ∑j xij ≥ di for each customer i
xij ≤ Mij yj for all i,j
yj ∈ {0,1}, xij ≥ 0

Here, di is customer demand, cij is unit service cost, and Mij is a valid upper bound. The linking constraint prevents allocation from a facility that is not opened. An excessively large M can weaken computational performance and create numerical problems; it should be based on a realistic capacity or demand bound.

Applications include location selection, vehicle assignment, workforce rostering, project selection, and supplier qualification. MIP can be computationally demanding, so managers may use decomposition, valid inequalities, heuristics, or a good feasible solution as a benchmark.

5. Transportation and Assignment Models

5.1 Transportation model

A transportation model allocates shipments from sources to destinations at minimum cost. Let xij be units shipped from source i to destination j, cij the cost per unit, si source supply, and dj destination demand.

Minimize Z = ∑i∑j cij xij
subject to ∑j xij ≤ si for each source i
∑i xij ≥ dj for each destination j
xij ≥ 0

If total supply equals total demand and all supply and demand must be used, the inequalities become equalities. A balanced transportation problem has equal total supply and demand. An unbalanced problem may use a dummy source or destination, but the dummy cost must represent the economic consequence of unused capacity or unmet demand rather than an arbitrary zero.

Transportation algorithms exploit the special structure of the model. Practical use still requires attention to minimum shipment sizes, tariffs, delivery windows, carbon emissions, and route feasibility, which may require integer or network extensions.

5.2 Assignment model

The assignment problem allocates each worker, machine, or vehicle to exactly one task, with each task receiving exactly one resource. Let xij = 1 if agent i is assigned to task j and 0 otherwise.

Minimize Z = ∑i∑j cij xij
subject to ∑j xij = 1 for each agent i
∑i xij = 1 for each task j
xij ∈ {0,1}

The model can minimize cost or time, or maximize suitability by transforming scores into costs. If agents can perform multiple tasks or tasks require several people, the basic assignment structure must be modified.

6. Network Models

Network models represent nodes and arcs. Nodes may be factories, warehouses, customers, or transshipment points; arcs may represent roads, shipping lanes, communication links, or material flows.

A minimum-cost flow model uses flow xij on arc (i,j), arc cost cij, and node supply or demand bi. Flow conservation is:

∑j xij − ∑k xki = bi for each node i

Positive bi indicates net supply, negative bi net demand, and zero transshipment. Arc capacity can be imposed as 0 ≤ xij ≤ uij. Network models are useful for distribution design, vehicle routing approximations, project scheduling, and critical-path analysis.

A network representation can reveal bottlenecks that are hidden in a table. Nevertheless, road congestion, stochastic travel times, driver regulations, and service commitments may require richer formulations or simulation.

7. Decision Trees and Uncertainty

Decision trees represent sequential decisions and uncertain events. Decision nodes are controlled by the manager; chance nodes represent uncertain outcomes; terminal nodes contain payoffs or costs.

For a chance node, expected monetary value (EMV) is:

EMV = ∑k pk Vk

where pk is the probability of outcome k, Vk is its payoff, and ∑pk = 1. Probabilities should reflect the decision-maker’s information and should be updated when credible evidence arrives.

Illustrative example. A startup can launch immediately or conduct a pilot costing $20,000. Without a pilot, the probability of high demand is 0.4, producing a payoff of $120,000; low demand has probability 0.6 and produces $10,000. The EMV of immediate launch is:

0.4(120,000) + 0.6(10,000) = 54,000.

Thus, the expected net value is $54,000 if the figures already include launch costs. A pilot may change the probabilities and payoffs; its value depends not only on its direct cost but also on the quality of the information it produces. EMV is a risk-neutral criterion. A cash-constrained or risk-averse entrepreneur may prefer a lower-variance option even when its EMV is lower.

8. Monte Carlo Simulation

Simulation is appropriate when system behavior is too complex for a tractable analytical model or when uncertainty is central. Monte Carlo simulation repeatedly samples uncertain inputs from specified probability distributions and records outputs.

A generic procedure is:

  1. define the system and performance measure;
  2. identify uncertain inputs and their distributions;
  3. generate random samples using a documented seed or sampling method;
  4. run the operational logic for many replications;
  5. summarize the output distribution, not merely its average;
  6. validate the model and conduct sensitivity analysis.

For example, if daily demand D is simulated and profit is Π = p min(D,Q) − cQ, then p is selling price, Q is order quantity, and c is unit cost. The model must define what happens to unsold units, lost sales, and replenishment. Simulation can estimate the probability of stockout, expected profit, and service-level percentiles.

The standard error of a sample mean is approximately:

SE(ȳ) = s/√R

where s is the sample standard deviation of replication outputs and R is the number of independent replications. More replications reduce sampling error, but they do not correct a wrongly specified distribution or an invalid process logic. Input uncertainty and model uncertainty should be distinguished from random simulation error.

9. Sensitivity and Scenario Analysis

Sensitivity analysis asks how the recommended solution changes when an input changes. It may vary demand, cost, capacity, probability, service target, or exchange rate. One-way analysis changes one input; two-way analysis changes two; scenario analysis changes a coherent set of assumptions.

Important questions include:

  • Does the optimal decision remain unchanged over a credible range?
  • Which assumptions have the greatest effect on profit or service?
  • At what threshold does a different supplier, facility, or production plan become preferable?
  • Is the recommendation robust under adverse but plausible conditions?

Sensitivity analysis is not the same as forecasting. It does not claim that a scenario will occur; it explores consequences if it does occur. A break-even threshold can be obtained by equating alternatives. If option A has fixed cost FA and variable cost vA per unit, while option B has FB and vB, the quantity at which costs are equal is:

q* = (FB − FA)/(vA − vB)

This expression applies when the denominator is non-zero and both alternatives are compared over the same relevant range. Fixed costs, variable costs, capacity limits, and qualitative consequences must be checked before interpreting q*.

10. Multi-Criteria Decision Methods

Operational choices often involve cost, quality, resilience, speed, sustainability, and strategic fit. A single objective may conceal important consequences. Multi-criteria decision analysis (MCDA) makes trade-offs explicit.

A simple weighted-score model is:

Sj = ∑k wk rjk

where Sj is the score of alternative j, wk is the weight of criterion k, rjk is the normalized rating of alternative j on criterion k, and ∑wk = 1. Ratings must be oriented consistently: a high score should always mean more desirable performance. Cost and risk criteria may therefore require reverse scaling.

The method is transparent but sensitive to weights and normalization. A robust process should involve stakeholders, document the rationale for weights, test alternative weight sets, and identify criteria that are non-compensatory. For example, a supplier that violates a safety regulation should not become acceptable merely because it scores well on cost. Such conditions should be treated as constraints or exclusion criteria.

Methods such as the analytic hierarchy process, outranking methods, and TOPSIS provide alternatives to simple weighted scoring. None eliminates judgment; they organize it.

11. Applied Case: GreenCart’s Regional Fulfilment Decision

Background

GreenCart, an illustrative direct-to-consumer food venture, serves customers from one central warehouse. Demand is growing, but delivery distances are producing high transport costs and inconsistent delivery times. Management is considering opening a small regional fulfilment centre.

Problem

The decision involves uncertain demand, a fixed facility cost, transport savings, capacity limits, and sustainability objectives. A simple cost-minimization model may recommend a facility, but management also needs to understand demand risk and service outcomes.

Analysis

The analytics team first used descriptive data to segment orders by geography, delivery time, basket size, and failed-delivery frequency. A predictive model produced low, central, and high regional-demand scenarios. The team then formulated a mixed-integer model with a binary facility-opening variable and continuous shipment variables. Constraints represented facility capacity, customer demand, and permissible delivery assignments.

Monte Carlo simulation sampled daily demand and delivery time. Each replication calculated transport cost, facility utilization, late-delivery probability, and contribution margin. Results showed that the regional facility reduced average delivery distance by 31% under central demand, but utilization exceeded 95% in the high-demand case, creating a risk of congestion. A sensitivity analysis showed that the decision was most sensitive to demand growth and the lease cost, not to small changes in fuel price.

An MCDA scorecard added resilience and emissions. Management assigned weights of 0.45 to cost, 0.25 to service, 0.20 to resilience, and 0.10 to emissions. Because emissions were strategically important but not legally binding, they were included as a criterion; food-safety compliance remained a hard constraint.

Approach and solution

The recommended policy was conditional rather than absolute: lease the facility only if quarterly demand exceeded a specified threshold and a scalable labor contract was secured. A staged pilot was designed using temporary overflow space. The policy reduced commitment under low demand while preserving an option to expand under high demand.

Outcome

The case demonstrates why optimization, simulation, and MCDA should be integrated. The least-cost deterministic solution was not automatically the best operational policy. A robust decision accounted for uncertainty, capacity risk, implementation flexibility, and strategic objectives.

Learning points

  • descriptive analysis identified the operational pattern;
  • prediction quantified plausible demand states;
  • optimization allocated flows and represented capacity;
  • simulation estimated service and utilization distributions;
  • MCDA incorporated non-financial criteria;
  • staged commitment reduced exposure to model and demand error.

12. Implementation, Governance, and Limitations

Data and model governance

Models require ownership, version control, documented assumptions, data lineage, validation tests, and approval thresholds. Input data should be checked for missing values, inconsistent units, duplicate records, structural breaks, and biased measurement. A forecast trained on normal operations may fail during a strike, pandemic, regulatory change, or product redesign.

Human and ethical considerations

Optimization can distribute undesirable shifts, reduce staffing, or prioritize profitable customers. These consequences should be assessed for fairness, safety, labor rights, accessibility, and legal compliance. Automated decisions should be explainable to affected employees and customers where appropriate. Personal data should be minimized, protected, and used only for legitimate purposes.

Model limitations

Important limitations include:

  • Parameter uncertainty: costs, demand, and capacities may be estimates rather than facts.
  • Structural uncertainty: the assumed process may not represent future conditions.
  • Objective ambiguity: profit maximization may conflict with resilience or social value.
  • Aggregation: averages can hide customer-level or neighborhood-level effects.
  • Endogeneity: decisions can change the data-generating process; a promotion changes demand.
  • Human adaptation: employees and suppliers respond to targets and incentives.
  • Computational limits: exact optimization may be impractical for very large models.
  • Implementation gaps: a theoretically optimal plan may lack labor, cash, systems, or managerial acceptance.

Best practice is to combine analytical rigor with operational validation. Pilot the recommendation, compare predicted and actual outcomes, monitor drift, and establish a process for revising the model.

13. Contemporary Developments and Best Practices

Cloud optimization, digital twins, streaming data, process mining, and machine learning are expanding the scale and speed of operations analytics. Generative AI can assist with data exploration, model documentation, scenario generation, and natural-language interfaces, but it should not be trusted to invent constraints, validate formulas, or make unsupervised high-impact decisions. Its outputs require expert review, data-security controls, and auditability.

A professional analytics workflow is:

  1. frame the decision and decision owner;
  2. define success measures and non-negotiable constraints;
  3. collect and audit data;
  4. build the simplest adequate model;
  5. validate logic and assumptions with process experts;
  6. compare baseline, optimized, and robust alternatives;
  7. test sensitivity and adverse scenarios;
  8. pilot and monitor implementation;
  9. update the model as evidence changes.

The central managerial principle is that analytics should improve the quality of decisions, not merely produce sophisticated calculations.

Chapter Summary

Operations analytics progresses from describing performance, to predicting future outcomes, to prescribing actions under constraints. Linear programming supports divisible allocation decisions; integer and binary programming represent indivisible and yes/no choices; transportation, assignment, and network models address structured flows and allocations. Decision trees clarify sequential choices under uncertainty, while Monte Carlo simulation estimates distributions of outcomes when analytical solutions are difficult. Sensitivity analysis tests robustness, and MCDA makes trade-offs among cost, service, resilience, sustainability, and strategic fit explicit. Successful application requires sound data, valid assumptions, unit consistency, stakeholder involvement, ethical governance, and implementation monitoring. An optimal model solution is not necessarily an optimal managerial decision unless it is feasible, robust, explainable, and aligned with organizational purpose.

Key Terms

Descriptive analytics: Analysis that summarizes historical or current operational performance.

Predictive analytics: Analysis that estimates future outcomes or probabilities.

Prescriptive analytics: Analysis that recommends actions given objectives and constraints.

Decision variable: A controllable quantity selected by an optimization model.

Objective function: The mathematical expression maximized or minimized by a model.

Constraint: A restriction defining allowable decisions.

Feasible solution: A solution satisfying every model constraint.

Linear programming: Optimization with linear objectives and constraints and generally continuous variables.

Integer programming: Optimization requiring selected variables to take integer values.

Binary variable: A variable restricted to 0 or 1.

Mixed-integer programming: A model containing both continuous and integer variables.

Transportation model: A flow-allocation model linking sources and destinations.

Assignment model: A model assigning agents to tasks, usually one-to-one.

Network model: A model representing flows through nodes and arcs.

Shadow price: Marginal objective value of relaxing a constraint within a valid range.

Decision tree: A representation of sequential decisions and uncertain events.

Monte Carlo simulation: Repeated random sampling used to estimate an output distribution.

Sensitivity analysis: Examination of how results change when inputs or assumptions vary.

Multi-criteria decision analysis: A structured method for comparing alternatives across several criteria.

Model governance: Controls for data, assumptions, validation, accountability, and model use.

Review Questions

Short Answer Questions

  1. Distinguish descriptive, predictive, and prescriptive analytics.
  2. What are decision variables, objective functions, and constraints?
  3. Why may a transportation model require a dummy source or destination?
  4. What is the purpose of a shadow price?
  5. State two limitations of Monte Carlo simulation.

Long Answer Questions

  1. Explain the assumptions of linear programming and discuss circumstances in which they may be violated.
  2. Compare transportation, assignment, and network models, including one operational application of each.
  3. Explain how integer and binary variables change the representation of operational decisions.
  4. Discuss how sensitivity analysis improves managerial interpretation of an optimization solution.
  5. Evaluate the strengths and limitations of weighted-score MCDA for supplier selection.

Analytical / Application Questions

  1. Formulate a linear programming model for a firm producing three products with labor, material, and demand constraints. Clearly define all variables, parameters, objective, and constraints.
  2. Design a Monte Carlo simulation for a retailer facing uncertain daily demand. Specify input distributions, output measures, replication logic, and validation requirements.
  3. A startup must choose between a low-cost supplier with variable lead time and a higher-cost supplier with reliable lead time. Recommend an integrated decision approach using a decision tree, sensitivity analysis, and MCDA. Justify the role of each method.

Multiple Choice Questions with Answers

Question 1

Which type of analytics recommends an action while considering objectives and constraints?

A. Descriptive analytics

B. Predictive analytics

C. Prescriptive analytics

D. Diagnostic sampling

Correct Answer: C. Prescriptive analytics

Question 2

In a linear programming model, what does the feasible region represent?

A. All values of the objective function

B. All solutions satisfying the constraints and variable restrictions

C. Only the solution with the highest profit

D. The set of forecast errors

Correct Answer: B. All solutions satisfying the constraints and variable restrictions

Question 3

In the product-mix example, what is the contribution at x_A = 40 and x_B = 20?

A. $1,200

B. $2,000

C. $2,200

D. $3,000

Correct Answer: C. $2,200

Question 4

Which variable type is most appropriate for representing whether a facility is opened?

A. Continuous variable

B. Binary variable

C. Percentage error variable

D. Unrestricted forecast variable

Correct Answer: B. Binary variable

Question 5

What does a transportation model primarily determine?

A. Which employees receive promotions

B. How shipments should be allocated between sources and destinations

C. The probability distribution of demand

D. The statistical significance of a regression coefficient

Correct Answer: B. How shipments should be allocated between sources and destinations

Question 6

If two outcomes have probabilities 0.4 and 0.6 and payoffs of $120,000 and $10,000, respectively, what is the EMV?

A. $48,000

B. $54,000

C. $ sixty thousand

D. $ seventy-two thousand

Correct Answer: B. $54,000

Question 7

What does increasing the number of independent Monte Carlo replications generally reduce?

A. Structural model bias

B. Input-data bias

C. Sampling error in the estimated mean

D. The need for validation

Correct Answer: C. Sampling error in the estimated mean

Question 8

In a weighted-score MCDA model, what should the weights normally sum to?

A. 0

B. 0.5

C. 1

D. 100 only when criteria are qualitative

Correct Answer: C. 1

Question 9

A shadow price is best interpreted as:

A. The average selling price of a product

B. The marginal value of relaxing a constraint within an allowable range

C. The fixed cost of a facility

D. The probability of a stockout

Correct Answer: B. The marginal value of relaxing a constraint within an allowable range

Question 10

Which statement best describes a limitation of optimization models?

A. They never require data

B. Their solution is automatically valid in all future conditions

C. They may produce an impractical answer when assumptions or constraints are incomplete

D. They cannot represent costs

Correct Answer: C. They may produce an impractical answer when assumptions or constraints are incomplete

Operations & Supply Chain Optimization
Chapter 13 of 15