• Keine Ergebnisse gefunden

Problem Set 11

N/A
N/A
Protected

Academic year: 2022

Aktie "Problem Set 11"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Institut f¨ur Informatik Prof. Dr. Heiko R¨oglin Dr. Daniel Schmidt

Randomized Algorithms and Probabilistic Analysis Summer 2020

Problem Set 11

Please hand in your solutions via e-mail (ipsarros@uni-bonn.de) until Monday July 6th.

Problem 1

1. Recall Problem 1 from Problem Set 10, where you considered the following product knapsack problem. Given n objects with deterministic weights w1, . . . , wn ∈ [0,1], a capacityW and deterministic profitsp1, . . . , pn∈R≥1, find a solutionx∈ {0,1}n that maximizes the product

p(x) = Y

i:xi=1

pi

of the profits of the chosen items under the constraint thatwtx≤W. You argued that the Nemhauser-Ullmann algorithm can be adapted to compute an optimal solution to the product knapsack problem. What can you say about the smoothed complexity of the product knapsack problem?

2. Recall Problem 2 from Problem Set 10. LetG= (V, E) be a graph with edge lengths`: E → [0,1] and edge costs c :E → [0,1]. Let {s, t} ∈ V. Assume that the edge costs areφ-perturbed values. What is the expected number of Pareto-optimal paths?

Problem 2

How can we solve the fractional knapsack problem in linear time? You may assume that the greedy algorithm for fractional knapsack (page 105) is correct, and that there exists an algorithm that finds the median ofn numbers in timeO(n).

Problem 3

We discuss bad examples for the core algorithm. In the following, you may use fractional weights and profits.

1. The idea behind the core algorithm is the hope that the optimal solution for the fractional knapsack problem as computed by the greedy algorithm on page 105, ¯x, typically differs from an optimal solution in only in a few items, and that these items lie in the core. Give an example where, except for the break item, no item that is in ¯x is contained in any optimal solutionx.

2. The expanding core algorithm estimates the additive integrality gap Γ by iteratively increasing it. Give an example where it increases the estimatorn−1 times and finally ends up with all items in the core.

Referenzen

ÄHNLICHE DOKUMENTE

As solving this problem exactly is time-consuming, a greedy evaluation procedure is used for approximating the quality of intermediate leader solution candidates, which is described

One of the essential ingredients of an A ∗ search is an admissi- ble heuristic function for estimating the cost-to-go, i.e., in our case the length of a CLCS for any

One of the two nodes is chosen and in the following referred as “conflicting node” (See section 5.3), its encasing cluster as “conflicting cluster”. Further, a cluster is said to

Searching, inserting and converting solutions requires O(r) time, thus the com- plexity only depends on the length of the solution vector, but not on the number of already

The challenge lies in mapping the different virtual networks with all the resources they require into the available physical network, which is the core of the Virtual Network

We present a Lagrangian decomposition approach for the Knapsack Constrained Maximum Spanning Tree problem yielding upper bounds as well as heuristic solutions.. This method is

Li and Simha [6] introduced this N P-hard problem which was motivated by the wavelength routing and assignment in an optical network. In this context several approaches have

For Chu and Beasley’s GA and CRH-GA, the table contains for each problem in- stance the average percentage gap of the runs’ final solu- tions, the corresponding standard