Last Updated: August 14 2022.
Credit Hours: 3
Prerequisites: Students are expected to have mathematical maturity and knowledge of COMPSCI 311 or equivalence.
- Instructor: Hung Le.
- Email: email@example.com
- Office: 332 CS Building
- Office hours: Monday 11:00 AM - 12:00 PM, and Friday 3:00 PM - 4:00 PM, CS Building Room 332.
- Cuong Than, email: firstname.lastname@example.org, office hours: TBA
- Samer Nashed, email: email@example.com, office hours: TBA
- Roshitha Bezawada, email: firstname.lastname@example.org
- akhila jetty, email: email@example.com
- Vinitha Maheswaran, email: firstname.lastname@example.org
- Veda Sree Bojanapally, email: email@example.com
Class Meetings: Tue/Thu 2:30 PM - 3:45 PM every week at Hasbrouck Lab Room 134.
Objectives: This course provides students with skills in designing efficient algorithms. We will go through a variety of algorithm design techniques, including greedy, divide and conquer, dynamic programming, network flow, linear programming, randomized algorithms, and approximation algorithms. We will illustrate these design techniques in solving different algorithmic problems. The emphasis of this course is on the mathematical aspects of designing algorithms.
Learning Outcomes: After completing this course, students are expected to be able to formulate an algorithmic problem, design an algorithm for the problem, prove the correctness, and analyze the running time.
Location: Hasbrouck Lab Room 134
Required Textbook: Lectures will be based on Jeff Erickson notes. Slides will be posted on Moodle.
- Introduction to Algorithms by Cormen, Leiserson, Rivest, and Stein.
- Algorithm Design by Kleinberg and Tardos (KT).
- Algorithms by Dasgupta, Papadimitriou, Vazirani (DPV).
- Randomized Algorithms by Motwani and Raghavan (MR).
- Probability and Computing by Mitzenmacher and Upfal (MU).
- Approximation Algorithms by Vazirani.
- Divide and Conquer (2 lectures)
- Dynamic Programming (2 lectures)
- Greedy Algorithms (3 lectures)
- Randomized Algorithms (2 lectures)
- Network Flow (3 lectures)
- Linear Programming (3 lectures)
- NP-Completeness (2 lectures)
- Approximation Algorsithms (3 lectures)
The following tentative schedule might suffer changes.
|06 Sept||Intro, Master theorem, Mergesort||Erickson’s note on recursion|
|08 Sept||Closest Pair, Matrix Multiplication||DPV’s chapter 2|
|13 Sept||Problem Solving Session|
|15 Sept||Intro Greedy, Job Scheduling||Erickson’s note on geedy algs|
|20 Sept||Minimum Spanning Tree||Erickson’s note on MST|
|22 Sept||Matroid||Erickson’s note on matroid|
|27 Sept||Subset Sum, Optimal BST||Erickson’s note on DP|
|29 Sept||SSSP and TSP||Erickson’s note on SSSP and APSP|
|04 Oct||Problem Solving Session|
|06 Oct||Balls and Bins||Erickson’s note on Hashing|
|11 Oct||Bloom Filter||Erickson’s note on filtering and streaming|
|13 Oct||Midterm 1||Covering D&C, DP, and Greedy|
|18 Oct||Maxflow-Mincut||Erickson’s note on Maxflow|
|20 Oct||Maxflow in Strongly PolyTime||Erickson’s note on Maxflow|
|25 Oct||Applications of Maxflow||Erickson’s note on Applications of Maxflow|
|27 Oct||Problem Solving Session|
|01 Nov||Introduction to Linear Programming||Erickson’s note on LP|
|03 Nov||LP Duality||Erickson’s note on LP|
|08 Nov||Simplex Algorithm||Erickson’s note on Simplex Algorithm|
|10 Nov||P vs NP||Erickson’s note on NP-hardness|
|15 Nov||NP-complete Problems||Erickson’s note on NP-hardness|
|17 Nov||Midterm 2||Covering Randomized Algorithms, Maxflow, and LP|
|24 Nov||Vertex Cover,Set Cover||Erickson’s note on approximation algorithms|
|29 Nov||TSP, $k$-Center||Erickson’s note on approximation algorithms|
|01 Dec||Subset Sum||Erickson’s note on approximation algorithms|
|06 Oct||Problem Solving Session|
|14 Dec||Final Exam 3:30-5:3- PM (at the classroom)||Covering everything|
- Homework (40%): Homework is bi-weekly and includes 6 assignments. The lowest assignment will be dropped.
- Weekly Quizzes (10%): We will have 11 quizzes total, and the lowest quiz will be dropped.
- Midterm 1 (15%)
- Midterm 2 (15%)
- Final (20%): Scheduled by the university and will be comprehensive.
Grading Scale: A (100-90), A- (89-84), B+ (83-78), B (77-72), B- (71-66), C+ (65-60), C (59-54), F (53-0)
Late Policy: You have one late day on any HW of your choice. For other HWs, each one hour late within 24 hours incurs 2 points of penalty. Submission of more than 24 hours late will not be graded unless you have a good medical reason. Try your best to honor the deadlines.
Exam Make-up Policies: If you have a conflict exam with another class, you should contact University Registrar’s Office. If you cannot attend the exam for a medical reason, please notify the instructor at least one week before the exam. If you have a medical emergency, contact the instructor as soon as possible. You need to provide a document for the medical reason.
Platforms: We will use Moodle for general logistics, Campuswire for discussion and Gradescopes for homework assignments.
Communication Policy: Questions regarding homework assignments/class materials should be posted on Campuswire. All questions will be answered within 24 hours, except over weekends. Other questions should be sent by email to the instructor and/or TAs.
Posting Policy: You are not allowed to post any material in this course to public websites without the permission of the instructor.
Academic Honesty and Collaboration Policy:
- You must do exams and quizzes on your own. No collaboration is allowed.
- You might collaborate with at most 2 other students on homework. You must specify anyone you collaborated with in your submissions. The collaboration is verbal only. The write-up must be your own. You are NOT allowed to talk about the homework with anyone else outside your group (except TAs and the instructor). You are NOT allowed to consult any material on the Internet to do your homework.
- You are allowed to bring at most 2 pages of A4 cheatsheets to the exams. NO other materials are allowed.
- DO ask if you have any questions regarding academic honesty.
As members of the College of Information and Computer Sciences at UMass Amherst, we expect everyone to behave responsibly and honorably. In particular, we expect each of you not to give, receive, or use aid in examinations, nor to give, receive, or use unpermitted aid in any academic work. Doing your part in observing this code, and ensuring that others do likewise is essential for having a community of respect, integrity, fairness, and trust. If you cheat in a course, you are taking away from your own opportunity to learn and develop as a professional. You also hurt your colleagues, and this will hurt people you will work with in the future, who expect an honest and responsible professional.
As faculty, we pledge to use academic policies designed for fairness, avoiding situations that are conducive to violating academic honesty, as well as unreasonable or unusual procedures that assume dishonesty. We will follow the university’s Academic Honesty Policy and Procedures. This means we will report instances of dishonesty, which may lead to formal sanction and/or failing the course.
Attendance Policies: Attendance is not optional. If you do not attend a lecture, you are responsible for learning the materials covered in the leccture yourself. A small percentage point will be given to those who attend the lectures.
Accommodations for Disabilities: The University of Massachusetts Amherst is committed to providing an equal educational opportunity for all students. If you have a documented physical, psychological, or learning disability on file with Disability Services (DS), you may be eligible for reasonable academic accommodations to help you succeed in this course. If you have a documented disability that requires an accommodation, please notify the instructor within the first two weeks of the semester so that we can make appropriate arrangements. For more information, consult the Disability Services website at https://www.umass.edu/disability/.
Equity and Inclusion Statement: We are committed to fostering a culture of diversity and inclusion, where everyone is treated with dignity and respect. This course is for everyone. This course is for you, regardless of your age, background, citizenship, disability, sex, education, ethnicity, family status, gender, gender identity, geographical origin, language, military experience, political views, race, religion, sexual orientation, socioeconomic status, or work experience. Because of that, we should realize that we will be bringing different skills to the course, and we will all be learning from and with each other. We may have different backgrounds and skills in courses taken, mathematical, algorithmic, coding or testing background, ways to communicate orally and in writing, working alone or in groups, or plans for professional careers.
Please be kind and courteous. There’s no need to be mean or rude. Respect that people have differences of opinion, and work and approach problems differently. There is seldom a single right answer to complicated questions. Please keep unstructured critique to a minimum; any criticism should be constructive.
Disruptive behavior is not welcome, and insulting, demeaning, or harassing anyone is unacceptable. In particular, we don’t tolerate behavior that excludes people in socially marginalized groups. If you feel you have been or are being harassed or made uncomfortable by someone in this class, please contact a member of the course staff immediately, or if you feel uncomfortable doing so, contact the Dean of Students office.
This course is for all of us. We will all learn from each other. Welcome!
Names & Pronouns: Everyone has the right to be addressed by the name and pronouns that they use for themselves. You can indicate your preferred/chosen first name and pronouns on SPIRE, which appear on class rosters. I am committed to ensuring that I address you with your chosen name and pronouns. Please let me know what name and pronouns I should use for you if they are not on the roster. Please remember: A student’s chosen name and pronouns are to be respected at all times in the classroom.
Title IX Statement: UMass is committed to fostering a safe learning environment by responding promptly and effectively to complaints of all kinds of sexual misconduct. If you have been the victim of sexual violence, gender discrimination, or sexual harassment, the university can provide you with a variety of support resources and accommodations If you experience or witness sexual misconduct and wish to report the incident, please contact the UMass Amherst Equal Opportunity (EO) Office (413-545-3464, firstname.lastname@example.org) to request an intake meeting with EO staff. Members of the CICS community can also contact Erika Lynn Dawson Head, director of diversity and inclusive community development (email@example.com, 860-770-4770).