Constrained Optimisation and Graph Drawing Tim Dwyer Monash University Australia

Slides:



Advertisements
Similar presentations
Generating Ideas #1: Research Patterns
Advertisements

G5BAIM Artificial Intelligence Methods
Local Search Jim Little UBC CS 322 – CSP October 3, 2014 Textbook §4.8
Constraint Optimization We are interested in the general non-linear programming problem like the following Find x which optimizes f(x) subject to gi(x)
ECE 667 Synthesis and Verification of Digital Circuits
Orthogonal Drawing Kees Visser. Overview  Introduction  Orthogonal representation  Flow network  Bend optimal drawing.
O(N 1.5 ) divide-and-conquer technique for Minimum Spanning Tree problem Step 1: Divide the graph into  N sub-graph by clustering. Step 2: Solve each.
Planar Orientations Chapter 4 ( ) in the book Written By: Tomer Heber.
Label Placement and graph drawing Imo Lieberwerth.
Seminar Graph Drawing H : Introduction to Graph Drawing Jesper Nederlof Roeland Luitwieler.
Force directed graph drawing Thomas van Dijk. The problem Given a set of vertices and edges, compute positions for the vertices. If the edges don’t have.
On the complexity of orthogonal compaction maurizio patrignani univ. rome III.
Fast Node Overlap Removal Tim Dwyer¹ Kim Marriott¹ Peter J. Stuckey² ¹Monash University ²The University of Melbourne Victoria, Australia.
(A fast quadratic program solver for) Stress Majorization with Orthogonal Ordering Constraints Tim Dwyer 1 Yehuda Koren 2 Kim Marriott 1 1 Monash University,
IPSep-CoLa: The choice of a new generation (of graph visualisation enthusiasts) Tim Dwyer – Monash University, Australia Yehuda Koren – AT&T Research Kim.
New Techniques for Visualisation of Large and Complex Networks with Directed Edges Tim Dwyer 1 Yehuda Koren 2 1 Monash University, Victoria, Australia.
Automated Layout and Phase Assignment for Dark Field PSM Andrew B. Kahng, Huijuan Wang, Alex Zelikovsky UCLA Computer Science Department
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
SIMS 247: Information Visualization and Presentation jeffrey heer
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 5: February 2, 2009 Architecture Synthesis (Provisioning, Allocation)
Design Bright-Field AAPSM Conflict Detection and Correction C. Chiang, Synopsys A. Kahng, UC San Diego S. Sinha, Synopsys X. Xu, UC San Diego A. Zelikovsky,
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
1 i247: Information Visualization and Presentation Marti Hearst April 2, 2008.
D1: Linear Programming.
Introduction and Basic Concepts
Automated Drawing of 2D chemical structures Kees Visser.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 5: February 2, 2009 Architecture Synthesis (Provisioning, Allocation)
EDA (CS286.5b) Day 18 Retiming. Today Retiming –cycle time (clock period) –C-slow –initial states –register minimization.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 8: February 13, 2008 Retiming.
Airline Schedule Optimization (Fleet Assignment II) Saba Neyshabouri.
Complexity results for three-dimensional orthogonal graph drawing maurizio “titto” patrignani third university of rome graph drawing 2005.
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
1 A Combinatorial Toolbox for Protein Sequence Design and Landscape Analysis in the Grand Canonical Model Ming-Yang Kao Department of Computer Science.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
Crossing Minimisation (1) Ronald Kieft. Global contents Specific 2-layer Crossing Minimisation techniques After the break, by Johan Crossing Minimisation.
ENCI 303 Lecture PS-19 Optimization 2
When Existence is Enough Dan Kalman American University.
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.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
Models in I.E. Lectures Introduction to Optimization Models: Shortest Paths.
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 7: February 3, 2002 Retiming.
Constrained stress majorization using diagonally scaled gradient projection Tim Dwyer and Kim Marriott Clayton School of Information Technology Monash.
Complexity results for three-dimensional orthogonal graph drawing maurizio patrignani third university of rome graph drawing dagstuhl
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
NP-Complete problems.
CS270 Project Overview Maximum Planar Subgraph Danyel Fisher Jason Hong Greg Lawrence Jimmy Lin.
Graph Drawing by Stress Majorization Authors: Emden R. Gansner, Yehuda Koren and Stephen North Presenter: Kewei Lu.
Concepts and Realization of a Diagram Editor Generator Based on Hypergraph Transformation Author: Mark Minas Presenter: Song Gu.
1 An Efficient Optimal Leaf Ordering for Hierarchical Clustering in Microarray Gene Expression Data Analysis Jianting Zhang Le Gruenwald School of Computer.
An Exact Algorithm for Difficult Detailed Routing Problems Kolja Sulimma Wolfgang Kunz J. W.-Goethe Universität Frankfurt.
1 Introduction Optimization: Produce best quality of life with the available resources Engineering design optimization: Find the best system that satisfies.
The minimum cost flow problem. Solving the minimum cost flow problem.
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory 117 Penalty and Barrier Methods General classical constrained.
Lecture 2: Problem Solving using State Space Representation CS 271: Fall, 2008.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
VLSI Physical Design Automation
Graph Drawing.
Computer Science cpsc322, Lecture 13
Design and Analysis of Algorithm
Computer Science cpsc322, Lecture 14
Computer Science cpsc322, Lecture 13
ESE535: Electronic Design Automation
Objective The student will be able to:
Software Visualization
ESE535: Electronic Design Automation
Complexity Theory in Practice
Constraints.
Presentation transcript:

Constrained Optimisation and Graph Drawing Tim Dwyer Monash University Australia

This talk: Brief overview of constraint optimisation and operations research techniques in graph drawing Position statement:  Usual GD approach: Define overall optimisation problem – too hard! Simplify model and attack a sequence of more tractable sub-problems  Don’t forget the big-picture! Our work in constrained force-directed GD

OR techniques in GD Long history in GD of defining embedding problems as constrained optimization problems

OR techniques in GD Long history in GD of defining embedding problems as constrained optimization problems  Angular resolution problem: maximise smallest angle Φ subj. to:

OR techniques in GD Long history in GD of defining embedding problems as constrained optimization problems  Angular resolution problem  Network flow problems orthogonal bend minimization orthogonal compaction layer assignment

OR techniques in GD Long history in GD of defining embedding problems as constrained optimization problems  Crossing minimisation  Exact solution

OR techniques in GD Long history in GD of defining embedding problems as constrained optimization problems  Angular resolution problem  Network flow problems orthogonal bend minimization orthogonal compaction layer assignment  Crossing minimisation  Probably loads of others

STT framework (for layered directed graph drawing)‏ cycle removal layer assignment layer by layer crossing minimization Horizontal node placement

Eiglsperger, Siebenhaller, Kaufmann: Layered drawing in O( (|V|+|E|) log |V|)

Topology-shape-metrics (orthogonal layout)‏ Planarization  Based on initial embedding  If not planar, dummy nodes inserted at crossings Bend minimization  By transformation to min-cost network flow Compaction  By shortening edges (no new bends)  Lots of possible heuristics

Limitations These frameworks apply a succession of stages each optimising with respect to a given requirement Assignments in earlier stages can limit the success of later stages Usually the algorithms are not able to backtrack to a previous stage Leads to parameters for the various stages which users must juggle to improve output

Force directed layout Simple goal function with global scope Not restricted to a particular class of graph Easily used in incremental context Can add constraints to capture drawing conventions

Constraints are not springies, they must be satisfied Springies are a modification of the goal function Constraints (in the OR sense) are separate (in)equalities subject to which the original goal function is optimised Springies:  Sugiyama and Misue (1995), Ryal et al. (1997), etc… Constraints:  He and Marriott (1998); Dwyer and Koren (2005); Dwyer, Koren and Marriott (2006) Constrained FD Layout

(x 1,y 1 ) (x 2,y 2 ) (x 3,y 3 ) w1w1 w2w2 h2h2 h3h3 Separation Constraints Separation constraints: x 1 +d ≤ x 2, y 1 +d ≤ y 2 can be used with force-directed layout to impose certain spacing requirements x 1 + ≤ x 2 (w 1 +w 2 ) 2 y 3 + ≤ y 2 (h 2 +h 3 ) 2

“Unix” Graph data From

Constrained Stress Majorisation stress(X) stress(X ) = Minimise a quadratic function in each axis of drawing f(x) = ½ x T A x + x T b f(y) = ½ y T A y + y T b X* x* y* x* y*

Constrained stress majorization stress(X) Instead of solving unconstrained quadratic forms we solve subject to separation constraints i.e. Quadratic Programming X* x* y* x* y*

My $0.02 Look at the big picture:  Question the design decisions of monolithic layout frameworks  Consider practical performance for the kind of graphs that people actually want to draw  Where does rigour yield the most benefit?