Here are sample solutions to the three parts of the Steiner Tree Problem worksheets:
Categories
-
Recent Posts
Archives
Meta
Here are sample solutions to the three parts of the Steiner Tree Problem worksheets:
Posted in Handouts
Here is the worksheet and sample solution from our NP-completeness tutorials this week.
And here’s a summary sheet on NP-completeness.
We’ve now analysed the original Steiner Tree Problem, turned it into a decision problem (SP), shown that SP is in NP (by finding a polynomial-time verifiable certificate), and laid out a polynomial-time reduction from 3-SAT to SP. Now, we need to prove our reduction correct in order to show SP is NP-hard. Together SP being in NP and NP-hard shows SP is NP-complete.
Posted in Handouts
The reading this final week of classes is 8.5, 8.7, 8.8, plus a complete read of 8.10 in the Kleinberg and Tardos textbook.
This is the final set of readings for the term. If you’d like to have the full set of readings collected in one place, be sure to refer to our course material post on Piazza.
Posted in Readings
CORRECTIONS:
Here is Assignment #5, composed of the collected tutorial quizzes, solutions to those quizzes, and some extra questions building on the quizzes for the assignment. (Here is LaTeX source, with a .txt extension so the blog lets us post it!)
The assignment is due on Fri 1 Dec at 10PM. Please submit it on GradeScope.
Posted in Assignments
Here’s the second in a series of worksheets on NP-completeness in association with a problem in laying pipe that UBC solved a couple years back: Pipe, part 2
Posted in Handouts
The reading this week is 8.2, 8.3, 8.4, plus an initial quick skim of 8.10 (which will be worth skimming after each section or two that you read) in the Kleinberg and Tardos textbook. (There are two quiz questions on 8.10. Hopefully, you’ll find they’re entirely doable with a skim of 8.10.)
Posted in Readings
Enter your password to view comments.
Posted in Assignments
Here’s the first in a series of worksheets on NP-completeness in association with a problem in laying pipe that UBC solved a couple years back.
Posted in Handouts