Computer Science > A-Level Question Paper > Part II – 2023 – Paper 8 Advanced Algorithms (tms41) (All)
(a) Suppose you have a randomised approximation algorithm for a maximisation problem such that, for any > 0 and any problem instance of size n, the algorithm returns a solution with cost C such th ... at Pr[C ≥ (1 − 1/) · C ∗ ] ≥ 1/n · exp(−1/), where C ∗ is the cost of the optimal solution. Can you use your algorithm to obtain a PTAS or FTPAS? Justify your answer. [6 marks] (b) We consider the following optimisation problem. Given an undirected graph G = (V, E) with non-negative edge weights w : E → R +, we are looking for an assignment of vertex weights x : V → R such that: (i) for every edge {u, v} ∈ E, x(u) + x(v) ≥ w({u, v}), (ii) P v∈V x(v) is as small as possible. (i) Design a 2-approximation algorithm for this problem. Also analyse the running time and prove the upper bound on the approximation ratio. Note: For full marks, your algorithm should run in at most O(E 2 ) time. Hint: One way to solve this question is to follow the approach used by the greedy approximation algorithm for the VERTEX-COVER problem. [8 marks] (ii) Can this problem be solved exactly in polynomial-time? Either describe the algorithm (including a justification of its correctness and why it is polynomial time) or prove that the problem is hard via a suitable reduction [Show More]
Last updated: 2 years ago
Preview 1 out of 1 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
algorithms
By Carpenter Njes 2 years ago
$2
1
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
May 23, 2023
Number of pages
1
Written in
All
This document has been written for:
Uploaded
May 23, 2023
Downloads
0
Views
138
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·