CSC2421 Topics in Algorithms: Online and other Myopic Algorithms (Fall 2025)
This page will provide WWW access to various documents concerning CSC2421.
Announcements will also be made on
this page and on Quercus.
The class is scheduled for Mondays, 1-2 in SF3202 and Wednesdays 1-2 in HA 410.
Please send any comments or questions to the instructor:
Announcements will be placed here as appopriate.
COURSE DESCRIPTION:
While the title "Online and Other Myopic Algorithms" may seem very specialized, the course should be accessible to any CS student and also serves as a partial introduction to many of the topics in CSC2420. The course will be based on a itwo volume text (co-authored with Denis Pankratov). Volume 1 was completed May 2026 and will appear online hopefully by January 2027. Volume 2 will hopefully be completed by summer 2026. It is a reasonably self-contained text for anyone who has the equivalent of our CSC373 undergraduate course. I have uploaded Volume 1 on Quercus for class use. I will upload Volume 2 after a few uopdates. Howevere, Volume 2 is far from complete.
The adjective ``myopic'' implies algorithms where we do not see all the input items in advance; that is, after processing the first i items we have limited knowlegde about item i+1 and other future items. We will take a broad view of this term and (for example) will include (for example) algorithms that have some limited ability to change past decisions and we will consider both worst case and stochastic inputs. We will also consider algorithms that use predictions and altrenative measures of performance.
The topic of online myopic algorithms is of growing interest due to the increasing number of applications. We will consider various applications such auctions, fair division, scheduling, max-sat and graph algorithms, as well as some abstract algorithmic frameworks such as the k-server problem.
The table of contents for Volume 1 is provided here.
Volume 1 Table of Contents.
A draft table of contents for Volume 2 is provided here.
Draft of table of contents for Volume 2.
There are a number of
excellent undergraduate texts (e.g. "Algorithm Design" by
Jon Kleinberg and Eva Tardos;
"Introduction to Algorithms"
by Corman, Leiserson, Rivest and Stein;
``Algorithmics: Theory and Practice" by Brassard and Bratley; and
"Algorithms" by DsGupta, Papadimitriou and U. Vazirani) that
cover the standard topics
and include some advanced material. There are also a number of texts
on somewhat specialized topics (e.g. "Approximation Algorithms" by V. Vazirani;
"A First Course in Combinatorial Optimization", by James Lee;
and "Randomized Algorithms" by Motwani and Raghaven).
There are also many web accessible courses that indicate the diversity
of topics taught in graduate algorithms courses. For example, you
may want to consider the following sources:
My Spring 2021 course
My Spring 2022 course
My Fall 2025 course
The last version of my CSC2420 course.
Tom Roughgarden Stanford Lectures
Princeton University CS521
University of Washington CSE 521
University of Washington CSE 522
Cornell University CSC6820
CMU 451/651
Nikhil Devanur Online Course
Avner Magen LP and SDP Course
Slides for the course will appear here. These slides will amplify what is in the text chapters.
Lecture 1
Organization and Motivating the course. The text chapters.
Lecture 2
More motivation for the course. Brief hstory of online algorithms in terms of some classical online problems.
Lecture 3
The Makespan problem. Some variants of online algorithms. The templates for fixed and adaptive priority algorithms
Lecture 4
A list of some greedy algorithms. The templates for fixed and adaptive priority algorithms. Oblivious and adaptive adversaries for randomized algorithms. Defining the competitve ratio for deterministc and renadomized online algorithms
Lecture 5
Surverying the open problems in Volume 1
Lecture 6
Finish up tour of open problems in Volume 1 and starting open problems in Volume 2
Lecture 7
Continue tour of open problems in Volume 2.
Lecture 8
Finish tour of open problems in Volume 2.
Lecture 9
Comments on d-inductive and d-inductively independent graphs and greedy algorithms for such graphs. Unweighted interval selection in the online model with revoking.
Lecture 10
Unweighted interval selection in the online model with revoking and with random orddr arrivals. Start of C-Benevolent weighted Throughput Maximization.
Lecture 11
Interval selection in the real-time model with revoking continued. Fung's algorithm for proportional weights and He's algorithm for C-Benevolent weighted Throughput Maximization. The advance notice model.
Assignments will be posted here.
There will 2 or 3 assignments plus a written project and presentation.
All projects need to be approved in advance and I will consider project proposals at any time. The presentations will take place in the last few weeks of the course. The written projects should not no longer than 10 pages. All assignments should be submitted on Markus.
Additional papers/slides will be posted here.
S. Fung 2014 paper on real-time (with revoking) proportional weighted throughput.
Randomized-k-server conjecture is solved for all metric spaces.
Elimination Graphs (i.e., d-inductively independent graphs)..
Probability Primer
Kim Larsen slides for online algorithms
Buchbinder and Naor 2017 monograph on the primal dual method for online algorithms
Boyar et al survey on trusted advice
Mitzenmacher and Vassilvitskii survey on untrusted advice
Gupta and Singla article on the random order model (ROM)