Skip to content

Business Mathematics and Basic Statistics · Ch 17 — Linear Inequalities and Linear Programming

Formulating a Linear Programming Problem

3

Formulating a Linear Programming Problem

A linear programming problem (LPP) is a problem of finding the maximum or minimum value of a linear function, subject to a collection of linear constraints in the same variables, together with the non-negativity restrictions of the previous section. Formulating an LPP from a word problem means turning its everyday business statement into this precise mathematical shape, in four steps.

Step 1 — identify the decision variables. These are the unknown quantities the business actually controls and wants to decide upon — typically how many units of one product to make and how many units of a second product to make. Call them xx and yy.

Step 2 — write the objective function. This is the linear expression Z=ax+byZ = ax + by that the problem wants to maximise (e.g. total profit or total output) or minimise (e.g. total cost or total time), built from the per-unit contribution of each decision variable.

Step 3 — write the constraints. Every limited resource the problem mentions — machine hours, labour hours, raw material, a minimum requirement — becomes one linear inequality in xx and yy: an at most statement becomes a ≤\le constraint, and an at least statement becomes a ≥\ge constraint.

Step 4 — add the non-negativity restrictions, x≥0x \ge 0 and y≥0y \ge 0, since a negative quantity of tables, chairs, or any physical product has no meaning.

Note

The Four Pieces of an LPP …

Definition 10Linear programming problem (LPP)

A problem of maximising or minimising a linear objective function Z=ax+byZ=ax+by, subject to a set of linear structural constraints and the non-negativity restrictions, in exactly two decision vari …

Definition 11Objective function

The linear expression Z=ax+byZ=ax+by that an LPP asks to be maximised (e.g. profit) or minimised (e.g. cost), built from each decision variable …

Definition 12Decision variables

The unknown quantities, conventionally xx and yy, that a business actually controls and must decide the value of — typically how many units of ea …

Definition 13Constraint (structural constraint)

A linear inequality translating one limited resource or requirement of the word problem — an at-most statement becomes ≤\le, an at-least statement becomes ≥\ge — distinct from the sepa …