Lecture 36 CSE 331 Nov 30, 2016.

Slides:



Advertisements
Similar presentations
Single Source Shortest Paths
Advertisements

Lecture 38 CSE 331 Dec 7, The last few days Today: Solutions to HW 9 (end of lecture) Wednesday: Graded HW 9 (?), Sample final, Blog post on the.
Lecture 37 CSE 331 Nov 4, Homework stuff (Last!) HW 10 at the end of the lecture Solutions to HW 9 on Monday Graded HW 9 on.
Lecture 38 CSE 331 Dec 3, A new grading proposal Towards your final score in the course MAX ( mid-term as 25%+ finals as 40%, finals as 65%) .
Lecture 39 CSE 331 Dec 6, On Friday, Dec 10 hours-a-thon Atri: 2:00-3:30 (Bell 123) Jeff: 4:00-5:00 (Bell 224) Alex: 5:00-6:30 (Bell 242)
Lecture 36 CSE 331 Dec 2, Graded HW 8 END of the lecture.
Lecture 34 CSE 331 Nov 30, Graded HW 8 On Wednesday.
Lecture 27 CSE 331 Nov 3, Combining groups Groups can unofficially combine in the lectures.
Lecture 37 CSE 331 Dec 1, A new grading proposal Towards your final score in the course MAX ( mid-term as 25%+ finals as 40%, finals as 65%) .
Lecture 39 CSE 331 Dec 9, Announcements Please fill in the online feedback form Sample final has been posted Graded HW 9 on Friday.
Lecture 22 CSE 331 Oct 26, Blog posts Please sign up if you have not If I have a pick a blogger I will only pick ONE/lecture Will lose out on 5%
Lecture 38 CSE 331 Dec 2, Review Sessions etc. Atri: (at least ½ of) class next Friday Jiun-Jie: Extra office hour next Friday Jesse: Review Session.
Lecture 38 CSE 331 Dec 5, OHs today (only online 9:30-11)
Lecture 33 CSE 331 Nov 20, HW 8 due today Place Q1, Q2 and Q3 in separate piles I will not accept HWs after 1:15pm Submit your HWs to the side of.
Lecture 32 CSE 331 Nov 16, 2016.
Lecture 13 Shortest Path.
Lecture 31 CSE 331 Nov 14, 2016.
Lecture 23 CSE 331 Oct 26, 2016.
Lecture 31 CSE 331 Nov 13, 2017.
Lecture 34 CSE 331 Nov 26, 2012.
Data Structures and Algorithms
Lecture 34 CSE 331 Nov 26, 2012.
Lecture 21 CSE 331 Oct 21, 2016.
Lecture 24 CSE 331 Oct 28, 2016.
Lecture 24 CSE 331 Oct 27, 2017.
Lecture 36 CSE 331 Nov 29, 2017.
Lecture 21 CSE 331 Oct 20, 2017.
Lecture 35 CSE 331 Nov 27, 2017.
Lecture 34 CSE 331 Nov 20, 2017.
Lecture 33 CSE 331 Nov 18, 2016.
Lecture 33 CSE 331 Nov 17, 2017.
Lecture 35 CSE 331 Nov 28, 2016.
Lecture 37 CSE 331 Dec 1, 2017.
Lecture 24 CSE 331 Oct 25, 2013.
Richard Anderson Lecture 28 Coping with NP-Completeness
Lecture 22 CSE 331 Oct 23, 2017.
Lecture 23 CSE 331 Oct 25, 2017.
Lecture 24 CSE 331 Oct 29, 2012.
Lecture 23 CSE 331 Oct 24, 2011.
Lecture 26 CSE 331 Nov 2, 2012.
Lecture 22 CSE 331 Oct 24, 2016.
Autumn 2015 Lecture 10 Minimum Spanning Trees
Richard Anderson Lecture 16a Dynamic Programming
Lecture 37 CSE 331 Nov 30, 2011.
Lecture 32 CSE 331 Nov 15, 2017.
Lecture 33 CSE 331 Nov 14, 2014.
Lecture 25 CSE 331 Oct 27, 2014.
Lecture 33 CSE 331 Nov 15, 2013.
Lecture 34 CSE 331 Nov 18, 2011.
Lecture 34 CSE 331 Nov 21, 2016.
Lecture 22 CSE 331 Oct 15, 2014.
Lecture 14 Shortest Path (cont’d) Minimum Spanning Tree
Lecture 20 CSE 331 Oct 13, 2017.
Lecture 24 CSE 331 Oct 24, 2014.
Lecture 36 CSE 331 Nov 28, 2011.
Lecture 36 CSE 331 Nov 30, 2012.
Lecture 37 CSE 331 Dec 2, 2016.
Lecture 11 CSE 331 Sep 21, 2017.
Autumn 2016 Lecture 10 Minimum Spanning Trees
Lecture 23 CSE 331 Oct 24, 2011.
Richard Anderson Lecture 27 Survey of NP Complete Problems
Lecture 26 CSE 331 Nov 1, 2010.
Lecture 25 CSE 331 Oct 28, 2011.
Lecture 32 CSE 331 Nov 12, 2014.
Richard Anderson Lecture 20 Shortest Paths and Network Flow
Winter 2019 Lecture 10 Minimum Spanning Trees
Lecture 13 Shortest Path (cont’d) Minimum Spanning Tree
Lecture 36 CSE 331 Nov 22, 2013.
Lecture 37 CSE 331 Dec 3, 2018.
Lecture 24 CSE 331 Oct 29, 2018.
Presentation transcript:

Lecture 36 CSE 331 Nov 30, 2016

Quiz 2 on Monday

Official Feedback forms

We need volunteers!

Scheduling to min idle cycles n jobs, ith job takes wi cycles You have W cycles on the cloud What is the maximum number of jobs you can schedule?

When to use Dynamic Programming O(nW) runtime There are polynomially many sub-problems OPT(j,W’) 0 ≤ j ≤ n, 0 ≤ W’ ≤ W Richard Bellman Optimal solution can be computed from solutions to sub-problems OPT(j, W’) = … There is an ordering among sub-problem that allows for iterative solution OPT (j,W’) only depends on OPT(j-1, 0), …, OPT(j-1,W)

Is O(nW) polynomial time? Pseudo-polynomial n jobs, ith job takes wi cycles You have W cycles on the cloud log W bits needed What is the maximum number of jobs you can schedule?

Shortest Path Problem Input: (Directed) Graph G=(V,E) and for every edge e has a cost ce (can be <0) t in V Output: Shortest path from every s to t Assume that G has no negative cycle 1 100 -1000 899 s t Shortest path has cost negative infinity

Today’s agenda Dynamic Program for shortest path

May the Bellman force be with you