Computer Science  >  A-Level Question Paper  >  Part II – 2023 – Paper 8 Advanced Algorithms (tms41) (All)

Part II – 2023 – Paper 8 Advanced Algorithms (tms41)

Document Content and Description Below

(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 Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Part II – 2023 – Paper 8 Advanced Algorithms (tms41) document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Also available in bundle (1)

Click Below to Access Bundle(s)

BEST OF THE BEST Revision papers

algorithms

By Carpenter Njes 2 years ago

$2

1  

Reviews( 0 )

$1.50

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

138
0

Document information


Connected school, study & course


About the document


Uploaded On

May 23, 2023

Number of pages

1

Written in

All

Seller


Profile illustration for Carpenter Njes
Carpenter Njes

Member since 2 years

0 Documents Sold

Additional information

This document has been written for:

Uploaded

May 23, 2023

Downloads

 0

Views

 138

Document Keyword Tags

More From Carpenter Njes

View all Carpenter Njes's documents »

$1.50
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·