L8 - Linear Programming and Simplex Method Flashcards

1
Q

Define linear programming…

A

A mathematical technique for finding the max or min of a linear function with multiple variables.

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

What are we trying to find in a linear problem?

A

The max or min of the linear function based on certain constraints.

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

What does it mean to optimise a function?

A

Find the max or min value of the function.

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

What are the extreme values of a linear function?

A

A vertex at which the max or min value of the function is obtained. I.e for a f(x,y) = 5x + 7y, it will be the coordinates where f(x,y) is min, y is max, x is max, f(x,y) is max.

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

What are the steps to solving a linear programming problem?

A
  1. Establish the linear function
  2. Establish constraints that the function has to adhere to.
  3. Graph functions viable region by graphic the constraints. The feasible region is the area within the constraint lines.
  4. Vertices of the viable region give us the extreme points.
  5. Calculate the coordinates of the optimal point
    1. Solve equations for Y
    2. Solve for X
    3. Plug X into Y equations
    4. Plug X,Y into original function to get coordinates.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the ISO Line?

A

The line that runs through the maximum point.

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

What does each linear equation ( constraint ) represent? What does the set of constraint lines construct?

A
  1. A plane that divides the graph space into viable and non-viable areas for the function.
    1. it constructs the viable region of the linear function.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What method do we use if we have an equation with more than 2 dimensions?

A

Simplex method ( Dantzig’s Algorithm )

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

What are the steps of the Simplex algorithm?

A
  1. Convert into slack form
    1. Create new transposed equations from the constraint equations.
  2. Check a basic solution exists
    1. Set original variables to 0, slack variables to the largest constants of each slack equation. If the sum is above 0, a solution is possible.
  3. Pivot
    1. Use variable with highest coefficient in z
    2. Find equation where that variable is tightest
    3. Transpose equation for variable
    4. Substitute new equation and simplify all other equations
  4. Iterate
  5. Termination
    1. If maximising, termination occurs when all coefficients of the objective function are negative.
    2. The optimal value of the problem is the number in the equation.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In the pivot stage, how do we choose the entering variable?

A

The variable with the most positive coefficient in the original objective function.

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

In the pivot stage, how do we choose the tightest constraint?

A

The slack equation that reaches 0 the fastest when the value of the entering variable is increased.

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

What is the termination criteria of the Simplex Algorithm when maximising or minimising?

A

Maximising -> When coefficients of the objective function are negative.

Minimising -> When coefficients of the objective function are positive.

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