Linear Programming

With linear programming, we have some:

  • Linear Objective Function which is the quantity to be maximised / minimised.
  • Linear Constraints which is a set of linear inequalities restricting the ‘feasible’ solutions.

A linear programming problem may look like:

There may be a unique solution, infinitely many solutions or no solution.

Matrix Notation

It is common for these problems to be represented in a matrix-vector equation:

Formal Linear Programming Definition

Formally, a linear programming problem can be defined as follows: Input:

  • A set of linear constraints, .
  • A linear objective function, . Output: A solution such that:
  1. satisfies the constraints
  2. is maximal

The Feasible Region is the set of all possible solutions satisfying the linear constraints.

The set of optimal solutions for a given objective function is: