670 likes | 784 Views
When intuition is wrong Heuristics for clique and maximum clique. Patrick Prosser esq. You have a set of people You have to produce the largest group of people such t hat everyone in the group knows each other How would you do that?. Solve it!.
E N D
When intuition is wrong Heuristics for clique and maximum clique Patrick Prosser esq.
You have a set of people You have to produce the largest group of people such that everyone in the group knows each other How would you do that?
Solve it! To a man with a hammer everything looks like a nail
Model 3 colouring lower bound
GT[19] clique(n,p,k) Given a random graph G(n,p) is there a clique of size k or more?
GT[19] clique(n,p,k) Given a random graph G(n,p) is there a clique of size k or more? A “decision problem”, NP-complete
GT[19] clique(n,p,k) Given a random graph G(n,p) is there a clique of size k or more? A “decision problem”, NP-complete • What we did: • Generate 100 instances of G(50,0.9) • Vary k from 1 to 50 • apply Model 1 with max-degree heuristic • measure search cost of clique(G(50,0.9), k) • determine if sat or unsat • Analyse results (5,000 points)
Search effort (decisions) max mean scatter med Vary that
H00: choose max degree and reject H01: choose max degree and accept H10: choose min degree and reject H11: choose min degree and accept
H00: choose max degree and reject H01: choose max degree and accept H10: choose min degree and reject H11: choose min degree and accept H1*
WHY? H1*
… but just to build tension, here’s what happens when we compare models (normal service will soon be resumed)
… and we are back SoCS-TV
kappa for clique kappa seems to work … it fits the empirical results reasonably well
minimise kappa When you make a decision make sure it drives you into the easy soluble region … capiche? easy soluble
If a heuristic is good for the decision problem, will it be good for optimisation?
DIMACS ?