Knowledge / MBA (Finance / Marketing / HR / Operations / Business Analytics) / Prescriptive analytics: optimisation with Excel Solver

Prescriptive analytics: optimisation with Excel Solver

MBA (Finance / Marketing / HR / Operations / Business Analytics) (MBA / PGDM) · Business analytics · free study notes for exams, placements and interviews

In short

Prescriptive analytics answers "what should we do?" — it recommends the best decision, where descriptive analytics reports what happened and predictive analytics estimates what will happen. Its workhorse is mathematical optimisation: maximise or minimise an objective (profit, cost, time, risk) by choosing values for decision variables subject to constraints, and Excel's Solver add-in is the tool most Indian MBA programmes teach it on. Syllabi under UGC CBCS and AICTE model MBA/PGDM curricula examine it as Operations Research / Business Analytics — formulation, graphical and simplex solution, duality and sensitivity, transportation, assignment and integer programming — and ICAI/ICMAI cost-management papers include LP formulation. In placements, consulting and analytics recruiters (Deloitte, EY, Accenture, Mu Sigma, ZS, Flipkart and Amazon supply chain, Delhivery, refinery and FMCG planning teams) ask candidates to formulate a model on paper and then build it in a spreadsheet.

Explained

Where optimisation sits in analytics

Formulating the model (the part that carries exam marks)

  1. Decision variables — what the manager actually controls: units of each product, tonnes shipped on a lane, rupees in each asset, 1/0 for open-or-close. Define units explicitly (e.g. x₁ = chairs per week).
  2. Objective function — one linear (or nonlinear) expression in those variables, to be maximised or minimised; it must be a single cell in Excel.
  3. Constraints — resource limits (≤), minimum requirements (≥), balance equations (=), and non-negativity (x ≥ 0).
  4. Sign and units discipline — every constraint row must be in one consistent unit (machine-hours, kg, ₹).
  5. Assumptions of a linear programme: *proportionality* (output and resource use scale linearly), *additivity* (no interaction terms), *divisibility* (fractional values allowed — relaxed by integer programming), *certainty* (coefficients known), *finiteness* and *non-negativity*.
  6. Standard form: Max Z = cᵀx subject to Ax ≤ b, x ≥ 0. Any minimisation becomes a maximisation of −Z; a ≥ constraint is multiplied by −1; an unrestricted variable is split as x = x⁺ − x⁻.
  7. Feasible region of an LP is a convex polyhedron; the optimum, if it exists, lies at a corner point (extreme point) — the basis of the graphical method (two variables) and of the simplex method.
  8. Possible outcomes: unique optimum, multiple optima (objective line parallel to a binding constraint), unbounded (open feasible region in the improving direction — usually a missing constraint), infeasible (contradictory constraints), degenerate (more constraints binding at a corner than variables).

Building and running Solver, step by step

The three solving engines

EngineUse whenGuaranteeTypical models
Simplex LPObjective and all constraints are linear in the variablesGlobal optimum; detects infeasible/unbounded; gives a Sensitivity report with shadow pricesProduct mix, transportation, assignment, blending, workforce scheduling
GRG NonlinearSmooth nonlinear formulas (x², x·y, 1/x, SQRT, LN, portfolio variance)Local optimum only, depends on the start values; use Multistart for a better chance at the global oneEOQ, portfolio risk, pricing with elasticity, curve fitting
EvolutionaryNon-smooth functions — IF, MAX, MIN, ABS, ROUND, VLOOKUP, INDEX in the objective or constraintsNo optimality proof; stops on time/iteration limits; results vary run to runRostering with step rules, facility layout, sequencing, tiered-tariff models

Reading the reports: duality and sensitivity

Standard model templates

Limitations and good practice

Key points

Formulas and examples

Max (or Min) Z = c₁x₁ + c₂x₂ + … + cₙxₙ — objective; cⱼ = contribution or cost per unit of variable j (₹/unit)
Subject to Σⱼ aᵢⱼ xⱼ ≤ bᵢ (i = 1…m); aᵢⱼ = units of resource i per unit of j; bᵢ = resource availability
xⱼ ≥ 0 (non-negativity); xⱼ integer or xⱼ ∈ {0,1} where indivisible
Slack of constraint i, sᵢ = bᵢ − Σⱼ aᵢⱼ xⱼ (same units as bᵢ)
Shadow price yᵢ = ∂Z*/∂bᵢ (₹ per unit of resource i)
Σᵢ bᵢ yᵢ = Z* at the optimum (strong duality)
Excel: objective = SUMPRODUCT(variables, unit_profits); constraint LHS = SUMPRODUCT(variables, coefficient_row)
EOQ (nonlinear objective): TC(Q) = (D/Q)·Co + (Q/2)·Ch ; Q* = √(2DCo/Ch) ; TC* = √(2DCoCh)

Example 1 — Product mix, shadow price and sensitivity (Simplex LP). A Pune furniture unit makes chairs (x) and tables (y). Contribution ₹300/chair and ₹500/table. Carpentry: 2 h/chair, 4 h/table, 200 h available. Finishing: 3 h/chair, 2 h/table, 180 h available.

Example 2 — Transportation (minimise freight). Supplies: P1 = 100, P2 = 150 units. Demands: M1 = 80, M2 = 90, M3 = 80 (total 250 = 250, balanced). Cost ₹/unit:

M1M2M3Supply
P1469100
P2538150
Demand809080250

Example 3 — Capital budgeting with binary variables (branch and bound). Budget ₹100 lakh. Projects (cost, NPV in ₹ lakh): A (30, 18), B (40, 22), C (50, 26), D (20, 11). Max Σ NPV·yⱼ s.t. Σ cost·yⱼ ≤ 100, yⱼ ∈ {0,1}.

Example 4 — Nonlinear objective with GRG (EOQ). A Chennai distributor: annual demand D = 24,000 units, ordering cost Co = ₹1,200/order, holding cost Ch = ₹30/unit/year. Minimise TC(Q) = (24,000/Q)(1,200) + (Q/2)(30), Q > 0, by changing Q with GRG Nonlinear.

Report itemWhat it tells youWatch out
SlackUnused resourceZero slack = bottleneck
Shadow price₹ per extra unit of RHSValid only inside allowable increase/decrease
Reduced costNeeded improvement for an idle variableZero for variables in the solution
Allowable range (coefficient)Solution stays optimalObjective value still changes
Sensitivity report with int/binNot generatedRe-solve the LP relaxation to study duals

Where it is used

Interview questions

Common mistakes

Related topics

Business analytics: framing problems and data-driven decisions · Linear and logistic regression · Time series forecasting · Business intelligence: Power BI and Tableau · Python for data analysis: NumPy and pandas · Operations and supply chain management

Open in the Knowledge reader →Find jobs →