Linear programming exercises Flashcards

1
Q

If product x takes 5 machine and 10 labor hours while product y takes 15 machine hours and 5 labor hours while there are only 60 machine hours and 40 labor hours available how do you set up the constraints in linear programming

A

5x + 15y < 60
10x + 5y < 40

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

Does the simplex method accept nagative RHS varaibels

A

No!

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

Does the simplex method accept < or > constraints

A

No, only equalities so you have to put it in standard form

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

surplus variables are added to put the constraint in standard form

A

False, slack variables are added, surplus variables are subtracted in addition to an artificial variable with a coefficient of -M

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

How do you create the first row of the simplex tablau

A

When you have the linear programming constraints and objective function in standard form take the coefficients of the objective function and including 0 for the slack and surplus variables and -M for the artificial and put them in the first row.

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

How do you create the constrain rows in the simplex tablau

A

for the variable columns add the coefficients in the left hand side of the constraint coresponding to the variable and if a particular variable is not present in the left hand side add a 0. For the slack and artificial variables add a 1 if the slack is active (is in the constraint corespondind to the row) for that constraint and for surplus variables add a -1, if either is not active add a 0. For the first item in the row add the value of the slack or artificial variable that has 1 and for the last item in the row add the right hand side value of the constraint

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

How do you add a Zj row to the simplex tablau

A

The Zj value in a column is the sum of each constraint value in the same column although each value in the column is multiplied by the first item in their row. (Remember this first item coresponds to the item in the first row that has a 1 for the row that you want the first value of)

_89
810
901

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

How do you calculate the last row in the simplex tablua

A

You subtract the Zj value form the Cj(first row) value in each column

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

In standard for an artificial variable is added to = constraints

A

True

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

When iterating through simplex tablaus if the artificial variable is not basic, its entire column can be removed

A

True

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

When iterating through the simplex tablau how do you find the (pivot) key column

A

It is the column with the highest value in the Cj - Zj row

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

When iterating through the simplex tablau how do you find the (pivot) key row

A

Divide each item in the RHS column by the value in the key column on the same row. The key row is the one with the lowest positive number

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

When iterating through the simplex tablau how do you find the key (pivot) element

A

If you have the key row and the key column the pivot element is where they corss

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

When iterating through the simplex tablau how do you create a new key row in a new tablau

A

For each value in the pivot row of the old simplex tablau put old value divided by key element, in the new tablau in their coresponding places (where the old value was in the old tablau)

17
Q

When iterating through the simplex tablau how do you create the none pivot constraint rows

A

For each value is the old value - (ckr - ckc)/ke where ke is the key element, ckr is the value in the key row on the same column as the old value and ckc is the value in the key column on the same row as the old value.

18
Q

How do we know if we have an optimal solustion with the simplex method

A

If there are no positive values in the Cj-Zj row. If a surplus, slack or artificial value in the row is 0 there may be alternative solutions

19
Q

How do you know if the problem is unbounded using the simplex method

A

If there are no positive RHS values when divided by key column