1 Class Constrained Packing We need to pack items into bins. All the bins have the same capacity. Each bin can accommodate items from a bounded number.

Slides:



Advertisements
Similar presentations
1D Bin Packing (or “CP? Who cares?”)
Advertisements

Class-constrained Resource Allocation Problems Tami Tamir Thesis advisor: Hadas Shachnai.
Tight Bounds for Online Class- constrained Packing Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir The Technion IIT.
Algorithm Design Methods (I) Fall 2003 CSE, POSTECH.
Algorithm Design Methods Spring 2007 CSE, POSTECH.
Bin Packing First fit decreasing algorithm
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Undirected: Optic Fiber.
Optical networks: Basics of WDM
 Review: The Greedy Method
Class-constrained Packing Problems with Application to Storage Management in Multimedia Systems Tami Tamir Department of Computer Science The Technion.
Exercise 1.1(Paid Exchanges Necessary) Consider the three-element list with the following initial configuration: (i.e. x1 is at the front). Prove that.
Understanding Operating Systems Fifth Edition
Tournament Trees CSE, POSTECH.
Winner trees. Loser Trees.
Selection Trees. What are selection trees? Complete binary tree Each node represents a “match” Winner Trees Loser Trees.
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Optic Fiber.
Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97.
Distributed Multimedia Systems
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
Data Broadcast in Asymmetric Wireless Environments Nitin H. Vaidya Sohail Hameed.
Online Algorithms Motivation and Definitions Paging Problem Competitive Analysis Online Load Balancing.
Memory Management Chapter 7 B.Ramamurthy. Memory Management Subdividing memory to accommodate multiple processes Memory needs to allocated efficiently.
3rd AMORE meeting, Leiden AMORE meeting, 1-4 October, Leiden, Holland A graph theoretical approach to shunting problems L. Koci, G. Di Stefano Dipartimento.
© J. Christopher Beck Lecture 18: Timetabling with Workforce Capacity.
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
D1: Bin Packing Algorithms. D1: Bin-Packing Algorithms Bin-packing algorithms can be used to find ways to complete a number of tasks in given time slots,
Approximation Algorithms
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
Energy Aware Consolidation for Cloud Computing Srikanaiah, Kansal, Zhao Usenix HotPower 2008.
For Wednesday No reading No homework There will be homework for Friday, as well the program being due – plan ahead.
Summary Algorithms Flow charts Bubble sort Quick sort Binary search Bin Packing.
Solving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm Kok-Hua Loh University of Maryland Bruce Golden University.
1 Approximation Algorithm Updated at 2011/01/03. 2 Approximation Algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
1 Approximation Algorithm Updated on 2012/12/25. 2 Approximation Algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
Algorithm Design Methods 황승원 Fall 2011 CSE, POSTECH.
Computer Science/Ch. Algorithmic Foundation of CS 4-1 Chapter 4 Chapter 4 Algorithmic Foundation of Computer Science.
Computability NP complete problems. Space complexity. Homework: [Post proposal]. Find PSPACE- Complete problems. Work on presentations.
1 Windows Scheduling as a Restricted Version of Bin-packing. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Different Local Search Algorithms in STAGE for Solving Bin Packing Problem Gholamreza Haffari Sharif University of Technology
1 Approximation Algorithms for Generalized Scheduling Problems Ravishankar Krishnaswamy Carnegie Mellon University joint work with Nikhil Bansal, Anupam.
Winner trees. Loser Trees.
1 Scheduling Techniques for Broadcasting Popular Media. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Bin Packing. 2 Background: Suppose you plan to build a wall system for your books, records, and stereo set in your dorm room. The wall system requires.
Bin Packing Algorithms. Bin Packing Consider a set of bins, all the same cross section and height. The bin packing problem is to pack into the bins a.
BIN SORTING Problem Pack the following items in bins of size Firstly, find the lower bound by summing the numbers to be packed.
Bin Packing First fit decreasing algorithm
Bin Packing First fit algorithm
Constraint-Based Routing
Packing Jobs onto Machines in Datacenters
Bin Packing Optimization
Zhen Xiao, Qi Chen, and Haipeng Luo May 2013
Exam 2 LZW not on syllabus. 73% / 75%.
Bin Packing First fit decreasing algorithm
Bin packing – First fit algorithm
Throughput-Optimal Broadcast in Dynamic Wireless Networks
Суури мэдлэг Basic Knowledge
Bin Packing First fit decreasing algorithm
Bin Packing First fit decreasing algorithm
Algorithm Design Methods
ICS 353: Design and Analysis of Algorithms
Advanced LP models column generation.
Advanced LP models column generation.
7. Ford-Fulkerson Algorithm with multiple optimal solutions
Bin Packing First fit algorithm
Bin Packing Michael T. Goodrich Some slides adapted from slides from
Approximation Algorithm
Department of Computer Science & Engineering
Presentation transcript:

1 Class Constrained Packing We need to pack items into bins. All the bins have the same capacity. Each bin can accommodate items from a bounded number of colors. All items have the same (unit) size. Each item has a color (type).

2 Notations n - number of items in the instance. M - number of distinct colors in the instance. v - bin’s capacity. c- number of compartments in a bin. (The bin can accommodate v items of c distinct colors) Example of class-constrained packing n=15, M=5 v = 5, c = 2

3 Applications Multimedia on Demand Systems: The system receives requests for broadcasts of M movies. The requested movie should be transmitted by a shared disk. Each disk has limited load capacity, v, and limited storage capacity, c. c=2 v=5

4 Class-constrained Packing : The items arrive one at a time. In each step we get one unit size item of some color. We need to pack this item without any knowledge of the subsequent items. Formally, the instance is given as a sequence,  =a 1,a 2,…, a n, such that  k, a k  {1,..,M}. Objective: use a minimum number of bins to pack all of the items in 

5 A First-Fit Packing  = First-fit Algorithm: Put an arriving item in the leftmost bin that can accommodate it. First-fit packing Possible optimal packing v = 5 c = 2