Linear Programming Flashcards

1
Q

formulating a problem:

A
  • define variables
  • find the constraints
  • find the objective function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

shade the…

A

unwanted region

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

find the optimal solution

A

draw an objective line and move is parallel, the last vertex to be crossed is the optimal solution.

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

branch and bound method

A
  1. calculate the optimised solution (not an integer, UB)
  2. truncate the x and y values and calculate the profit from this (LB)
  3. branch on the variable that was truncated the most (branch with values either side and signs to reflect this)
  4. solve the original problem with the new constraint from the branch
  5. reject the solution is the LB is less than the original truncated lower bound
  6. repeat the branching up to 3 times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

minimise problems branch and bound

A

round up the non-integer value

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

Simplex for minimise

A

multiply profit by -1
for conditions:
if (expression ≥ constant) multiply through by -1
if (expression ≤ constant) leave it as it is

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

Setting up the simplex table

A
  1. rearrange profit so P - (expression) = 0
  2. write constraints each with their own slack
  3. write the table:
    - rows and the profit+constraints
    - columns are the variables, slack variables and constants (RHS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Simplex method

A
  1. choose the most negative value in the profit row. This column is the pivot
  2. Complete ratio tests for constraint row:
    - RHS/value in pivot column
    the lowest non negative, non zero value is the pivot row
  3. determine what you need to divide/multiply the pivot element by to make it 1. complete this operation to the whole row.
  4. determine row operations so the value in the pivot column is zero by adding/ subtracting multiples of the new pivot row.
  5. repeat
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ratio test

A

RHS/value in pivot column

the lowest non negative, non zero value is the pivot row

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

pivot row

A

the lowest non negative, non zero value from the ratio test is the pivot row

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

pivot column

A

the most negative value in the profit row

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

When does simplex stop

A

when non of the values in the pivot row are negative

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

reading off results from a simplex tableu

A

If the column for a variable has all 0s and 1s read of the RHS value where the 1 is.
If the column has other numbers variable = 0

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