Download due 4/01/2016 in class

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Lateral computing wikipedia , lookup

Genetic algorithm wikipedia , lookup

Perturbation theory wikipedia , lookup

Numerical continuation wikipedia , lookup

Computational fluid dynamics wikipedia , lookup

Knapsack problem wikipedia , lookup

Computational complexity theory wikipedia , lookup

Inverse problem wikipedia , lookup

Computational electromagnetics wikipedia , lookup

Dynamic programming wikipedia , lookup

Multi-objective optimization wikipedia , lookup

Mathematical optimization wikipedia , lookup

Weber problem wikipedia , lookup

Multiple-criteria decision analysis wikipedia , lookup

Transcript
Math 482
HW7 Section:
Name:
Due Friday, April 1, 2016
Students in section E13 (three credit hours) need to solve any four of the following five
problems. Students in section E14 (four credit hours) must solve all five problems.
1. Consider the following integer program P:
z = x1
→
min
subject to 3x1
−100x2 ≥ 1
3x1
−101x2 ≤ 1
x1 ,
x2
≥ 0
x1 ,
x2
integer
Solve the linear programming relaxation of P, obtaining an optimal solution x∗ with
cost z ∗ (You can solve the linear programming relaxation in any manner that you wish).
Obtain an integer vector x from x∗ by rounding each component to the nearest integer.
Is x an optimal solution to the integer program P? If it is not, find an optimal solution
to the integer program P.
Hint: Since the objective function of the integer linear program is just x1 , you can find an
optimal solution by checking if there is a feasible solution in which x1 = 0, then checking
if there is a feasible soluition in which x1 = 1, etc.
2. Interpreting the numbers on edges as edge lengths, solve the shortest (s, t)-path problem
for the graph drawn below using the simplex method with Bland’s pivot rules with the
initial basis {e1 , e2 , e3 , e4 }.
Hint: this is similar to example 3.7 in the book
v1 = s
2
e1
v2
7
e2
9
e5
v4
5
e3
1
e6
1
e7
2
e4
v5 = t
4
e8
v3
3. State the dual to the shortest path problem above and use your solution to problem 2
and complementary slackness to give its solution.
4. Let G be the network with the flow drawn below with s = v1 and t = v3 . Write the flow
as a sum combination of positive flows along cycles and (s, t)-paths.
v1 = s
1
2.5
1
2
3
v5
v2
1
1
0.5
3
1
v4
v3 = t
5. Use the revised simplex method to find an optimal solution to the problem
Minimize z = x1 + x2 + x3
subject to




x1 + x4 − 2x6
x2 + 2x4 − 3x5 + x6
x

3 + 2x4 − 3x5 + 6x6


x1 , . . . , x 6
=
=
=
≥
5,
3,
5,
0.