Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following problem. The input is a graph G = (V E). Feasible solutions are subsets S of the vertices V. The objective is

image text in transcribed

Consider the following problem. The input is a graph G = (V E). Feasible solutions are subsets S of the vertices V. The objective is to maximize the number of edges with one endpoint in S and one endpoint in V - S (a) Give a simple polynomial-time randomized algorithm for this problem and show that it is 2 approximate. Hint: Flip a coin for vertex and consider analysis for MAX2SAT from class. (b) Develop a deterministie polynomial-time 2-approximation algorithm for this prob lem using the method of conditional expectations, which considers the vertices one by one, but instead of flipping a coin for each vertex v, puts v in the bipartition that would maximize the expected number of edges in the cut if coin flips were used for the remaining vertices. (c) Give a simple greedy algorithm that ends up implementing this policy. (d) Prove that this greedy algorithm has approximation ratio at most 2. Consider the following problem. The input is a graph G = (V E). Feasible solutions are subsets S of the vertices V. The objective is to maximize the number of edges with one endpoint in S and one endpoint in V - S (a) Give a simple polynomial-time randomized algorithm for this problem and show that it is 2 approximate. Hint: Flip a coin for vertex and consider analysis for MAX2SAT from class. (b) Develop a deterministie polynomial-time 2-approximation algorithm for this prob lem using the method of conditional expectations, which considers the vertices one by one, but instead of flipping a coin for each vertex v, puts v in the bipartition that would maximize the expected number of edges in the cut if coin flips were used for the remaining vertices. (c) Give a simple greedy algorithm that ends up implementing this policy. (d) Prove that this greedy algorithm has approximation ratio at most 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

Students also viewed these Databases questions