Towards a Fast Heuristic for MINLP John W. Chinneck, M. Shafique Systems and Computer Engineering Carleton University, Ottawa, Canada.

Slides:



Advertisements
Similar presentations
Adopt Algorithm for Distributed Constraint Optimization
Advertisements

Size-estimation framework with applications to transitive closure and reachability Presented by Maxim Kalaev Edith Cohen AT&T Bell Labs 1996.
H EURISTIC S OLVER  Builds and tests alternative fuel treatment schedules (solutions) at each iteration  In each iteration:  Evaluates the effects of.
Traveling Salesperson Problem
Architecture-dependent optimizations Functional units, delay slots and dependency analysis.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 14: March 3, 2004 Scheduling Heuristics and Approximation.
Optimization Tutorial
Progress in Linear Programming Based Branch-and-Bound Algorithms
Automatic Tuning1/33 Boosting Verification by Automatic Tuning of Decision Procedures Domagoj Babić joint work with Frank Hutter, Holger H. Hoos, Alan.
Branch & Bound Algorithms
1 Logic-Based Methods for Global Optimization J. N. Hooker Carnegie Mellon University, USA November 2003.
Content Based Image Clustering and Image Retrieval Using Multiple Instance Learning Using Multiple Instance Learning Xin Chen Advisor: Chengcui Zhang Department.
Nearest Neighborhood Search in Motion Planning Lakshmi Reddy B Advisor: Nancy M. Amato Parasol lab Department of Computer Science Texas A&M University.
MAE 552 – Heuristic Optimization Lecture 27 April 3, 2002
Implicit Hitting Set Problems Richard M. Karp Harvard University August 29, 2011.
Computational Methods for Management and Economics Carla Gomes
1 A Second Stage Network Recourse Problem in Stochastic Airline Crew Scheduling Joyce W. Yen University of Michigan John R. Birge Northwestern University.
Solving the Protein Threading Problem in Parallel Nocola Yanev, Rumen Andonov Indrajit Bhattacharya CMSC 838T Presentation.
Ch 13 – Backtracking + Branch-and-Bound
Active Set Support Vector Regression
Branch and Bound Algorithm for Solving Integer Linear Programming
1 Planning and Scheduling to Minimize Tardiness John Hooker Carnegie Mellon University September 2005.
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
Radial Basis Function Networks
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
1 Hybrid methods for solving large-scale parameter estimation problems Carlos A. Quintero 1 Miguel Argáez 1 Hector Klie 2 Leticia Velázquez 1 Mary Wheeler.
ENCI 303 Lecture PS-19 Optimization 2
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
June 21, 2007 Minimum Interference Channel Assignment in Multi-Radio Wireless Mesh Networks Anand Prabhu Subramanian, Himanshu Gupta.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 12: February 13, 2002 Scheduling Heuristics and Approximation.
Static Translation of Stream Programs S. M. Farhad School of Information Technology The University of Sydney.
1 Exploring Custom Instruction Synthesis for Application-Specific Instruction Set Processors with Multiple Design Objectives Lin, Hai Fei, Yunsi ACM/IEEE.
MILP algorithms: branch-and-bound and branch-and-cut
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Parallel & Distributed Systems and Algorithms for Inference of Large Phylogenetic Trees with Maximum Likelihood Alexandros Stamatakis LRR TU München Contact:
CAS 721 Course Project Implementing Branch and Bound, and Tabu search for combinatorial computing problem By Ho Fai Ko ( )
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
Divide and Conquer Optimization problem: z = max{cx : x  S}
Ricochet Robots Mitch Powell Daniel Tilgner. Abstract Ricochet robots is a board game created in Germany in A player is given 30 seconds to find.
Practical Message-passing Framework for Large-scale Combinatorial Optimization Inho Cho, Soya Park, Sejun Park, Dongsu Han, and Jinwoo Shin KAIST 2015.
Optimal Superblock Scheduling Using Enumeration Ghassan Shobaki, CS Dept. Kent Wilken, ECE Dept. University of California, Davis
September 28, 2000 Improved Simultaneous Data Reconciliation, Bias Detection and Identification Using Mixed Integer Optimization Methods Presented by:
Optimization in Engineering Design 1 Introduction to Non-Linear Optimization.
5.3 Mixed Integer Nonlinear Programming Models. A Typical MINLP Model.
CSCE350 Algorithms and Data Structure Lecture 21 Jianjun Hu Department of Computer Science and Engineering University of South Carolina
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Product A Product B Product C A1A1 A2A2 A3A3 B1B1 B2B2 B3B3 B4B4 C1C1 C3C3 C4C4 Turret lathes Vertical mills Center lathes Drills From “Fundamentals of.
Massive Support Vector Regression (via Row and Column Chunking) David R. Musicant and O.L. Mangasarian NIPS 99 Workshop on Learning With Support Vectors.
OR Chapter 4. How fast is the simplex method  Efficiency of an algorithm : measured by running time (number of unit operations) with respect to.
Ion I. Mandoiu, Vijay V. Vazirani Georgia Tech Joseph L. Ganley Simplex Solutions A New Heuristic for Rectilinear Steiner Trees.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Unified Adaptivity Optimization of Clock and Logic Signals Shiyan Hu and Jiang Hu Dept of Electrical and Computer Engineering Texas A&M University.
R-Storm: Resource Aware Scheduling in Storm
Data Driven Resource Allocation for Distributed Learning
Heuristic Optimization Methods
Signal processing and Networking for Big Data Applications: Lecture 9 Mix Integer Programming: Benders decomposition And Branch & Bound NOTE: To change.
Maximal Planar Subgraph Algorithms
5.3 Mixed-Integer Nonlinear Programming (MINLP) Models
The CPLEX Library: Mixed Integer Programming
Comparing Genetic Algorithm and Guided Local Search Methods
5.3 Mixed Integer Nonlinear Programming Models
Multi-Objective Optimization
Matteo Fischetti, University of Padova
Topic 15 Job Shop Scheduling.
Intersection Cuts from Bilinear Disjunctions
We have the following incomplete B&B tree:
Intersection Cuts for Quadratic Mixed-Integer Optimization
Presentation transcript:

Towards a Fast Heuristic for MINLP John W. Chinneck, M. Shafique Systems and Computer Engineering Carleton University, Ottawa, Canada

Introduction Goal: Find a good quality integer-feasible MINLP solution quickly. ◦ Trade off accuracy for speed ◦ No guarantee of finding optimum Target: very large MINLP instances Method: use a fast approximate Global Optimizer within a B&B framework A Fast MINLP Heuristic2

The Fast Global Optimizer Why is nonconvex GO hard? ◦ Multiple disconnected feasible regions ◦ Multiple local optima ◦ Many places to look for optima Two main categories of methods: ◦ Space-covering global optimizers:  Accurate, but slow: inherent tree search ◦ Multi-start local optimizers:  Faster, but not as accurate: whole space not searched Goal: fast and reasonably accurate GO ◦ Trade a little accuracy for speed 3A Fast MINLP Heuristic

GO Components Main idea: Multi-start based (for speed) Better exploration of the variable space before launching the local solver (for accuracy) ◦ Our main contribution Main steps: Goal: find local solver launch points that lead to global optima 1. Latin Hypercube sampling in a defined launch box 2. Constraint Consensus concentration 3. Clustering 4. Simple Search 5. Local solver launches 4A Fast MINLP Heuristic

1. LHC Sampling in the Launch Box 5 LB 1 UB 2 UB 1 LB 2 Initial launch box based on empirical results: Most NLP solutions are in this range Shifted appropriately according to the bounds A Fast MINLP Heuristic

2. Constraint Consensus (CC) Projection method: iteratively adjusts point to reduce constraint violation(s). Quickly moves initial point to near-feasible final point. Very fast: no matrix inversion, no line search Reduces local solver time, improves success Current Point Compute Feasibility Vectors Compute Consensus Vector Update Location 6A Fast MINLP Heuristic

Constraint Consensus ***add illustration of CC move 7 CC start point After 1 iteration A Fast MINLP Heuristic

3. Clustering of CC end points (CB) Single linkage clustering: pts closer than critical distance assigned to same cluster Critical distance: based on distribution of inter-point distances ◦ Small distances: points in same cluster ◦ Large distances: points in different clusters ◦ Choose critical distance based on this Effect: clusters correlate with feasible regions 8A Fast MINLP Heuristic

9 LHC CC end pts Inter- point distances Final clusters A Fast MINLP Heuristic

4. Simple Search (SS) Derivative-free neighborhood search for better points in a cluster ◦ considers both feasibility and objective function Point quality metric (minimization) : ◦ Penalty function: P(x) = f(x) + (maximum violation) 2 10A Fast MINLP Heuristic x x 1.Interior random search 2.Exterior random search Replace worst point Continue until no improvement for several iterations

Complete GO Algorithm 11 LHC CC CB SS Select launch pts Local solver Result Serial Parallel Serial Parallel Serial. Identify x having best P(x) value. Note it’s round. Take best point in each of 3 best clusters in that round. Serial, but parallelizable rounds. A Fast MINLP Heuristic

Experimental Setup: Software Test set: CUTeR [3] models having at least one non-linear function (constraint or objective) ◦ Small (<300 constraints): 751 models ◦ Medium ( constraints): 29 models ◦ Large (1000+ constraints): 99 models Software: OS: Fedora 17, 64 bit. Compiler: GCC Local solver: IPOPT , linear solver MA86 serial mode, default settings Parameter settings: ◦ Time limit: 500 seconds ◦ Feasibility tolerance: 1×10 -6 throughout ◦ LHC parameters: 40 points, launch box edge length 2×10 4 ◦ CC parameters: 100 iterations per CC run, time limit: 1 sec/run ◦ SS parameters: At least 10 points per cluster, continue improving until three successive failures. ◦ 2 rounds 12A Fast MINLP Heuristic

Experiment 1: Hardware For BARON, Couenne, SCIP, LINDO: ◦ 2.66 Ghz 64-bit Intel Xeon X5650 ◦ All results from Nick Sahinidis, March 2013 For our method: ◦ 3.4 GHz 64-bit Intel i7-2600, 16 GB RAM ◦ 4 cores, so 4 simultaneous threads  But 3 parallel local solver launches (3 points kept) Times adjusted by CPU benchmarks 13A Fast MINLP Heuristic

Small Models Log scale solution quality Linear scale solution time Scaled by CPU benchmarks

Medium Models

Large Models

Problem Category Solver Returns a Solution for % of Models CCGOBARONCOUENNELINDOSCIP Small Medium Large Success Rate

Experiment 2 All solvers on same hardware: ◦ 3.4 GHz 64-bit Intel i7-2600, 16 GB RAM ◦ 4 cores, so 4 simultaneous threads  But 3 parallel local solver launches (3 points kept) Best feasible or optimal soln within 500 sec Vs. AMPL-linked free solvers: ◦ SCIP ◦ Couenne ◦ Waiting for AMPL-BARON A Fast MINLP Heuristic18

A Fast MINLP Heuristic19 Small Models

A Fast MINLP Heuristic20 Medium Models

A Fast MINLP Heuristic21 Large Models

A Fast MINLP Heuristic22 Small Models Large Models Medium Models

Towards MINLP Goal: few local solver launches Main ideas: Solve GO problem approximately ◦ LHC-CC-CB-SS, but no local solver launch B&B on integer variables at approximate GO solution When all integer variables fixed at integer values, launch local solver 23A Fast MINLP Heuristic

24 Approx GO soln for all new nodes Integer feasible? Add node to list (unless pruned) Node list empty? Select node based on P(x) Create child nodes by branching on integer variable Fix integer variables and launch local solver Update incumbent? Remove node from list Start Exit Y Y N N

Branching Issues Approximate solution affects branching MILP: ◦ Exact solver ◦ Branching tends to increase integrality MINLP with approximate GO solution: ◦ Branching may not force early integrality ◦ May have to branch until upper bound = lower bound A Fast MINLP Heuristic25

Branching Issues (contd) Round to integrality within a (larger) tolerance (e.g. 0.1 )? Seed the initial random sample of the new subspace with a rounded solution. ◦ Parent solution ( 11.6, 12.2, 9.5 ) ◦ Down branch special point ( 11.6, 12.2, 9.0 ) ◦ Up branch special point ( 11.6, 12.2, 10.0 ) Take action if too many open nodes ◦ E.g. round integer variables and launch local solver to get a better incumbent A Fast MINLP Heuristic26

Spatial Branching Likely not needed If needed: CC start-end pairs map basins of attraction for feasible regions ◦ Subdivide using CC start-end pairs to define basins of attraction 27A Fast MINLP Heuristic

Conclusions GO results are promising! ◦ Good quality solutions ◦ Solutions usually faster Future MINLP work: ◦ Algorithm optimization  Tuning all GO parameters.  Better simple search?  Best number of parallel threads  Where to use them? More threads per node? Solve multiple nodes simultaneously? Parallel rounds?  Rounding heuristics ◦ Proper comparison to other MINLP solvers 28A Fast MINLP Heuristic

Looking for Postdoc or PhD Student MINLP and other optimization topics Algorithm development and testing Good programming skills Helpful to know: ◦ Parallel programming ◦ C, C++, Go, Julia Should like winter A Fast MINLP Heuristic29

References 1. J.W. Chinneck (2004)."The Constraint Consensus Method for Finding Approximately Feasible Points in Nonlinear Programs", INFORMS Journal on Computing16,(3) W. Ibrahim, J.W. Chinneck (2008). Improving Solver Success in Reaching Feasibility for Sets of Nonlinear Constraints, Computers and Operations Research 35(5) L. Smith, J.W. Chinneck, V. Aitken (2013). “Constraint Consensus Concentration for Identifying Disjoint Feasible Regions in Nonlinear Programs”, Optimization Methods and Software 28(2)339– A. Waechter, L.T. Biegler (2006).“On the Implementation of a Primal- Dual Interior Point Filter Line Search Algorithm for Large-Scale Nonlinear Programming”, Mathematical Programming 106: A Fast MINLP Heuristic