Matteo Fischetti, University of Padova, Italy

Slides:



Advertisements
Similar presentations
G5BAIM Artificial Intelligence Methods
Advertisements

Integer Linear Programming
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Michele Samorani Manuel Laguna. PROBLEM : In meta-heuristic methods that are based on neighborhood search, whenever a local optimum is encountered, the.
DOMinant workshop, Molde, September 20-22, 2009
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Gizem ALAGÖZ. Simulation optimization has received considerable attention from both simulation researchers and practitioners. Both continuous and discrete.
Date:2011/06/08 吳昕澧 BOA: The Bayesian Optimization Algorithm.
Implicit Hitting Set Problems Richard M. Karp Harvard University August 29, 2011.
Computational Methods for Management and Economics Carla Gomes
Introduction to Artificial Intelligence Local Search (updated 4/30/2006) Henry Kautz.
An Introduction to Black-Box Complexity
1 Planning and Scheduling to Minimize Tardiness John Hooker Carnegie Mellon University September 2005.
1 Robustness by cutting planes and the Uncertain Set Covering Problem AIRO 2008, Ischia, 10 September 2008 (work supported my MiUR and EU) Matteo Fischetti.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
Lift-and-Project cuts: an efficient solution method for mixed-integer programs Sebastian Ceria Graduate School of Business and Computational Optimization.
When Ants Attack! Ant Algorithms for Subset Selection Problems Derek BridgeFinbarr TarrantChristine Solnon University College CorkUniversity of Lyon.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Escaping local optimas Accept nonimproving neighbors – Tabu search and simulated annealing Iterating with different initial solutions – Multistart local.
Ranga Rodrigo April 6, 2014 Most of the sides are from the Matlab tutorial. 1.
Genetic Algorithm.
Efficient Model Selection for Support Vector Machines
A Decomposition Heuristic for Stochastic Programming Natashia Boland +, Matteo Fischetti*, Michele Monaci*, Martin Savelsbergh + + Georgia Institute of.
Solving the Concave Cost Supply Scheduling Problem Xia Wang, Univ. of Maryland Bruce Golden, Univ. of Maryland Edward Wasil, American Univ. Presented at.
1 The Euclidean Non-uniform Steiner Tree Problem by Ian Frommer Bruce Golden Guruprasad Pundoor INFORMS Annual Meeting Denver, Colorado October 2004.
Feature Selection in Nonlinear Kernel Classification Olvi Mangasarian Edward Wild University of Wisconsin Madison.
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
CS 484 – Artificial Intelligence1 Announcements Lab 3 due Tuesday, November 6 Homework 6 due Tuesday, November 6 Lab 4 due Thursday, November 8 Current.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Thinning out Steiner Trees
Proximity search heuristics for Mixed Integer Programs Matteo Fischetti University of Padova, Italy RAMP, 17 October Joint work with Martina Fischetti.
Heuristic Optimization Methods Greedy algorithms, Approximation algorithms, and GRASP.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Course: Logic Programming and Constraints
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
Exact and heuristics algorithms
Self-Splitting Tree Search in a Parallel Environment Matteo Fischetti, Michele Monaci, Domenico Salvagnin University of Padova IFORS 2014, Barcelona 1.
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
A Membrane Algorithm for the Min Storage problem Dipartimento di Informatica, Sistemistica e Comunicazione Università degli Studi di Milano – Bicocca WMC.
A local search algorithm with repair procedure for the Roadef 2010 challenge Lauri Ahlroth, André Schumacher, Henri Tokola
Heuristic Methods for the Single- Machine Problem Chapter 4 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R2.
METAHEURISTIC Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Intersection Cuts for Bilevel Optimization
A Two-Phase Linear programming Approach for Redundancy Problems by Yi-Chih HSIEH Department of Industrial Management National Huwei Institute of Technology.
Raunak Singh (ras2192) IEOR 4405: Production Scheduling 28 th April 2009.
Metaheuristics for the New Millennium Bruce L. Golden RH Smith School of Business University of Maryland by Presented at the University of Iowa, March.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Matteo Fischetti, Michele Monaci University of Padova
From Mixed-Integer Linear to Mixed-Integer Bilevel Linear Programming
Exact Algorithms for Mixed-Integer Bilevel Linear Programming
Matteo Fischetti, University of Padova
Standard Optimization Techniques
Polynomial DC decompositions
Chapter 6. Large Scale Optimization
Integer Linear Programming
MIP Tools Branch and Cut with Callbacks Lazy Constraint Callback
Haim Kaplan and Uri Zwick
Multi-Objective Optimization
Matteo Fischenders, University of Padova
Matteo Fischetti, University of Padova
Deep Learning and Mixed Integer Optimization
Matteo Fischetti, University of Padova
Integer Linear Programming
Intersection Cuts from Bilinear Disjunctions
Chapter 6. Large Scale Optimization
Intersection Cuts for Quadratic Mixed-Integer Optimization
Presentation transcript:

Matteo Fischetti, University of Padova, Italy Proximity-driven MIP heuristics with an application to wind farm layout optimization Matteo Fischetti, University of Padova, Italy Joint work with Martina Fischetti and Michele Monaci IMI Workshop, October 2014

MIP technology Mixed-Integer (Linear) Programming is a powerful technique … … that recently became a feasible and appealing tool to solve complex/huge real problems IMI Workshop, October 2014

Advantages of the MIP approach Many industrial problems can be modeled as MIPs Different constraints can easily be added  what if analysis In many cases, off-the-shelf MIP software is able to produce a proven-optimal solution In the hardest cases, MIP-based heuristics yield very good solutions within acceptable computing times MIP-based heuristics can be easier to design and implement than ad-hoc heuristics IMI Workshop, October 2014

A case study: wind farm layout Given a site (offshore or onshore) characteristics of the turbines to build measurements of the wind in the site Determine a turbine allocation that maximizes power production Taking into account: proximity constraints (no collisions) minimum/maximum number of turbines wake effects IMI Workshop, October 2014

The problem Define a grid of sites (candidate points for turbine allocation) For each site pair (i,j), let Iij denote the average interference (power loss) experienced at point j if a turbine is built on site i  it depends on average wind speed and direction, nonlinear turbine power curve, etc. Assume overall interference is cumulative (sum of pairwise interf.s) IMI Workshop, October 2014

Basic (quadratic) model Let V be the site set, Pi be the max. power production at point i, EI denote incompatible site pairs, and NMIN and NMAX be input limits on the n. of built turbines IMI Workshop, October 2014

Designing a simple wind-farm heuristic Our first heuristic is not based on the MIP model  hopefully easy to implement… Basic move: Given a feasible solution x, we want to see if we can improve it by flipping a single variable xj  1-opt exchange Simple heuristic: for each j, compute the objective improvement δj when flipping xj (alone), and find max { δj } where Iij = + ∞ for incompatible pairs [i,j] ε EI Complexity: O(|V|2) for each max computation IMI Workshop, October 2014

Improving the basic heuristic Complexity can be reduced from O(|V|2) to O(|V|) by using parametric techniques: Initialize in O(|V|2) When a certain xj* is going to be flipped, incrementally update all δj’s in O(|V|) time IMI Workshop, October 2014

… and improving 2-opt exchanges can be implemented as well  time consuming, but we can apply it only from time to time, etc. Start with a better initial solution? Start with the null solution x = 0 #toobad Greedy heuristic #better Randomized greedy #grasp Smart solutions tend to put more turbines on the border of offshore area #smart … more and more ideas pop out and require to be implemented, debugged and tested #curseofbeingtoosmart IMI Workshop, October 2014

… and improving … Escaping local optimal solutions by using Random restarts Tabu Search Variable Neighborhood Search (VNS) Simulated Annealing Genetic Algorithms Evolutionary Heuristics …. … our first heuristic is not based on the MIP model hopefully easy to implement…  are we sure? IMI Workshop, October 2014

MIP heuristics Consider a generic Mixed-Integer convex 0-1 Problem (0-1 MIP) where f and g are convex functions and  removing integrality leads to an easy-solvable continuous relaxation A black-box (exact or heuristic) MIP solver is available How to use the MIP solver to quickly provide a sequence of improved heuristic solutions (time vs quality tradeoff)? IMI Workshop, October 2014

Large Neighborhood Search Large Neighborhood Search (LNS) paradigm: introduce invalid constraints into the MIP model to create a nontrivial sub-MIP “centered” at a given heuristic sol. (say) Apply the MIP solver to the sub-MIP for a while… Possible implementations: Local branching: add the following linear cut to the MIP RINS: find an optimal solution of the continuous relaxation, and fix all binary variables such that Polish: evolve a population of heuristic sol.s by using RINS to create offsprings, plus mutation etc. IMI Workshop, October 2014

Proximity search We want to work with a modified objective function that hopefully allows the black-box solver to quickly improve the incumbent solution “Stay close” principle: we bet on the fact that improved solutions live near the incumbent, hence we attract the search within a neighborhood of (without imposing any artificial neighborhood constraints) Step 1. Add an explicit cutoff constraint Step 2. Replace the objective by the proximity function IMI Workshop, October 2014

Proximity search heuristic IMI Workshop, October 2014

A MIP-based heuristic for wind farm What you need here is A robust MIP solver An idea of the size and difficulty of that practical instances that we want to solve (100 sites? or 1,000? or 10,000?) A sound MIP model that “does not die” for the instances of interest  for heuristics, speed is sometimes more important than polyhedral tightness… An idea about “how to drive the MIP solver” to deliver the solution you want  LNS, local branching, polish, proximity search… IMI Workshop, October 2014

A standard MIP linearization Introduce a quadratic n. of var.s zij = xi xj IMI Workshop, October 2014

An alternative MIP linearization Glover’s trick: the objective function  the new continuous variable wi is the product between a continuous term (∑ …) and a binary variable (xi)  McCormick linearization IMI Workshop, October 2014

An alternative MIP linearization A linearized model with linear n. of additional var.s wi and BIGM constr.s IMI Workshop, October 2014

Which linearization is better? Comparison between the linearizations with quadratic n. of var.s/constr.s (Mod 2) and with linear n. of var.s/constr.s (Mod 4) time limit of 3600 sec.s on a PC  Mod 4 (linear n. of var.s/constr.s) much better for heuristics IMI Workshop, October 2014

Our overall MIP-based heuristic Step 0. read input data and compute the overall interference matrix (Iij); Step 1. (optional) apply ad-hoc heuristics (1-opt) to get a first incumbent x ̃; Step 2. (optional) apply quick ad-hoc refinement heuristics (few iterations of iterated 1- and 2-opt) to possibly improve x ̃; Step 3. if n > 2000, randomly remove points i with x ̃i = 0 so as to reduce the number of candidate sites to 2000; Step 4. build a MIP model for the resulting subproblem and apply proximity search to refine x ̃ until the very first improved solution is found (or time limit is reached); Step 5. if time limit permits, repeat from Step 2. IMI Workshop, October 2014

Computational results Alternative heuristics implemented in C and run on a quad-core PC (16GB RAM) proxy: our MIP-based proximity-search heuristic built on top of Cplex 12.5.1 cpx_def: Cplex 12.5.1 in its default setting, starting from the same heuristic solution x ̃ used by proxy cpx_heu: same as cpx_def, with an internal tuning intended to improve heuristic performance (aggressive RINS & Polish) loc_sea: an ad-hoc local-search procedure not based on any MIP solver Testbed (real offshore site: Horns Rev 1 in Denmark) offshore 3,000 x 3,000 (m) square with 400m minimum turbine separation no limit on the number of turbines to build Siemens SWT-2.3-93 turbines (rotor diameter 93m) pairwise interference computed using Jensen's model, by averaging 250,000+ real-world wind samples from Horns Rev 1 (Denmark) IMI Workshop, October 2014

Computational results IMI Workshop, October 2014

Thanks for your attention Papers M. Fischetti, M. Monaci, "Proximity Search for 0-1 Mixed-Integer Convex Programming", 2013 (accepted in Journal of Heuristics) M. Fischetti, M. Monaci, "Proximity search heuristics for wind farm optimal layout", 2013 (submitted to Journal of Heuristics). M. Fischetti, M. Fischetti, M. Monaci, "Proximity search heuristics for Mixed Integer Programs", 2014 (RAMP 2014 proceedings) and slides available at www.dei.unipd.it/~fisch IMI Workshop, October 2014