7. Simplex Algorithm Flashcards

1
Q

How can inequalities be transformed into equations?

A

Using slack variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are slack variables?

A

Represent the amount of ‘slack’ between an actual quantity and the maximum possible value of that quantity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What 2 things does the simplex algorithm allow you to do?

A
  1. Determine if a particular vertex (on the edge of feasible region) is optimal
  2. Decide which adjacent vertex you should move to in order to increase the value of the objective function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where does the simplex method start?

A

From a basic feasible solution, at the origin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does the simplex method progress with each iteration?

A

Moves to an adjacent point within the feasible region until optimal solution is found

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

First step to solving a maximising linear programming problem using a simplex tableau

A

Draw the tableaux.

Basic variable column on the left, column for each variable (including slacks) and a value column.

One row for each constraint and bottom row for objective function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Second step to solving a maximising linear programming problem using a simplex tableau

A

Create the initial tableau.

Enter coefficients of variables in appropriate row and column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Third step to solving a maximising linear programming problem using a simplex tableau

A

Look along objective row for most negative entry which indicates the pivot column

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fourth step to solving a maximising linear programming problem using a simplex tableau

A

Calculate the θ values for each of the constraint rows where θ = (term in value column) / (term in pivot column)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Fifth step to solving a maximising linear programming problem using a simplex tableau

A

Select the row with the smallest, positive θ value to become the pivot row

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Sixth step to solving a maximising linear programming problem using a simplex tableau

A

The element in the pivot row and the pivot column is the pivot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Seventh step to solving a maximising linear programming problem using a simplex tableau

A

Divide row found in step 5 by the pivot and change basic variable at start of row to variable at top of pivot column. This is now the pivot row.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Eighth step to solving a maximising linear programming problem using a simplex tableau

A

Use pivot row to eliminate pivot’s variable from other rows. Pivot column now contains one 1 and zeros.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Ninth step to solving a maximising linear programming problem using a simplex tableau

A

Repeat steps 3 to 8 until there are no more negative numbers in the objective row.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Tenth step to solving a maximising linear programming problem using a simplex tableau

A

Tableau is now optimal and non-zero values can be read off using basic variable column and value column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name the 2 ways solving a minimising linear programming problem is different to maximising

A
  1. First, define a new objective function that is the negative of the original objective function.
  2. After you have maximised this new objective function, write solution as the negative of this value, which minimises original objective function.
17
Q

What are the 5 steps to the two-stage simplex method that include >= constraints?

A
  1. Use slack, surplus and artificial variables, as necessary, to write all constraints as equations.
  2. Define a new objective function to minimise sum of all artificial variables.
  3. Use simplex method to solve this problem.
  4. If minimum sum of artificial values is 0, the solution is a basic feasible solution of the original problem, which is then the starting point for the second stage. Use the simplex method again to solve the problem.
  5. If the minimum sum is not 0 then the original problem has no feasible solution.
18
Q

What 2 methods can be used to solve linear programming problems with >= constraints?

A
  1. Two-stage simplex method

2. Big-M method

19
Q

What does the Big-M method do?

A

Uses an arbitrarily large number, M, in the objective function. Its purpose is to drive the artificial variables towards 0.

20
Q

What are the 5 steps to the Big-M method?

A
  1. Introduce a slack variable for each constraint of the form <=.
  2. Introduce a surplus variable and an artificial variable for each constraint of the form >=.
  3. For each artificial variable, subtract M(a1, a2, a3…) from the objective function
  4. Eliminate the artificial variables from your objective function so the variables remaining in your objective function are non-basic variables
  5. Formulate an initial tableau, and apply the simplex method normally