FSU Seal

    COURSE SYLLABUS

    COT 5405: Advanced Algorithms
    Spring 2016


Prerequisites:

COP 4531: Analysis of Data Structures and Algorithms (this pre-requisite will not be waived). You are also expected to have the mathematical maturity to write formal proofs and algorithms.

Lecture hours:

MW 12:30 pm - 1:45 pm, LOV 103.

Contact information:

Instructor: Ashok Srinivasan
Office hours: I will decide on my office hours after finding times convenient to you. I am also usually available in my office, and you can feel free to meet me, except before my classes. Alternatively, you may schedule an appointment, either by email or by phone.
Office: 169, Love Building
Phone: 644-0559
Email: asriniva AT cs.fsu.edu
Course web site: http://www.cs.fsu.edu/~asriniva/courses/alg16.

Text books and other material:

Course rationale:

In your undergraduate algorithms course, you learned efficient algorithms for many common problems in computer science. In this course, you will learn algorithms that use more sophisticated techniques than the ones in the undergraduate course. Many of the algorithms relate to some type of optimization, and arise in many important applications, which you will typically encounter in other graduate courses, your research, and in the real-world. While the applications are important, the techniques used to solve them are well beyond the scope of an undergraduate course.

As an example, there is a class of problems called NP hard, for which it is believed that efficient algorithms cannot be developed. Many important optimization problems belong to this class. While showing a problem to be NP hard relieves you from the responsibility of designing an efficient algorithm to solve it, the problem itself does not disappear, and you still need to be able to do something about it. In this course, you will learn techniques to find reasonably good approximate solutions efficiently, for many NP hard problems.

Thus, techniques you learn in this course will enable you to solve important problems that you would not be able to solve otherwise. Furthermore, you will also learn more powerful techniques for analysis of the algorithms, and learn to write formal proofs, which will help you in your research.

Course description:

Problems that you have studied so far were somewhat simple, in the sense that the algorithms used to solve them were rather straightforward. From example, it was easy to see that an algorithm was correct and to determine its time complexity. Topics we discuss in this course can be broadly classified into two categories: (i) difficult problems, for which we think it is unlikely that efficient algorithms exist, and (ii) difficult algorithms, for which proof of correctness or analysis of time complexity are difficult. The discussion will sometimes span both categories, when we discuss approximation algorithms for the difficult problems

To be more specific, we will discuss the following topics. (i) We will first study techniques to find approximate solutions to NP hard optimization problems. The emphasis will be on techniques based on linear programming, which are applicable to a wide variety of problems, rather than on ad-hoc solutions to specific problems. (ii) We will next study parallel algorithms, where several processors work together to solve a given problem. We will see that efficient parallelization sometimes requires solving an NP hard optimization problem too. (iii) Typical analyses of algorithms use the computational effort of an algorithm to measure their efficiency. However, in modern processors, efficient use of the memory hierarchy is the major bottleneck, rather than operations in the CPU. We will discuss cache-aware and cache-oblivious algorithms, which exploit the memory hierarchy efficiently. (iv) We will finally discuss randomized algorithms. Fortunately, these algorithms do not give random answers. The answers are always correct for the algorithms we discuss, but the time taken for a given input can vary. Randomized algorithms can often improve the expected time complexity significantly.

This course does not require extensive programming. However, it does involve deep thinking and rigorous theoretical analyses. Therefore, much mathematical maturity is required of you. (However, specific mathematical skills, beyond those learned in undergraduate Discrete Mathematics courses, are not required.) For example, you should be able to understand and write formal proofs. This course will also require you to be creative; you will need to solve problems that differ from the ones discussed in class, though the solution strategies will often be related to those discussed.

Learning objectives:

By the end of the semester, you should develop the following skills: (i) understand and apply the algorithms discussed in class, prove their correctness, and analyze their time complexity in a mathematically rigorous manner, (ii) understand the basic idea behind the techniques, so that you are able to develop algorithms for new problems where these techniques can be applied, and (iii) given a practical application, identify the computational issues and apply suitable algorithms to solve it effectively. We give more details below (objectives shown in bold are particularly important). You will also later be given more specific objectives for each lecture.

Approximation algorithms

Parallel algorithms

Cache-aware and cache-oblivious algorithms

Randomized algorithms

Grading criteria:

    Class participation and review questions 15
    Two homework assignments 2 x 15 = 30
    Two midterms 2 x 20 = 40
    Project 15
    Course average Letter grade
    90 - 100 A
    85 - 90 A-
    80-85 B+
    75-80 B
    70-75 B-
    0-70 F to C+

Your grade will be based on the scores obtained in the above categories, with weights as given above. You should also score at least 70% in the average of the two midterm exams in order to get a grade of B or higher. Note that the thresholds for grades are a little lower than they normally are in other courses. Please don't think this makes it easier to obtain a high grade. They are lower because the exams are more difficult!

Examples
  1. If you get 82% total and 90% on the exams, your grade will be B+.
  2. If you get 82% total and 65% on the exams, you will not get B+. Your grade will be B-, since the exam grade is below 70%.
Class participation and review questions
Class participation consists of answering questions correctly in class, and other positive contributions, discussed in greater detail at www.cs.fsu.edu/~asriniva/courses/alg16/classparticipation.html.

Assignments
Assignments will mostly be theoretical, with only simple programming involved. Hardcopies for the theoretical part should be turned in to me in my office. If I am not in my office, you can slip it under my door. Assignments are due 5 pm on the due date. Code should be turned in through Blackboard.

Midterm exams
You will have two midterm exams, and no final exam. Both midterm exams will be closed book. You will be tested on knowledge, understanding, and application of material discussed in class. You will also have some questions testing your ability to creatively solve new problems, using techniques discussed in class.

Your responsibilities:

Deadlines and instructions
Following the same professional guidelines that you will encounter in business, there are strict deadlines, and instructions that must be followed. Please read instructions carefully, and schedule your activities so that you submit assignments well in time. You should check your FSU email account and the class web page regularly, and note other announcements, on-line and in class.

Participation
I will ask you questions in class: (i) review questions on the previous lecture, and (ii) questions on the material currently being discussed, in order for me to obtain feedback on how well you understand the material. You should be prepared to answer these questions, and should also participate by asking questions, suggesting ideas, and performing in-class assignments that I give. Of course, you cannot participate in class unless you attend it!

Reading assignments
You will have a reading assignment for each lecture, which you should read. New material often builds on the old ones. So, if you have trouble with some material, please get help from me before the next class. You should also peruse the material for the next lecture, and be prepared to answer questions on it, which I will provide in advance. I expect that you will need to spend between one and two hours studying, for each lecture. The assignments and exams will consume additional time. The following learning components are important, and you may want to verify if you do satisfactorily on these, after studying the material.

  • Knowledge: Examples -- Do you understand the terminology used? Given an algorithm and problem instance, can you describe the steps carried out by the algorithm and the output?
  • Understanding: Examples -- If some aspect of an algorithm, were modified, can you analyze the time complexity, prove its correctness, or prove that it is incorrect? If some aspect of the problem where changed, can you suggest modifications to the algorithm used to solve it? In order to answer such questions, you need to understand how each component of an algorithm problem affects the time complexity, and why each component of an algorithm is important for its correctness. After you learn about what an algorithm does (and have, thus, acquired "knowledge"), it will be useful for you to think of different things that can be changed, and see how that will affect the time complexity or correctness. Similarly, you have to understand how different aspects of the problem are dealt with by different components of the algorithm.
  • Theoretical analysis: You can often intuitively understand why an algorithm works, or why its time complexity is what we claim it to be. However, you should also learn to formally prove this in a mathematically rigorous manner. You will also need to write algorithms precisely. Students often have trouble with this. I suggest that, until you attain some proficiency in these skills, you practice writing proofs and algorithms for review questions that I post after each lecture, and get feedback from me.
  • Creativity: Can you modify algorithms that we have studied, to make them more efficient for special situations? Given a problem for which our algorithm is not valid as designed, can you modify the algorithm to solve the problem, and then prove the correctness of your solution, and analyze its time complexity? Questions related to creativity will form the major part of the grade.

Assignments
You will have two assignments in this course, and you will have around ten days to work on each one.

Course policies:

Attendance Policy

The university requires attendance in all classes, and it is also important to your learning. The attendance record may be provided to deans who request it. If your grade is just a little below the cutoff for a higher grade, your attendance will be one of the factors that we consider, in deciding whether to "bump" you up to the higher grade. Missing three or fewer lectures will be considered good attendance. In rare cases, such as medical needs or jury duty, absences may be excused with appropriate documentation. You should let me know in advance, when possible, and submit the documentation I seek. You should make up for any materials missed due to absences.

Missed exam Policy

A missed exam will be recorded as a grade of zero. We will follow the university rules regarding missed final exams (see http://registrar.fsu.edu/dir_class/spring/exam_schedule.htm), for all the exams, including the final exam.

Late Assignment Policy

In order to enable us to provide timely solutions to assignments, we have the following policy regarding submission of late assignments.

Grade of 'I' Policy

The grade of 'I' will be assigned only under the following exceptional circumstances:

Professional ethics

You will gain confidence in your ability only when you do the work independently. On the other hand, one does learn a lot through discussions with ones peers. In order to balance these two goals, I give below a list of things that you may, and may not, do.

Things you may not do: You should not copy from the assignments of other students. This includes directly copying or making modifications to others' assignments. If you happen to find a solution to an assignment problem from another source, you may not copy it. Furthermore, you should take steps to ensure that others cannot copy your assignment.

Things you may do: You may ask others about (i) terminology that you do not understand, (ii) clarifications on what is required of you in an assignment problem (though you may be much better of asking me), and (iii) how to submit your assignment. After the assignment has been graded, you are encouraged to discuss each others' solutions. Honor Code: The Florida State University Academic Honor Policy outlines the University's expectations for the integrity of students' academic work, the procedures for resolving alleged violations of those expectations, and the rights and responsibilities of students and faculty members throughout the process. Students are responsible for reading the Academic Honor Policy and for living up to their pledge to be honest and truthful and [to] strive for personal and institutional integrity at Florida State University. (Florida State University Academic Honor Policy can be found at http://fda.fsu.edu/content/download/21140/136629/AHPFinal2014.pdf .)

Plagiarism:

Plagiarism is "representing another's work or any part thereof, be it published or unpublished, as ones own. For example, plagiarism includes failure to use quotation marks or other conventional markings around material quoted from any source" (Florida State University General Bulletin 1998-1999, p. 69). Failure to document material properly, that is, to indicate that the material came from another source, is also considered a form of plagiarism. Copying someone else's program, and turning it in as if it were your own work, is also considered plagiarism.

Course calendar:

Week Lecture Chapter Assignments
1 6 Jan 1. Introduction.
2 11 Jan 2. Approximation algorithms -- Vertex cover, chapter 1
13 Jan 3. Approximation algorithms -- Vertex cover, chapter 1
3 18 Jan Martin Luther King Day: No Class.
20 Jan Discuss solutions to problems.
4 25 Jan 4. Approximation algorithms -- Set cover, chapter 2
27 Jan 5. Approximation algorithms -- Set cover, chapter 2
5 1 Feb 6. Approximation algorithms -- Knapsack, chapter 8
3 Feb 7. Approximation algorithms -- Knapsack, chapter 8
6 8 Feb 8. Linear programming, chapter 12
10 Feb 9. Linear programming, chapter 12
7 15 Feb 10. Approximation algorithms -- Rounding applied to set cover, chapter 14 Assignment 1 announced 15 Feb
17 Feb 11. Approximation algorithms -- Rounding applied to set cover, chapter 14
8 22 Feb 12. Approximation algorithms -- Set cover via primal-dual schema, chapter 15 Assignment 1 due 26 Feb
24 Feb 13. Approximation algorithms -- Set cover via primal-dual schema, chapter 15
9 29 Feb Midterm review
2 Mar Midterm 1
10 7 Mar Spring break
9 Mar Spring break
11 14 Mar 14. Approximation algorithms -- Maximum satisfiability, chapter 16 Project topic due: 16 Mar
16 Mar 15. Approximation algorithms -- Maximum satisfiability, chapter 16
12 21 Mar 16. Approximation algorithms -- Semidefinite programming, chapter 26
23 Mar 17. Approximation algorithms -- Semidefinite programming, chapter 26
13 28 Mar 18. Parallel algorithms, class notes
30 Mar 19. Parallel algorithms, class notes
14 4 Apr 20. Cache aware and cache oblivious algorithms, handout Assignment 2 announced 4 Apr
Project progress report due 4 Apr
6 Apr 21. Cache aware and cache oblivious algorithms, handout
15 11 Apr 22. Randomized algorithms, handout. Assignment 2 due 15 Apr
13 Apr 23. Randomized algorithms, handout.
16 18 Apr Midterm review
20 Apr Midterm 2
17 25 - 27 Apr Project demonstrations Project report due 25 Apr

SYLLABUS CHANGE POLICY:

This syllabus is a guide for the course and is subject to change with advanced notice.


Last modified: 2 Jan 2016