
























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
[Week 1] Design and Analysis and Algorithms, Stable Match Making
Typology: Lecture notes
1 / 64
This page cannot be seen from the preview
Don't miss anything!

























































1
2
Reference book: Algorithm Design by J. Kleinberg and E. Tardos Addison-Wesley
Introduction to Algorithms By Thomas H. Cormen Outline: 12 lectures 3 assignments 3 quizzes Final Exam
Tutorials:
12 tutorials (immediately after each lecture)
4
Progressive Marks - 40% Quizzes 20% Assignments 20%
Final Exam - 60% (minimum 40% required to pass)
e.g. Progressive Mark = 80% Exam Mark = 50%
Final mark = (80 x 0.4 + 50 x 0.6) = 62
5
Assessment Due Time/Date
Quiz 1 7:00PM Fri 22 March 2019 (Week 4) Assignment 1 11:00PM Fri 22 March 2019
Quiz 2 7:00PM Fri 12 April 2019 (Week 7) Assignment 2 11:00PM Fri 12 April 2019
Quiz 3 7:00PM Fri 24 May 2019 (Week 12) Assignment 3 11:00PM Fri 24 May 2019
7
› Introduction - Julián Mestre
› Lecture break / discussion Lecture
› We will post solutions to the tutorials.
8
COMP9007: Algorithms
Algorithms then, and now
Wikipedia: The word 'algorithm' is a
combination of the Latin word algorismus,
named after Muhammad ibn Musa al-
Khwarizmi and the Greek word arithmos, i.e.
αριθμός, meaning "number".
Abacus
In 2003 there were examples of problems that we can solve 43 million times faster than in 1988
− This is because of better hardware and better algorithms
In 1988
− Intel 386 and 386SX
About 275,000 transistors clock speeds of 16MHz, 20MHz, 25MHz, and 33MHz − MSDOS 4.0 and windows 2.
− VGA
In 2003
− Pentium M
About 140 million transistors Up to 2.2 GHz − AMD Athlon 64
− Windows XP
In 2003 there were examples of problems that we can solve 43 million times faster than in 1988
− This is because of better hardware and better algorithms
− Low polynomial time algorithms behave well
− Exponential running times are infeasible except for very small instances, or carefully designed algorithms
− Hardware − Software − Algorithm − Implementation of the algorithm
Efficient algorithms “do the job” the way you want them to...
− Do you need the exact solution?
− Are you dealing with some special case and not with a general problem?
− Is it ok if you miss the right solution sometimes?
19
20