Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider an instance of Vertex Cover problem as shown in Figure 1 . The cost of the five vertices as follows: c 1 = 2

Consider an instance of Vertex Cover problem as shown in Figure 1. The cost of the five vertices
as follows: c1=2,c2=5,c3=4,c4=4.5, and c5=2, where ck denotes the cost of vertex vk for
k=1,2,3,4,5.
Fig. 1. The input graph for Question 1.
1.1. Please compute the exact performance of Greedy and Pricing Algorithm (PA), where Greedy
works by adding vertices in a decreasing order of the cost until we get a vertex cover and breaking
ties following the order of v5,v4,v3,v2,v1, if any; and PA checks edges following the order of
e1,e2,dots,e7. You need to state clearly the final set of vertices output and the related cost for each
of the two algorithms. (20 Points)
1.2. Please present the linear program (LP) we should construct for the above instance. You need
to state clearly the three elements of the LP: variables, constraints, and objective. You do not need
to solve the LP.(10 Points)
1.3. Please present an example and related analysis showing that the approximation ratio of the
LP-based algorithm can be equal to 2.(5 Points)
image text in transcribed

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

Step: 3

blur-text-image

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 Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

Which technique is sensitive to the fastest processes, NMR or EPR?

Answered: 1 week ago

Question

List the key components within occupational health and safety.

Answered: 1 week ago

Question

Identify the general types of employment laws in Canada.

Answered: 1 week ago

Question

Describe discrimination and harassment in the workplace.

Answered: 1 week ago