June 11, Dynamic Programming( Weighted Interval Scheduling)
|
|
- Damian Kennedy
- 6 years ago
- Views:
Transcription
1 Dynamic Programming( Weighted Interval Scheduling) June 11, 2014
2 Problem Statement: 1 We have a resource and many people request to use the resource for periods of time (an interval of time) 2 Each interval (request) i has a start time s i and finish time f i 3 Each interval (request) i, has a value v i Conditions: the resource can be used by at most one person at a time. we can accept only compatible intervals (requests) (overlap-free). Goal: a set of compatible intervals (requests) with a maximum total value.
3 What if all the values are the same?
4 What if all the values are the same? We start with the one which has the smallest finish time and add it into our solution and remove the ones that have intersection with it and repeat!
5 1 v 1 = v 2 = 4 v 3 = 4 v 4 = 7 v 5 = 2 v 6 = 1
6 1 v 1 = v 2 = 4 v 3 = 4 v 4 = 7 v 5 = 2 v 6 = 1 1 v 1 = v 2 = 4 v 3 = 4 v 4 = 7 v 5 = 5 v 6 = 1
7 We order the intervals (requests) based on their finishing time (non-increasing order of finishing time) : f 1 f 2 f n
8 We order the intervals (requests) based on their finishing time (non-increasing order of finishing time) : f 1 f 2 f n For every interval j let p(j) be the largest index i < j such that intervals i, j do not overlap. p(j) = 0 if there is no interval before j and disjoint from j.
9 We order the intervals (requests) based on their finishing time (non-increasing order of finishing time) : f 1 f 2 f n For every interval j let p(j) be the largest index i < j such that intervals i, j do not overlap. p(j) = 0 if there is no interval before j and disjoint from j. 1 v 1 = 2 p(1) = v 2 = 4 v 3 = 4 v 4 = 7 v 5 = 2 v 6 = 1 p(2) = 0 p(3) = 0 p(4) = 0 p(5) = 3 p(6) = 4
10 Let OPT (j) be the value of the optimal solution considering only intervals from 1 to j (according to their order).
11 Let OPT (j) be the value of the optimal solution considering only intervals from 1 to j (according to their order). We can write a recursive formula to compute OPT (j), Either interval j is in the optimal solution or j is not in the solution.
12 Let OPT (j) be the value of the optimal solution considering only intervals from 1 to j (according to their order). We can write a recursive formula to compute OPT (j), Either interval j is in the optimal solution or j is not in the solution. Therefore : OPT (j) = max{opt (j 1), v j + OPT (p(j))}
13 Let OPT (j) be the value of the optimal solution considering only intervals from 1 to j (according to their order). We can write a recursive formula to compute OPT (j), Either interval j is in the optimal solution or j is not in the solution. Therefore : OPT (j) = max{opt (j 1), v j + OPT (p(j))} Try not to implement using recursive call because the running time would be exponential! Recursive function is easy to implement but time consuming!
14 Dynamic Programming Iterative-Compute-Opt() 1. M[0] := 0; 2. for j = 1 to n 3. M[j] = max{v j + M[p(j)], M[j 1]}
15 Dynamic Programming Iterative-Compute-Opt() 1. M[0] := 0; 2. for j = 1 to n 3. M[j] = max{v j + M[p(j)], M[j 1]} Find-Solution(j) 1. if j = 0 then return 2. else 3. if (v j + M[p(j)] M[j 1]) 4. print j and print 5. Find-Solution(p(j)) 6. else 7. Find-Solution(j-1)
16 Exercise Problem: Given a weighted acyclic digraph D (weight are on the arcs), find a longest weighted path from source node s to sink node t. Source is the only node that has no incoming arc and sink is the only node that has no out-going arc.
17 1 v 1 = 2 p(1) = v 2 = 4 v 3 = 4 v 4 = 7 v 5 = 2 p(2) = 0 p(3) = 0 p(4) = 0 p(5) = 3 6 v 6 = 1 p(6) = 4
18 Subset Sums and Knapsack Problem Subset Sums (Problem Statement): 1 We are given n items {1, 2,..., n} and each item i has weight w i 2 We are also given a bound W Goal: select a subset S of the items so that : 1 Σ i S w i W 2 Σ i S w i is maximized
19 A greedy approach won t work if it is based on picking the biggest value first. Suppose we have a set {W /2 + 1, W /2, W /2} of items. If we choose W /2 + 1 then we can not choose anything else. However the optimal is W /2 + W /2.
20 A greedy approach won t work if it is based on picking the biggest value first. Suppose we have a set {W /2 + 1, W /2, W /2} of items. If we choose W /2 + 1 then we can not choose anything else. However the optimal is W /2 + W /2. A greedy approach won t work if it is based on picking the smallest value first. Suppose we have a set {1, W /2, W /2} of items. If we choose 1 then we can only choose W /2 and nothing more. However the optimal is W /2 + W /2.
21 A greedy approach won t work if it is based on picking the biggest value first. Suppose we have a set {W /2 + 1, W /2, W /2} of items. If we choose W /2 + 1 then we can not choose anything else. However the optimal is W /2 + W /2. A greedy approach won t work if it is based on picking the smallest value first. Suppose we have a set {1, W /2, W /2} of items. If we choose 1 then we can only choose W /2 and nothing more. However the optimal is W /2 + W /2. Exhaustive search! Produce all the subset and check which one satisfies the constraint ( W ) and has maximum size. Running time O(2 n ).
22 Let OPT [i, w] be the optimal maximum value of a set S {1, 2,..., i} where the total value of the items in S is at most w.
23 Let OPT [i, w] be the optimal maximum value of a set S {1, 2,..., i} where the total value of the items in S is at most w. If w i > w then OPT [i, w] = OPT [i 1, w] otherwise
24 Let OPT [i, w] be the optimal maximum value of a set S {1, 2,..., i} where the total value of the items in S is at most w. If w i > w then OPT [i, w] = OPT [i 1, w] otherwise OPT [i, w] = max{opt [i 1, w], w i + OPT [i 1, w w i ]}
25 Subset-Sum(n,W) 1. Array M[0,.., n, 0,.., W ] 2. for ( i = 1 to W ) M[0, i] = 0 3. for ( i = 1 to n ) 4. for ( w = 1 to W ) 5. if (w < w i ) then M[i, w] = M[i 1, w] 6. else 7. if (w i + M[i 1, w w i ] > M[i 1, w]) 8. M[i, w] = w i + M[i 1, w w i ] 9. else M[i, w] = M[i 1, w]
26 Subset-Sum(n,W) 1. Array M[0,.., n, 0,.., W ] 2. for ( i = 1 to W ) M[0, i] = 0 3. for ( i = 1 to n ) 4. for ( w = 1 to W ) 5. if (w < w i ) then M[i, w] = M[i 1, w] 6. else 7. if (w i + M[i 1, w w i ] > M[i 1, w]) 8. M[i, w] = w i + M[i 1, w w i ] 9. else M[i, w] = M[i 1, w] Time complexity O(nW )
27 Exercise Suppose W = 6 and n = 3 and the items of sizes w 1 = w 2 = 2 and w 3 = 3. Fill out matrix M.
28 Problem : We are given n jobs {J 1, J 2,..., J n } where each J i has a processing time p i > 0 ( an integer). We have two identical machines M 1, M 2 and we want to execute all the jobs. Schedule the jobs so that the finish time is minimized.
29 Knapsack Problem Knapsack Problem : 1 We are given n items {1, 2,..., n} and each item i has weight w i 2 Each item has value v i 3 We are also given a bound W Goal: select a subset S of the items so that : 1 Σ i S w i W 2 Σ i S v i is maximized
30 Let OPT [i, w] be the optimal maximum value of a set S {1, 2,..., i} where the total value of the items in S is at most w.
31 Let OPT [i, w] be the optimal maximum value of a set S {1, 2,..., i} where the total value of the items in S is at most w. If w i > w then OPT [i, w] = OPT [i 1, w] otherwise
32 Let OPT [i, w] be the optimal maximum value of a set S {1, 2,..., i} where the total value of the items in S is at most w. If w i > w then OPT [i, w] = OPT [i 1, w] otherwise OPT [i, w] = max{opt [i 1, w], v i + OPT [i 1, w w i ]}
IEOR E4004: Introduction to OR: Deterministic Models
IEOR E4004: Introduction to OR: Deterministic Models 1 Dynamic Programming Following is a summary of the problems we discussed in class. (We do not include the discussion on the container problem or the
More informationLecture 10: The knapsack problem
Optimization Methods in Finance (EPFL, Fall 2010) Lecture 10: The knapsack problem 24.11.2010 Lecturer: Prof. Friedrich Eisenbrand Scribe: Anu Harjula The knapsack problem The Knapsack problem is a problem
More informationCSE 417 Dynamic Programming (pt 2) Look at the Last Element
CSE 417 Dynamic Programming (pt 2) Look at the Last Element Reminders > HW4 is due on Friday start early! if you run into problems loading data (date parsing), try running java with Duser.country=US Duser.language=en
More information2. This algorithm does not solve the problem of finding a maximum cardinality set of non-overlapping intervals. Consider the following intervals:
1. No solution. 2. This algorithm does not solve the problem of finding a maximum cardinality set of non-overlapping intervals. Consider the following intervals: E A B C D Obviously, the optimal solution
More informationCSE202: Algorithm Design and Analysis. Ragesh Jaiswal, CSE, UCSD
Fractional knapsack Problem Fractional knapsack: You are a thief and you have a sack of size W. There are n divisible items. Each item i has a volume W (i) and a total value V (i). Design an algorithm
More informationHomework #4. CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class
Homework #4 CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class o Grades depend on neatness and clarity. o Write your answers with enough detail about your approach and concepts
More informationAdvanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras
Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture 21 Successive Shortest Path Problem In this lecture, we continue our discussion
More informationOn the Optimality of a Family of Binary Trees Techical Report TR
On the Optimality of a Family of Binary Trees Techical Report TR-011101-1 Dana Vrajitoru and William Knight Indiana University South Bend Department of Computer and Information Sciences Abstract In this
More informationOptimization Methods. Lecture 16: Dynamic Programming
15.093 Optimization Methods Lecture 16: Dynamic Programming 1 Outline 1. The knapsack problem Slide 1. The traveling salesman problem 3. The general DP framework 4. Bellman equation 5. Optimal inventory
More informationEssays on Some Combinatorial Optimization Problems with Interval Data
Essays on Some Combinatorial Optimization Problems with Interval Data a thesis submitted to the department of industrial engineering and the institute of engineering and sciences of bilkent university
More information0/1 knapsack problem knapsack problem
1 (1) 0/1 knapsack problem. A thief robbing a safe finds it filled with N types of items of varying size and value, but has only a small knapsack of capacity M to use to carry the goods. More precisely,
More informationUNIT 2. Greedy Method GENERAL METHOD
UNIT 2 GENERAL METHOD Greedy Method Greedy is the most straight forward design technique. Most of the problems have n inputs and require us to obtain a subset that satisfies some constraints. Any subset
More informationCS360 Homework 14 Solution
CS360 Homework 14 Solution Markov Decision Processes 1) Invent a simple Markov decision process (MDP) with the following properties: a) it has a goal state, b) its immediate action costs are all positive,
More informationDynamic Programming cont. We repeat: The Dynamic Programming Template has three parts.
Page 1 Dynamic Programming cont. We repeat: The Dynamic Programming Template has three parts. Subproblems Sometimes this is enough if the algorithm and its complexity is obvious. Recursion Algorithm Must
More informationProblem Set 2: Answers
Economics 623 J.R.Walker Page 1 Problem Set 2: Answers The problem set came from Michael A. Trick, Senior Associate Dean, Education and Professor Tepper School of Business, Carnegie Mellon University.
More informationIssues. Senate (Total = 100) Senate Group 1 Y Y N N Y 32 Senate Group 2 Y Y D N D 16 Senate Group 3 N N Y Y Y 30 Senate Group 4 D Y N D Y 22
1. Every year, the United States Congress must approve a budget for the country. In order to be approved, the budget must get a majority of the votes in the Senate, a majority of votes in the House, and
More informationWhat is Greedy Approach? Control abstraction for Greedy Method. Three important activities
0-0-07 What is Greedy Approach? Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each decision is locally optimal. These locally optimal solutions will finally
More informationDynamic Programming: An overview. 1 Preliminaries: The basic principle underlying dynamic programming
Dynamic Programming: An overview These notes summarize some key properties of the Dynamic Programming principle to optimize a function or cost that depends on an interval or stages. This plays a key role
More informationFor every job, the start time on machine j+1 is greater than or equal to the completion time on machine j.
Flow Shop Scheduling - makespan A flow shop is one where all the jobs visit all the machine for processing in the given order. If we consider a flow shop with n jobs and two machines (M1 and M2), all the
More informationCMPSCI 311: Introduction to Algorithms Second Midterm Practice Exam SOLUTIONS
CMPSCI 311: Introduction to Algorithms Second Midterm Practice Exam SOLUTIONS November 17, 2016. Name: ID: Instructions: Answer the questions directly on the exam pages. Show all your work for each question.
More informationA DNC function that computes no effectively bi-immune set
A DNC function that computes no effectively bi-immune set Achilles A. Beros Laboratoire d Informatique de Nantes Atlantique, Université de Nantes July 5, 204 Standard Definitions Definition f is diagonally
More informationProgramming for Engineers in Python
Programming for Engineers in Python Lecture 12: Dynamic Programming Autumn 2011-12 1 Lecture 11: Highlights GUI (Based on slides from the course Software1, CS, TAU) GUI in Python (Based on Chapter 19 from
More informationBest counterstrategy for C
Best counterstrategy for C In the previous lecture we saw that if R plays a particular mixed strategy and shows no intention of changing it, the expected payoff for R (and hence C) varies as C varies her
More information1 Shapley-Shubik Model
1 Shapley-Shubik Model There is a set of buyers B and a set of sellers S each selling one unit of a good (could be divisible or not). Let v ij 0 be the monetary value that buyer j B assigns to seller i
More informationDesign and Analysis of Algorithms 演算法設計與分析. Lecture 8 November 16, 2016 洪國寶
Design and Analysis of Algorithms 演算法設計與分析 Lecture 8 November 6, 206 洪國寶 Outline Review Amortized analysis Advanced data structures Binary heaps Binomial heaps Fibonacci heaps Data structures for disjoint
More informationIntroduction to Dynamic Programming
Introduction to Dynamic Programming http://bicmr.pku.edu.cn/~wenzw/bigdata2018.html Acknowledgement: this slides is based on Prof. Mengdi Wang s and Prof. Dimitri Bertsekas lecture notes Outline 2/65 1
More informationBidding Languages. Noam Nissan. October 18, Shahram Esmaeilsabzali. Presenter:
Bidding Languages Noam Nissan October 18, 2004 Presenter: Shahram Esmaeilsabzali Outline 1 Outline The Problem 1 Outline The Problem Some Bidding Languages(OR, XOR, and etc) 1 Outline The Problem Some
More informationSlides credited from Hsu-Chun Hsiao
Slides credited from Hsu-Chun Hsiao Greedy Algorithms Greedy #1: Activity-Selection / Interval Scheduling Greedy #2: Coin Changing Greedy #3: Fractional Knapsack Problem Greedy #4: Breakpoint Selection
More informationDeterministic Dynamic Programming
Deterministic Dynamic Programming Dynamic programming is a technique that can be used to solve many optimization problems. In most applications, dynamic programming obtains solutions by working backward
More informationECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games
University of Illinois Fall 2018 ECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games Due: Tuesday, Sept. 11, at beginning of class Reading: Course notes, Sections 1.1-1.4 1. [A random
More informationChapter 15: Dynamic Programming
Chapter 15: Dynamic Programming Dynamic programming is a general approach to making a sequence of interrelated decisions in an optimum way. While we can describe the general characteristics, the details
More informationInformation Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay
Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 15 Adaptive Huffman Coding Part I Huffman code are optimal for a
More informationHandout 4: Deterministic Systems and the Shortest Path Problem
SEEM 3470: Dynamic Optimization and Applications 2013 14 Second Term Handout 4: Deterministic Systems and the Shortest Path Problem Instructor: Shiqian Ma January 27, 2014 Suggested Reading: Bertsekas
More informationOptimization Methods in Management Science
Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 6, Due: Thursday April 11th, 2013 1. Each student should hand in an individual problem set. 2. Discussing
More information1) S = {s}; 2) for each u V {s} do 3) dist[u] = cost(s, u); 4) Insert u into a 2-3 tree Q with dist[u] as the key; 5) for i = 1 to n 1 do 6) Identify
CSE 3500 Algorithms and Complexity Fall 2016 Lecture 17: October 25, 2016 Dijkstra s Algorithm Dijkstra s algorithm for the SSSP problem generates the shortest paths in nondecreasing order of the shortest
More informationReal Options and Game Theory in Incomplete Markets
Real Options and Game Theory in Incomplete Markets M. Grasselli Mathematics and Statistics McMaster University IMPA - June 28, 2006 Strategic Decision Making Suppose we want to assign monetary values to
More informationProject Management Chapter 13
Lecture 12 Project Management Chapter 13 Introduction n Managing large-scale, complicated projects effectively is a difficult problem and the stakes are high. n The first step in planning and scheduling
More informationMaximum Contiguous Subsequences
Chapter 8 Maximum Contiguous Subsequences In this chapter, we consider a well-know problem and apply the algorithm-design techniques that we have learned thus far to this problem. While applying these
More informationChapter 1. Introduction: Some Representative Problems. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 1 Introduction: Some Representative Problems Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Understanding the Solution Initialize each person to be free. while
More informationIntroduction to Real-Time Systems. Note: Slides are adopted from Lui Sha and Marco Caccamo
Introduction to Real-Time Systems Note: Slides are adopted from Lui Sha and Marco Caccamo 1 Recap Schedulability analysis - Determine whether a given real-time taskset is schedulable or not L&L least upper
More informationuseful than solving these yourself, writing up your solution and then either comparing your
CSE 441T/541T: Advanced Algorithms Fall Semester, 2003 September 9, 2004 Practice Problems Solutions Here are the solutions for the practice problems. However, reading these is far less useful than solving
More informationTug of War Game. William Gasarch and Nick Sovich and Paul Zimand. October 6, Abstract
Tug of War Game William Gasarch and ick Sovich and Paul Zimand October 6, 2009 To be written later Abstract Introduction Combinatorial games under auction play, introduced by Lazarus, Loeb, Propp, Stromquist,
More informationGame Theory Fall 2003
Game Theory Fall 2003 Problem Set 5 [1] Consider an infinitely repeated game with a finite number of actions for each player and a common discount factor δ. Prove that if δ is close enough to zero then
More informationOption Models for Bonds and Interest Rate Claims
Option Models for Bonds and Interest Rate Claims Peter Ritchken 1 Learning Objectives We want to be able to price any fixed income derivative product using a binomial lattice. When we use the lattice to
More informationSubject : Computer Science. Paper: Machine Learning. Module: Decision Theory and Bayesian Decision Theory. Module No: CS/ML/10.
e-pg Pathshala Subject : Computer Science Paper: Machine Learning Module: Decision Theory and Bayesian Decision Theory Module No: CS/ML/0 Quadrant I e-text Welcome to the e-pg Pathshala Lecture Series
More informationMonash University School of Information Management and Systems IMS3001 Business Intelligence Systems Semester 1, 2004.
Exercise 7 1 : Decision Trees Monash University School of Information Management and Systems IMS3001 Business Intelligence Systems Semester 1, 2004 Tutorial Week 9 Purpose: This exercise is aimed at assisting
More informationMS-E2114 Investment Science Lecture 4: Applied interest rate analysis
MS-E2114 Investment Science Lecture 4: Applied interest rate analysis A. Salo, T. Seeve Systems Analysis Laboratory Department of System Analysis and Mathematics Aalto University, School of Science Overview
More informationLecture l(x) 1. (1) x X
Lecture 14 Agenda for the lecture Kraft s inequality Shannon codes The relation H(X) L u (X) = L p (X) H(X) + 1 14.1 Kraft s inequality While the definition of prefix-free codes is intuitively clear, we
More informationProblem Set 7. Problem 7-1.
Introduction to Algorithms: 6.006 Massachusetts Institute of Technology November 22, 2011 Professors Erik Demaine and Srini Devadas Problem Set 7 Problem Set 7 Both theory and programming questions are
More informationPARELLIZATION OF DIJKSTRA S ALGORITHM: COMPARISON OF VARIOUS PRIORITY QUEUES
PARELLIZATION OF DIJKSTRA S ALGORITHM: COMPARISON OF VARIOUS PRIORITY QUEUES WIKTOR JAKUBIUK, KESHAV PURANMALKA 1. Introduction Dijkstra s algorithm solves the single-sourced shorest path problem on a
More informationMarkov Decision Processes: Making Decision in the Presence of Uncertainty. (some of) R&N R&N
Markov Decision Processes: Making Decision in the Presence of Uncertainty (some of) R&N 16.1-16.6 R&N 17.1-17.4 Different Aspects of Machine Learning Supervised learning Classification - concept learning
More informationThe Complexity of Simple and Optimal Deterministic Mechanisms for an Additive Buyer. Xi Chen, George Matikas, Dimitris Paparas, Mihalis Yannakakis
The Complexity of Simple and Optimal Deterministic Mechanisms for an Additive Buyer Xi Chen, George Matikas, Dimitris Paparas, Mihalis Yannakakis Seller has n items for sale The Set-up Seller has n items
More informationCS224W: Social and Information Network Analysis Jure Leskovec, Stanford University
CS224W: Social and Information Network Analysis Jure Leskovec, Stanford University http://cs224w.stanford.edu 10/27/16 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis, http://cs224w.stanford.edu
More information56:171 Operations Research Midterm Exam Solutions Fall 1994
56:171 Operations Research Midterm Exam Solutions Fall 1994 Possible Score A. True/False & Multiple Choice 30 B. Sensitivity analysis (LINDO) 20 C.1. Transportation 15 C.2. Decision Tree 15 C.3. Simplex
More informationThe exam is closed book, closed calculator, and closed notes except your three crib sheets.
CS 188 Spring 2016 Introduction to Artificial Intelligence Final V2 You have approximately 2 hours and 50 minutes. The exam is closed book, closed calculator, and closed notes except your three crib sheets.
More informationLecture 17: More on Markov Decision Processes. Reinforcement learning
Lecture 17: More on Markov Decision Processes. Reinforcement learning Learning a model: maximum likelihood Learning a value function directly Monte Carlo Temporal-difference (TD) learning COMP-424, Lecture
More informationFUNCIONAMIENTO DEL ALGORITMO DEL PCR: EUPHEMIA
FUNCIONAMIENTO DEL ALGORITMO DEL PCR: EUPHEMIA 09-04-2013 INTRODUCTION PCR can have two functions: For Power Exchanges: Most competitive price will arise & Overall welfare increases Isolated Markets Price
More informationBounding Optimal Expected Revenues for Assortment Optimization under Mixtures of Multinomial Logits
Bounding Optimal Expected Revenues for Assortment Optimization under Mixtures of Multinomial Logits Jacob Feldman School of Operations Research and Information Engineering, Cornell University, Ithaca,
More informationThe Process of Modeling
Session #3 Page 1 The Process of Modeling Plan Visualize where you want to finish Do some calculations by hand Sketch out a spreadsheet Build Start with a small-scale model Expand the model to full scale
More informationProblem 1 Food Manufacturing. The final product sells for $150 per ton.
Problem 1 Food Manufacturing A food is manufactured by refining raw oils and blending them together. The raw oils come in two categories, and can be bought for the following prices per ton: vegetable oils
More informationChapter 2 Linear programming... 2 Chapter 3 Simplex... 4 Chapter 4 Sensitivity Analysis and duality... 5 Chapter 5 Network... 8 Chapter 6 Integer
目录 Chapter 2 Linear programming... 2 Chapter 3 Simplex... 4 Chapter 4 Sensitivity Analysis and duality... 5 Chapter 5 Network... 8 Chapter 6 Integer Programming... 10 Chapter 7 Nonlinear Programming...
More informationLecture 6. 1 Polynomial-time algorithms for the global min-cut problem
ORIE 633 Network Flows September 20, 2007 Lecturer: David P. Williamson Lecture 6 Scribe: Animashree Anandkumar 1 Polynomial-time algorithms for the global min-cut problem 1.1 The global min-cut problem
More informationIntroduction to Operations Research
Introduction to Operations Research Unit 1: Linear Programming Terminology and formulations LP through an example Terminology Additional Example 1 Additional example 2 A shop can make two types of sweets
More informationComputational Aspects of Prediction Markets
Computational Aspects of Prediction Markets David M. Pennock, Yahoo! Research Yiling Chen, Lance Fortnow, Joe Kilian, Evdokia Nikolova, Rahul Sami, Michael Wellman Mech Design for Prediction Q: Will there
More informationAn Algorithm for Distributing Coalitional Value Calculations among Cooperating Agents
An Algorithm for Distributing Coalitional Value Calculations among Cooperating Agents Talal Rahwan and Nicholas R. Jennings School of Electronics and Computer Science, University of Southampton, Southampton
More information56:171 Operations Research Midterm Exam Solutions October 19, 1994
56:171 Operations Research Midterm Exam Solutions October 19, 1994 Possible Score A. True/False & Multiple Choice 30 B. Sensitivity analysis (LINDO) 20 C.1. Transportation 15 C.2. Decision Tree 15 C.3.
More informationLecture outline W.B.Powell 1
Lecture outline What is a policy? Policy function approximations (PFAs) Cost function approximations (CFAs) alue function approximations (FAs) Lookahead policies Finding good policies Optimizing continuous
More informationAdvanced Operations Research Prof. G. Srinivasan Dept of Management Studies Indian Institute of Technology, Madras
Advanced Operations Research Prof. G. Srinivasan Dept of Management Studies Indian Institute of Technology, Madras Lecture 23 Minimum Cost Flow Problem In this lecture, we will discuss the minimum cost
More informationChapter wise Question bank
GOVERNMENT ENGINEERING COLLEGE - MODASA Chapter wise Question bank Subject Name Analysis and Design of Algorithm Semester Department 5 th Term ODD 2015 Information Technology / Computer Engineering Chapter
More informationSET 1C Binary Trees. 2. (i) Define the height of a binary tree or subtree and also define a height balanced (AVL) tree. (2)
SET 1C Binary Trees 1. Construct a binary tree whose preorder traversal is K L N M P R Q S T and inorder traversal is N L K P R M S Q T 2. (i) Define the height of a binary tree or subtree and also define
More informationSOLVING ROBUST SUPPLY CHAIN PROBLEMS
SOLVING ROBUST SUPPLY CHAIN PROBLEMS Daniel Bienstock Nuri Sercan Özbay Columbia University, New York November 13, 2005 Project with Lucent Technologies Optimize the inventory buffer levels in a complicated
More informationCS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 6: Prior-Free Single-Parameter Mechanism Design (Continued)
CS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 6: Prior-Free Single-Parameter Mechanism Design (Continued) Instructor: Shaddin Dughmi Administrivia Homework 1 due today. Homework 2 out
More informationDM559/DM545 Linear and integer programming
Department of Mathematics and Computer Science University of Southern Denmark, Odense May 22, 2018 Marco Chiarandini DM559/DM55 Linear and integer programming Sheet, Spring 2018 [pdf format] Contains Solutions!
More informationProject Planning. Jesper Larsen. Department of Management Engineering Technical University of Denmark
Project Planning jesla@man.dtu.dk Department of Management Engineering Technical University of Denmark 1 Project Management Project Management is a set of techniques that helps management manage large-scale
More informationCPS 270: Artificial Intelligence Markov decision processes, POMDPs
CPS 270: Artificial Intelligence http://www.cs.duke.edu/courses/fall08/cps270/ Markov decision processes, POMDPs Instructor: Vincent Conitzer Warmup: a Markov process with rewards We derive some reward
More informationComputing Unsatisfiable k-sat Instances with Few Occurrences per Variable
Computing Unsatisfiable k-sat Instances with Few Occurrences per Variable Shlomo Hoory and Stefan Szeider Abstract (k, s)-sat is the propositional satisfiability problem restricted to instances where each
More informationMartingales. by D. Cox December 2, 2009
Martingales by D. Cox December 2, 2009 1 Stochastic Processes. Definition 1.1 Let T be an arbitrary index set. A stochastic process indexed by T is a family of random variables (X t : t T) defined on a
More informationLecture 7: Bayesian approach to MAB - Gittins index
Advanced Topics in Machine Learning and Algorithmic Game Theory Lecture 7: Bayesian approach to MAB - Gittins index Lecturer: Yishay Mansour Scribe: Mariano Schain 7.1 Introduction In the Bayesian approach
More informationCS221 / Spring 2018 / Sadigh. Lecture 9: Games I
CS221 / Spring 2018 / Sadigh Lecture 9: Games I Course plan Search problems Markov decision processes Adversarial games Constraint satisfaction problems Bayesian networks Reflex States Variables Logic
More informationGame Theory Problem Set 4 Solutions
Game Theory Problem Set 4 Solutions 1. Assuming that in the case of a tie, the object goes to person 1, the best response correspondences for a two person first price auction are: { }, < v1 undefined,
More informationCS 188 Fall Introduction to Artificial Intelligence Midterm 1
CS 188 Fall 2018 Introduction to Artificial Intelligence Midterm 1 You have 120 minutes. The time will be projected at the front of the room. You may not leave during the last 10 minutes of the exam. Do
More informationIteration. The Cake Eating Problem. Discount Factors
18 Value Function Iteration Lab Objective: Many questions have optimal answers that change over time. Sequential decision making problems are among this classification. In this lab you we learn how to
More informationLesson 16: Saving for a Rainy Day
Opening Exercise Mr. Scherer wanted to show his students a visual display of simple and compound interest using Skittles TM. 1. Two scenes of his video (at https://www.youtube.com/watch?v=dqp9l4f3zyc)
More informationLecture 9: Games I. Course plan. A simple game. Roadmap. Machine learning. Example: game 1
Lecture 9: Games I Course plan Search problems Markov decision processes Adversarial games Constraint satisfaction problems Bayesian networks Reflex States Variables Logic Low-level intelligence Machine
More informationOnline Shopping Intermediaries: The Strategic Design of Search Environments
Online Supplemental Appendix to Online Shopping Intermediaries: The Strategic Design of Search Environments Anthony Dukes University of Southern California Lin Liu University of Central Florida February
More informationSublinear Time Algorithms Oct 19, Lecture 1
0368.416701 Sublinear Time Algorithms Oct 19, 2009 Lecturer: Ronitt Rubinfeld Lecture 1 Scribe: Daniel Shahaf 1 Sublinear-time algorithms: motivation Twenty years ago, there was practically no investigation
More informationRecharging Bandits. Joint work with Nicole Immorlica.
Recharging Bandits Bobby Kleinberg Cornell University Joint work with Nicole Immorlica. NYU Machine Learning Seminar New York, NY 24 Oct 2017 Prologue Can you construct a dinner schedule that: never goes
More informationConfidence Intervals for the Difference Between Two Means with Tolerance Probability
Chapter 47 Confidence Intervals for the Difference Between Two Means with Tolerance Probability Introduction This procedure calculates the sample size necessary to achieve a specified distance from the
More informationAssortment Optimization Over Time
Assortment Optimization Over Time James M. Davis Huseyin Topaloglu David P. Williamson Abstract In this note, we introduce the problem of assortment optimization over time. In this problem, we have a sequence
More informationNotes on the symmetric group
Notes on the symmetric group 1 Computations in the symmetric group Recall that, given a set X, the set S X of all bijections from X to itself (or, more briefly, permutations of X) is group under function
More informationLecture 11: Bandits with Knapsacks
CMSC 858G: Bandits, Experts and Games 11/14/16 Lecture 11: Bandits with Knapsacks Instructor: Alex Slivkins Scribed by: Mahsa Derakhshan 1 Motivating Example: Dynamic Pricing The basic version of the dynamic
More information1 Online Problem Examples
Comp 260: Advanced Algorithms Tufts University, Spring 2018 Prof. Lenore Cowen Scribe: Isaiah Mindich Lecture 9: Online Algorithms All of the algorithms we have studied so far operate on the assumption
More informationComputing Unsatisfiable k-sat Instances with Few Occurrences per Variable
Computing Unsatisfiable k-sat Instances with Few Occurrences per Variable Shlomo Hoory and Stefan Szeider Department of Computer Science, University of Toronto, shlomoh,szeider@cs.toronto.edu Abstract.
More informationCE 191: Civil and Environmental Engineering Systems Analysis. LEC 15 : DP Examples
CE 191: Civil and Environmental Engineering Systems Analysis LEC 15 : DP Examples Professor Scott Moura Civil & Environmental Engineering University of California, Berkeley Fall 2014 Prof. Moura UC Berkeley
More informationSubmodular Minimisation using Graph Cuts
Submodular Minimisation using Graph Cuts Pankaj Pansari 18 April, 2016 1 Overview Graph construction to minimise special class of submodular functions For this special class, submodular minimisation translates
More informationDay 3. Myerson: What s Optimal
Day 3. Myerson: What s Optimal 1 Recap Last time, we... Set up the Myerson auction environment: n risk-neutral bidders independent types t i F i with support [, b i ] and density f i residual valuation
More informationAlgorithmic Game Theory and Applications. Lecture 11: Games of Perfect Information
Algorithmic Game Theory and Applications Lecture 11: Games of Perfect Information Kousha Etessami finite games of perfect information Recall, a perfect information (PI) game has only 1 node per information
More informationChapter 8 Statistical Intervals for a Single Sample
Chapter 8 Statistical Intervals for a Single Sample Part 1: Confidence intervals (CI) for population mean µ Section 8-1: CI for µ when σ 2 known & drawing from normal distribution Section 8-1.2: Sample
More informationFamily Vacation. c 1 = c n = 0. w: maximum number of miles the family may drive each day.
II-0 Family Vacation Set of cities denoted by P 1, P 2,..., P n. d i : Distance from P i 1 to P i (1 < i n). d 1 = 0 c i : Cost of dinner, lodging and breakfast when staying at city P i (1 < i < n). c
More informationStochastic Dual Dynamic Programming
1 / 43 Stochastic Dual Dynamic Programming Operations Research Anthony Papavasiliou 2 / 43 Contents [ 10.4 of BL], [Pereira, 1991] 1 Recalling the Nested L-Shaped Decomposition 2 Drawbacks of Nested Decomposition
More information