Skip to content

Mathematics · Ch 12 — Linear Programming

Mathematical Formulation of the Problem

12.2.1

Mathematical Formulation of the Problem

The Mathematical Formulation of a Linear Programming Problem

The core of any linear programming problem is translating a real-world situation into precise mathematical language. This process, called mathematical formulation, expresses the problem's key elements as equations and inequalities.

The Motivating Example: A Furniture Dealer's Problem

Note

The first step in any formulation is to define the decision variables — the unknowns we are trying to find.

Let:

  • xx = the number of tables the dealer buys.
  • yy = the number of chairs the dealer buys.
Step 1: The Non-Negativity Constraints

The dealer cannot buy a negative number of tables or chairs:

x≥0,y≥0(1)x \geq 0, \quad y \geq 0 \qquad(1)

These are the non-negative constraints (or non-negative restrictions).

Step 2: Identifying the Constraints
  1. Investment Constraint: each table costs ₹2500 and each chair ₹500, and the total investment 2500x+500y2500x + 500y cannot exceed the ₹50,000 budget:

2500x+500y≤50000  ⇒  5x+y≤100(2)2500x + 500y \leq 50000 \;\Rightarrow\; 5x + y \leq 100 \qquad(2)

  1. Storage Constraint: at most 60 items in total:

x+y≤60(3)x + y \leq 60 \qquad(3)

Inequalities (1), (2), and (3) together form the constraints.

Step 3: Defining the Objective Function

The dealer makes ₹250 profit per table and ₹75 per chair. The total profit ZZ is:

Z=250x+75y(4)Z = 250x + 75y \qquad(4)

This objective function is to be made as large as possible while satisfying all constraints.

The Complete Mathematical Formulation

Maximise Z=250x+75yZ = 250x + 75y

subject to the constraints:

5x+y≤1005x + y \leq 100

x+y≤60x + y \leq 60

x≥0,y≥0x \geq 0, \quad y \geq 0

This is a classic example of a Linear Programming Problem (LPP).

Formal Definitions of Key Terms

  • Objective Function: a linear function Z=ax+byZ = ax + by (a,ba, b constants) to be maximised or minimised. Here Z=250x+75yZ = 250x + 75y.
  • Decision Variables: the variables xx and yy whose values we determine — the inputs to the objective function.
  • Constraints: the linear inequalities (or equations) restricting the decision variables, e.g. 5x+y≤1005x + y \leq 100 and x+y≤60x + y \leq 60.
  • Non-Negative Restrictions: the constraints x≥0x \geq 0 and y≥0y \geq 0, almost always part of an LPP.
  • Optimisation Problem: any problem seeking to maximise or minimise a function subject to constraints. An LPP is the special case where the objective function and all constraints are linear.

The General Structure of an LPP …