Professional Documents
Culture Documents
1.
2.
(1a)
y + s1 = 1,
(1b)
y + s2 = 3,
(1c)
x1 s1 = ,
(1d)
x2 s2 = .
(1e)
where we also implicitly require x > 0 and s > 0. We may use (1b)(1e) to
express x1 , x2 , s1 and s2 as a function of y according to
s1 = 1 y, s2 = 3 y, x1 =
, x2 =
.
1y
3y
Insertion into (1a) gives
1y
3y
= 1 or equivalently
y 2 2(2 )y + 3 4 = 0.
Solving this equation gives
y =2
(2 )2 3 + 4 = y = 2
1 + 2 ,
where the minus sign has been chosen to make y < 1, required by s = 1 y > 0.
With that we can, after simplification, express the solution as
p
1 + 1 + 2
p
1 + 1 + 2
1
x() =
2
y() = 2
1 + 2 ,
p
s() =
1 + + 1 + 2 ,
p
1 + + 1 + 2
1
0
y = 1,
0
2
s=
3.
The values of b1 and b2 must be such that Axb = b, which gives b1 = 6 and b2 = 10.
For these values of b1 and b2 , the given xb is feasible.
The given xb is not a basic feasible solution. In order for xb to be optimal, there
cannot be a basic feasible solution with lower objective function value. To find a
basic feasible solution, we may compute directions in the null space of A+ , and
successively add constraints. The v given in the hint is such that A+ v+ = 0, v0 = 0.
1
Page 2 of 4
SF2812
y1
y2
3
1
which gives y = (5 2)T . The reduced costs are now given by s = c ATy =
(0 0 0 c4 + 3)T . Consequently, s 0 if c4 3. As the basic variables are strictly
positive, it follows that the basic feasible solution is not optimal if c4 < 3. Hence,
we conclude that xb is optimal if and only if b1 = 6, b2 = 10, c1 = 3 and c4 3.
4.
(a) For a fix vector u IRn , Lagrangian relaxation of the first set of constraints
gives
minimize
subject to
n
X
i=1
n
X
ui +
n
X
fj zj
j=1
j=1
ai xij bj zj ,
n
X
j = 1, . . . , n,
i=1
n
n X
X
i=1 j=1
n
X
xij = 1,
n
X
(fj bj vj )zj
j=1
i = 1, . . . , n,
j=1
n
X
i=1
n
X
i=1
i = 1, . . . , n,
SF2812
Page 3 of 4
n
X
(fj bj vj )zj
j=1
zj {0, 1},
d
a
j = 1, . . . , n,
n
X
j=1
n
X
d
a
xij = 1,
j=1
j = 1, . . . , n,
5.
3 0 0
B=0 2 0
,
0 0 1
20
xB = B b = 25
,
40
y = B Te =
1
3
1
2
1
6 maximize
21 + 32 + 63
d
a
31 + 52 + 93 11,
i 0, integer, i = 1, 2, 3.
We may enumerate the feasible solutions for this small problem to conclude
that the optimal value of the subproblem is = (2 1 0)T with optimal value
1/6. Hence, a4 = (2 1 0)T and the maximum step is given by
2
20
3
0 x = B 1 b B 1 a4 =
25
2 .
0
40
Page 4 of 4
SF2812
Hence, max = 30 and x1 leaves the basis, so that the basic variables are given
by x2 = 10, x3 = 40 and x4 = 30. The reduced costs are given by
2 1 0
y=B e=
0 2 0
0 0 1
1
1 ,
1
1
4 maximize
1 + 22 + 43
d
a
31 + 52 + 93 11,
i 0, integer, i = 1, 2, 3.
We may enumerate the feasible solutions for this small problem to conclude
that the optimal value is zero, so that the linear program has been solved.
The optimal solution is x2 = 10, x3 = 40 and x4 = 30, with a2 = (0 2 0)T ,
a3 = (0 0 1)T and a4 = (2 1 0)T .
(b) The solution given by the linear programming relaxation happens to be integer
valued. This means that we have solved the original problem as well. The
optimal solution is to use 80 W -rolls, with 10 rolls cut according to pattern
(0 2 0)T , 40 rolls cut according to pattern (0 0 1)T and 30 rolls cut according
to pattern (2 1 0)T .
(Note that this is very special. In general one can not expect to obtain an
optimal integer solution in this way.)