0
$\begingroup$

in my Complexity class I have to present the 1/2 MaxSat approximation algorithm that appears in the Vazirani, Vijay V - Approximation algorithms-Spring (2011) [Image attached]. The problem is that it is not clear to me where and how the weights are assigned. The example talks about considering the weights as a unit but I don't understand why. Could someone give me a small example of the execution of the algorithmenter image description here?

Thank you

$\endgroup$
2
  • $\begingroup$ The weights are part of the instance. If your instance is unweighted, you can assume that they are all $1$. $\endgroup$ May 6, 2022 at 11:59
  • $\begingroup$ Oh I see , so in that case (unweighted) I just consider the probability of each clause, thank ou. $\endgroup$ May 7, 2022 at 20:57

1 Answer 1

0
$\begingroup$

The weights are provided as part of the instance: each clause is accompanied by one.

In the unweighted case, you can think of each clause as having unit weight.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.