Operations Research

Online MA · Sem 4

Lesson 1 of 5Economics

Linear Programming Formulation

Operations 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, so you read the data carefully, tabulate it, and convert units where needed. A two-product profit-maximisation example shows the full process.

Approach

  • Read the statement and arrange the data in a table: products as columns, and constraints plus profit as rows.
  • Define one decision variable per product: two products need x1 and x2, three products need three variables.
  • Build the objective function from the profit (maximisation) or cost (minimisation) per unit.
  • Write each resource or market condition as a constraint, then add non-negativity: x1, x2 >= 0.

Worked example data

  • Machine time is 10 min per unit of A and 2 min per unit of B. The machine can run at most 35 hours per week.
  • Raw material is 1 kg per unit of A and 0.5 kg per unit of B. Supply is 600 kg per week.
  • The market requires at least 800 units of B per week.
  • Profit per unit = selling price - cost price. For A: 10 - 5 = Rs 5. For B: 8 - 6 = Rs 2.

Formulation

  • Let x1 = units of A per week and x2 = units of B per week.
  • Maximise Z = 5x1 + 2x2.
  • Time constraint: 10x1 + 2x2 <= 35 × 60 = 2100 minutes, which simplifies to 5x1 + x2 <= 1050.
  • Raw material constraint: x1 + 0.5x2 <= 600.
  • Market constraint: x2 >= 800.
  • Non-negativity: x1, x2 >= 0.

Tips

  • Keep units consistent. Convert hours to minutes (× 60) when the per-unit times are in minutes.
  • Profit may need to be derived, for example from selling price and cost price, or from a percentage.
  • A capacity limit gives <=. A word like 'minimum' or 'at least' gives >=, even in a maximisation problem.
  • A constraint may involve only one product.

Key terms

Decision variable
An unknown quantity to be decided, such as the units produced of each product.
Objective function
The linear expression to be maximised (profit) or minimised (cost).
Constraint
A linear inequality expressing a limit on resources or a market requirement.
Non-negativity
The condition that decision variables cannot be negative.

Takeaways

  • Number of decision variables = number of products or activities.
  • Profit per unit = selling price - cost price, and these profits are the coefficients of the objective function.
  • Make units consistent and choose <= or >= according to the wording (maximum vs minimum).
  • Final model: 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.