Hard Optimization Problems: Practical Approach DORIT RON Tel. 08 934 2141 Ziskind room #303

Slides:



Advertisements
Similar presentations
Introduction to Algorithms 6.046J/18.401J/SMA5503
Advertisements

ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
Meng-Kai Hsu, Sheng Chou, Tzu-Hen Lin, and Yao-Wen Chang Electronics Engineering, National Taiwan University Routability Driven Analytical Placement for.
1 Optimization Algorithms on a Quantum Computer A New Paradigm for Technical Computing Richard H. Warren, PhD Optimization.
Discrete Optimization Shi-Chung Chang. Discrete Optimization Lecture #1 Today: Reading Assignments 1.Chapter 1 and the Appendix of [Pas82] 2.Chapter 1.
Easy Optimization Problems, Relaxation, Local Processing for a small subset of variables.
1 Minimum Ratio Contours For Meshes Andrew Clements Hao Zhang gruvi graphics + usability + visualization.
Lecture 1: Introduction to the Course of Optimization 主講人 : 虞台文.
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
Easy Optimization Problems, Relaxation, Local Processing for a small subset of variables.
Approximation Algorithms
MAE 552 – Heuristic Optimization Lecture 3 January 28, 2002.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Chapter 10: Iterative Improvement
Optimization Methods Unconstrained optimization of an objective function F Deterministic, gradient-based methods Running a PDE: will cover later in course.
EDA (CS286.5b) Day 6 Partitioning: Spectral + MinCut.
Computer Algorithms Integer Programming ECE 665 Professor Maciej Ciesielski By DFG.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
Simulated Annealing 10/7/2005.
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
Ch 13 – Backtracking + Branch-and-Bound
Advanced Topics in Optimization
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
An Introduction to Optimization Theory. Outline Introduction Unconstrained optimization problem Constrained optimization problem.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
1 Integrality constraints Integrality constraints are often crucial when modeling optimizayion problems as linear programs. We have seen that if our linear.
Joanna Ellis-Monaghan, St. Michaels College Paul Gutwin, Principal Technical Account Manager, Cadence.
Elements of the Heuristic Approach
Register-Transfer (RT) Synthesis Greg Stitt ECE Department University of Florida.
Lecture: 5 Optimization Methods & Heuristic Strategies Ajmal Muhammad, Robert Forchheimer Information Coding Group ISY Department.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Flow Models and Optimal Routing. How can we evaluate the performance of a routing algorithm –quantify how well they do –use arrival rates at nodes and.
Programming & Data Structures
Algorithms for Network Optimization Problems This handout: Minimum Spanning Tree Problem Approximation Algorithms Traveling Salesman Problem.
1 IE 607 Heuristic Optimization Simulated Annealing.
ENCI 303 Lecture PS-19 Optimization 2
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
TSV-Aware Analytical Placement for 3D IC Designs Meng-Kai Hsu, Yao-Wen Chang, and Valerity Balabanov GIEE and EE department of NTU DAC 2011.
New Modeling Techniques for the Global Routing Problem Anthony Vannelli Department of Electrical and Computer Engineering University of Waterloo Waterloo,
Massachusetts Institute of Technology 1 L14 – Physical Design Spring 2007 Ajay Joshi.
Placement. Physical Design Cycle Partitioning Placement/ Floorplanning Placement/ Floorplanning Routing Break the circuit up into smaller segments Place.
VLSI Physical Design: From Graph Partitioning to Timing Closure Chapter 6: Detailed Routing © KLMH Lienig 1 What Makes a Design Difficult to Route Charles.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
and 6.855J Lagrangian Relaxation I never missed the opportunity to remove obstacles in the way of unity. —Mohandas Gandhi.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
1 CS612 Algorithms for Electronic Design Automation CS 612 – Lecture 1 Course Overview Mustafa Ozdal Computer Engineering Department, Bilkent University.
Minimum Spanning Trees CS 146 Prof. Sin-Min Lee Regina Wang.
ZEIT4700 – S1, 2015 Mathematical Modeling and Optimization School of Engineering and Information Technology.
Maze Routing Algorithms with Exact Matching Constraints for Analog and Mixed Signal Designs M. M. Ozdal and R. F. Hentschke Intel Corporation ICCAD 2012.
Optimization Problems
1 CS612 Algorithms for Electronic Design Automation CS 612 – Lecture 8 Lecture 8 Network Flow Based Modeling Mustafa Ozdal Computer Engineering Department,
Iterative Improvement Search Including Hill Climbing, Simulated Annealing, WALKsat and more....
Unified Quadratic Programming Approach for Mixed Mode Placement Bo Yao, Hongyu Chen, Chung-Kuan Cheng, Nan-Chi Chou*, Lung-Tien Liu*, Peter Suaris* CSE.
An Introduction to Simulated Annealing Kevin Cannons November 24, 2005.
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
A Two-Phase Linear programming Approach for Redundancy Problems by Yi-Chih HSIEH Department of Industrial Management National Huwei Institute of Technology.
Review for E&CE Find the minimal cost spanning tree for the graph below (where Values on edges represent the costs). 3 Ans. 18.
Intro. ANN & Fuzzy Systems Lecture 37 Genetic and Random Search Algorithms (2)
Optimization Problems
Heuristic Optimization Methods
Haim Kaplan and Uri Zwick
Optimization Problems
CSE 589 Applied Algorithms Spring 1999
7.5 – Constrained Optimization: The Method of Lagrange Multipliers
EDA Lab., Tsinghua University
More on HW 2 (due Jan 26) Again, it must be in Python 2.7.
Lecture 19 Linear Program
Presentation transcript:

Hard Optimization Problems: Practical Approach DORIT RON Tel Ziskind room #303

Course outline  1 st lecture: Introduction and motivation

INTRODUCTION  What is an optimization problem?

An optimization problem consist of:  Variables:  Energy functional to be minimized/maximized: min / max

Unconstrained minimization Find the global minimum

An optimization problem consist of:  Variables:  Energy functional to minimized/maximized: min / max Possibly subject to:  Equality constraints:  Inequality constraints:

Constrained minimization subject to

INTRODUCTION  What is an optimization problem?  Examples

Example 1: 2D Ising spins  Discrete (combinatorial) optimization min -   i,j> s i s j s i = { +1, -1}

3D Ising model  Each spin represents a tiny magnet  The spins tend to align below a certain T c  Ferromagnet – Iron at room temperature magnet  T c  non-magnet ----| | |--> T room temp ferromagnetism melting 770 o C 1538 o C  At T=0 the system settles at its ground states

Example 2: 1D graph ordering  Given a graph G=(V,  ), find a permutation  of the vertices that minimizes E(  )=  i j w i j |  (i) -  (j) | p where i, j are in V and w i j is the edge weight between i and j (w i j =0 if ij is not in  )  p=1 : Linear arrangement  p=2 : Quadratic energy  p= : The Bandwidth

i j Minimum Linear Arrangement Problem

i j

Minimum Linear Arrangement Problem i j

Minimum Linear Arrangement Problem i j

Minimum Linear Arrangement Problem i j

Minimum Linear Arrangement Problem i j

General Linear Arrangement Problem  Variable nodes sizes E(x)=  i j w i j | x i -x j | p x i = v i /2 +  k:  k)<  i) v k i j xixi xjxj

Other graph ordering problems  Minimize various functionals: envelope size, cutwidth, profile of graph, etc.  Traveling salesman problem – TSP

The Traveling Salesman Problem

Other graph ordering problems  Minimize various functionals: envelope size, cutwidth, profile of graph, etc.  Traveling salesman problem – TSP  Graph bisectioning  Graph partitioning  Graph coloring  Graph drawing

Drawing Graphs

Example 3: 2D circuit placement  Bottleneck in the microchip industry  Given a hypergraph, find the discrete placement of each module (gate) while minimizing the wirelength

The hypergraph for a microchip

Placement on a grid of pins

Routing over the placement

Example 3: 2D circuit placement  Bottleneck in the microchip industry  Given a hypergraph, find the discrete placement of each module (gate) while minimizing the wirelength  No overlap is allowed  No overflow is allowed  Critical paths must be shorter  Leave white space for routing  Typical IBM chip ~270 meters on 1cm 2

Place and route

Exponential growth of transistors for Intel processors

INTRODUCTION  What is an optimization problem?  Examples  Summary of difficulties

Difficulties:  Many variables: 10 6, 10 7 …  Many constraints: 10 6, 10 7 …  Multitude of local optima  Discrete nature  Conflicting objectives  Reasonable running time

INTRODUCTION  What is an optimization problem?  Examples  Summary of difficulties  Is the global optimum really needed / obtainable?

PEKO=PLACEMENT EXAMPLE WITH KNOWN OPTIMUM  Place the nodes – this is the solution  Create the net list locally and compactly  The optimum wire length – the sum of all the edges between the nodes, is known and can be proven to be minimal

SOLUTION QUALITY

INTRODUCTION  What is an optimization problem?  Examples  Summary of difficulties  Is the global optimum really needed / obtainable?  What is expected of a “good approximate” solution?

“Good approximate” solution  As optimal as possible: high quality solution  Achievable in linear time  Scalable in the problem size

RUNTIME

Reality Check Rigorous Optimization Theorems LIMITED Industrial Need for FAST & GOOD NP-Complete Intractable Problems HEURISTICS

INTRODUCTION  What is an optimization problem?  Examples  Summary of difficulties  Is the global optimum really needed / obtainable?  What is expected of a “good approximate” solution?  Multilevel philosophy

MULTILEVEL APPROACH  PARTIAL DIFFERENTIAL EQUATIONS (Achi Brandt since the early 70’s)  STATISTICAL PHYSICS  CHEMISTRY  IMAGE SEGMENTATION  TOMOGRAPHY  GRAPH OPTIMIZATION PROBLEMS

SOLUTION QUALITY

ORIGINAL PICTURE

ORIGINAL FENG SHUI (1) FENG SHUI (2) mPL KRAFTWERK CAPO DRAGON OURS

OUR PLACEMENT

Course outline  1 st lecture: Introduction and motivation  2 nd – 4 th : Local processing (relaxation) Quadratic minimization, Newton’s method, Steepest descent, Line search, Lagrange multipliers, Active set approach, Linear programming  4 th – 5 th : Global approaches Simulated annealing, Genetic algorithms, Spectral method  6 th : Classical geometric multigrid  7 th : Algebraic multilevel  8 th : Graph coarsening  9 th – 12 th : Advanced multilevel topics