Tentamen Flashcards

1
Q

How to bring a problem in standard form?

A

Just rewrite it to include slacks.

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

How to do a simplex iteration?

A

Put in simplex tableau (note that everything needs to be multiplied by -1 in the objective function).

Check the lowest value (for min highest) value in the objective function, that is the entering variable, using the minimum ratio test find the leaving variable.

Make sure that the entering variable is 1, and in all the others 0.

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

How to formulate the dual problem?

A

Rewrite the function s.t. you put y1, y2, … in front of every constraint, rewrite it s.t. you have x1(….) + x2(…). These are the constraints, they are ≥ then the objective coefficient (if they are ≤).

Then the dual objective is min (if max) and then c1y1 + c2y2 + … where c is every constraint. Don’t forget y ≥ 0

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

How to find the optimal values when B-1 is given?

A

Just B-1 b, where b are the values of the constraints.

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

How to find the optimal values of the dual when B-1 is given?

A

Calculate cTB B-1, where cB are the coefficients of the optimal values in objective function.

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

How to find how large a value needs to become before it becomes “intresting”?

A

Compute the n-th value of the dual function with the optimal values (of the dual), minus this by the constraint and that is it.

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

How to derive a fractional cut?

A
  1. Rewrite to keep all integer values before the = sign, and all the fractions behind, make sure all values behind the equality are negative.
  2. Take what is behind the equality sign and ≤ 0.
  3. Rewrite s.t. any fraction (without variable) is behind the ≤
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to give the LP-relaxation and the best value in a 0-1 knapsack problem?

A

Just rewrite the in {0, 1} to in [0, 1]. Then take the fraction between every coefficent and the constraint. And add in the order from highest to lowest, add the last as a fraction. Don’t forget to give the objective value.

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

How to solve the 0-1 knapsack-problem using B&B?

A

Start with the first solution, then add the constraint from the highest (first) value (so set to zero and one) and calulate. Continue from highest to lowest fraction. You can stop adding constraints when:

  1. All constraints met
  2. No bound attained (usually similar as one)
  3. Not feasible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the proof of weak duality?

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

What is the proof of strong duality?

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

How to proof a Lagrange relaxation?

A

Claim that the following:

  1. Restrictions are L(𝜆) are also in ZI
  2. In addition, for every feasible solution x of ZI we have sumn j=1 dijxj = ei or, equivalently, ei −sumnj=1dijxj = 0 for all i = 1 , . .., m.
  3. Hence, sum mi=1λi(ei − sumnj=1dijxj) = 0 and L(λ) ≥ZI for all feasible solutions x of ZI, so L(λ) is a relaxation of ZI. This holds for all possible values of λ ∈ Rm.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to show that a basic feasible solution is optimal using B-1(, and the dual)?

A
  1. Calculate the solution of the dual first (cBT B-1)
  2. Calculate cBTB-1Ai - ci, where ci is the coefficient, and Ai is a vector of the coeficients of the constrants of xi, calculate this for every non-basic variable
  3. If these values are all positive then this is a optimal solution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How to prove optimality using complementary slackness?

A

Show that:

(constraint value - constraint formula(with xi*))y1* = 0 for all constraints.

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