Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Give a diagonalization showing that it is impossible to approximate the Kolmogorov Com - plexity to within a factor of 2 . (
Give a diagonalization showing that it is impossible to approximate the Kolmogorov Com
plexity to within a factor of
Hint: Modify the diagonalization in the lecture notes.
Write a propositional
logic formula F on the
variables Vr
Vg
Vy
Ir
Ig
Iy
Rr
Rg
Ry
Cr
Cg
Cy
such that there is a bijection between the satisfying truth assignments for F and the valid
colourings with the colours red, green and yellow of the
counties of Cape Breton Island.
Sketch that bijection.
Show that Binary Integer Linear Programming
BILP
is NP
complete by
showing that you can check an alleged solution in polynomial time,
giving a polynomial
time reduction from Independent Set to BILP.
Given a graph G
your reduction should return a BILP instance whose objective function has
value at least k if and only if G has an independent set of size at least k
Apply your reduction to the graph in Figure
in the lecture notes.
If you just write any
old BILP instance whose objective function has value at least
because you can see there is
an independent set of
vertices then you won
t have applied a reduction and you
ll get
Suppose you want to prove to your friend have a solution to an instance of an NP
complete
problem X
but you don
t want to tell them the solution. How can you use the zero
knowledge
proof of knowledge for
Col to do this?
Hint: Use the fact that
Col is NP
complete.
Give an algorithm that, given a connected graph G on n vertices with n
edges for some
constant c
finds a minimum
size vertex cover for G in O
n
time
Hint: Use BFS or DFS to
select a subgraph of G that
s a tree on n vertices and consider the
leftover edges that aren
t
in that tree; consider how you could cover those
edges
for each, take one end, take other
or take both
and think about what to do for each of the at most
possibilities
Bonus: To show a problem X is NP
complete,
we show X can be solved on an NP Turing machine
and
we reduce a know NP
complete problem to X
thus showing we can program an
NP Turing machine in X
When we show a programming language Y is Turing
complete,
however, we just show we can program a Turing machine in Y ; why don
t we show that Y
can be interpreted on a Turing machine?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started