Simplex Algorithm - Slack Variables & Initial Tableau (Edexcel A-Level Further Mathematics): Revision Notes
12.3.1 Simplex Algorithm - Slack Variables & Initial Tableau
Introduction
The Simplex algorithm is a systematic method for solving linear programming problems. It is commonly used for maximising or minimising an objective function subject to constraints. This note focuses on the initial steps of the algorithm:
- Introducing slack variables to convert inequalities into equations.
- Setting up the initial tableau for maximisation or minimisation problems.
Key Concepts
Slack Variables
Slack variables are added to constraints of the form to convert them into equations. For example:
where is the slack variable representing unused capacity.
Initial Simplex Tableau
The problem is represented in tabular form, with rows for the constraints and columns for the variables:
- Decision variables ()
- Slack variables ()
- Objective function () Each row represents a constraint, and the last row represents the negative of the objective function.
Setting Up the Initial Tableau
Problem Structure
1. Maximisation Problem:
Maximise
Subject to:
2. Initial Tableau:
The tableau has:
Columns for , slack variables (), and
Rows for each constraint and the objective function.
Worked Examples
Example 1: Maximising an Objective Function
Problem
Maximise:
Subject to:
Step 1: Add Slack Variables
Convert each inequality into an equation:
where
Step 2: Set Up the Initial Tableau
- Basic Variable: Indicates which variable is currently in the solution (initially slack variables).
- RHS: Right-hand side of the equations.
- The -row represents the negative of the objective function.
Step 3: Interpret the Tableau
The current solution is , giving
-row negative values indicate potential for improvement.
Example 2: Minimising an Objective Function
Problem
Minimise:
Subject to:
Step 1: Add Slack Variables
where
Step 2: Set Up the Initial Tableau
Note Summary
Common Mistakes
- Forgetting slack variables: Omitting slack variables results in incorrect equations.
- Incorrect objective function: Failing to convert the objective function to a negative form for the tableau.
- Mixing maximisation and minimization methods: Ensure the tableau reflects the correct goal.
- Arithmetic errors: Mistakes in setting up coefficients for constraints.
- Misinterpreting the tableau: Confusion about the role of the row and RHS values.
Key Formulas
- Slack Variable for Constraints:
- Initial Objective Function Row:
- Initial Tableau: Set up rows for constraints and the -row, using slack variables for each constraint.