Fundamentals of Operation Research

Online BA · Sem 6

Lesson 2 of 10Economics

Linear Programming Problem Formulation

Fundamentals of Operation Research

About the video

Formulation of LPP Example 2 | Linear Programming Problem maximization | Operation Research Hindi

Start Practicing

Study notes

Formulating a linear programming problem (LPP) means translating a word problem into decision variables, an objective function and constraints. There are no fixed steps: read the statement carefully, tabulate the data, convert units consistently and choose the correct inequality direction for each constraint.

Approach to formulation

  • No fixed algorithm exists (unlike the simplex method); understand the statement and organise the data.
  • Build a table: columns for each product, rows for each resource (time, raw material, market), plus profit and the limitation/capacity.
  • Identify the type of problem: maximisation (usually profit) or minimisation (usually cost).
  • The number of decision variables equals the number of products (2 products give x1, x2).

Worked example data

  • Machine time: A needs 10 min/unit, B needs 2 min/unit; machine runs at most 35 hours/week.
  • Raw material: A needs 1 kg/unit, B needs 0.5 kg/unit; supply is 600 kg/week.
  • Market: demand for B is at least 800 units/week (no market data for A).
  • A costs Rs 5 and sells for Rs 10; B costs Rs 6 and sells for Rs 8.

Building the model

  • Profit per unit = SP - CP: A = 10 - 5 = 5, B = 8 - 6 = 2.
  • Objective: Maximise Z = 5x1 + 2x2.
  • Time: convert hours to minutes, 35 x 60 = 2100, giving 10x1 + 2x2 <= 2100 (or 5x1 + x2 <= 1050).
  • Raw material: x1 + 0.5x2 <= 600 (same units, no conversion needed).
  • Market: x2 >= 800, because 'minimum' means at least.
  • Non-negativity: x1, x2 >= 0.

Common pitfalls

  • Profit may not be given directly; derive it from cost and selling price, or from a profit percentage.
  • Keep units consistent on both sides of a constraint.
  • A constraint may involve only one product.
  • Capacity limits use <=; minimum requirements use >=.

Key terms

Decision variable
An unknown quantity to be decided, such as units of each product (x1, x2).
Objective function
The linear expression to maximise or minimise, e.g. Z = 5x1 + 2x2.
Constraint
A linear inequality expressing a limit or requirement on resources or demand.
Non-negativity condition
Decision variables cannot be negative: x1, x2 >= 0.
Profit per unit
Selling price minus cost price per unit.

Takeaways

  • One decision variable per product; objective coefficients are unit profits (SP - CP).
  • Convert all quantities in a constraint to the same unit (e.g. hours x 60 = minutes).
  • Use <= for maximum capacity and >= for minimum requirements.
  • Final LPP: Max Z = 5x1 + 2x2 subject to 10x1 + 2x2 <= 2100, x1 + 0.5x2 <= 600, x2 >= 800, x1, x2 >= 0.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.