Proximity search heuristics for Mixed Integer Programs Matteo Fischetti University of Padova, Italy RAMP, 17 October 20141 Joint work with Martina Fischetti.

Slides:



Advertisements
Similar presentations
1 LP, extended maxflow, TRW OR: How to understand Vladimirs most recent work Ramin Zabih Cornell University.
Advertisements

Branch-and-Bound Technique for Solving Integer Programs
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,
Branch-and-Bound In this handout,  Summary of branch-and-bound for integer programs Updating the lower and upper bounds for OPT(IP) Summary of fathoming.
EE 553 Integer Programming
Konrad-Zuse-Zentrum für Informationstechnik Berlin (ZIB) Tobias Achterberg Conflict Analysis SCIP Workshop at ZIB October 2007.
Lecture 10: Integer Programming & Branch-and-Bound
Matteo Fischetti, University of Padova, Italy
1,2,3...QAP! Matteo Fischetti (joint work with Michele Monaci and Domenico Salvagnin) DEI University of Padova IPDU, Newcastle, July 2011.
EMIS 8373: Integer Programming Valid Inequalities updated 4April 2011.
1 One Size Fits All? : Computational Tradeoffs in Mixed Integer Programming Software Bob Bixby, Mary Fenelon, Zonghao Gu, Ed Rothberg, and Roland Wunderling.
1 Optimisation Although Constraint Logic Programming is somehow focussed in constraint satisfaction (closer to a “logical” view), constraint optimisation.
Aussois, 4-8/1/20101 = ? Matteo Fischetti and Domenico Salvagnin University of Padova +
Computational Methods for Management and Economics Carla Gomes
1 Maximum matching Max Flow Shortest paths Min Cost Flow Linear Programming Mixed Integer Linear Programming Worst case polynomial time by Local Search.
3rd ARRIVAL Review Meeting [Patras, 12 May 2009] – WP3 Presentation ARRIVAL – WP3 Algorithms for Robust and online Railway optimization: Improving the.
3rd ARRIVAL Review Meeting [Patras, 12 May 2009] – WP3 Presentation ARRIVAL – WP3 Algorithms for Robust and online Railway optimization: Improving the.
MAE 552 – Heuristic Optimization
Solving the Protein Threading Problem in Parallel Nocola Yanev, Rumen Andonov Indrajit Bhattacharya CMSC 838T Presentation.
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.
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.
LP formulation of Economic Dispatch
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
On the role of randomness in exact tree search methods EURO XXV, Vilnius, July Matteo Fischetti, University of Padova (based on joint work with Michele.
Decision Procedures An Algorithmic Point of View
Primal-Dual Meets Local Search: Approximating MST’s with Non-uniform Degree Bounds Author: Jochen Könemann R. Ravi From CMU CS 3150 Presentation by Dan.
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
Optimizing over the Split Closure Anureet Saxena ACO PhD Student, Tepper School of Business, Carnegie Mellon University. (Joint Work with Egon Balas)
Towards a Fast Heuristic for MINLP John W. Chinneck, M. Shafique Systems and Computer Engineering Carleton University, Ottawa, Canada.
A Decomposition Heuristic for Stochastic Programming Natashia Boland +, Matteo Fischetti*, Michele Monaci*, Martin Savelsbergh + + Georgia Institute of.
1 Outline:  Outline of the algorithm  MILP formulation  Experimental Results  Conclusions and Remarks Advances in solving scheduling problems with.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Thinning out Steiner Trees
MILP algorithms: branch-and-bound and branch-and-cut
Tobias Achterberg Konrad-Zuse-Zentrum für Informationstechnik Berlin Branching SCIP Workshop at ZIB October 2007.
WOOD 492 MODELLING FOR DECISION SUPPORT
Heuristic Optimization Methods Greedy algorithms, Approximation algorithms, and GRASP.
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.
Column Generation By Soumitra Pal Under the guidance of Prof. A. G. Ranade.
Branch-and-Cut Valid inequality: an inequality satisfied by all feasible solutions Cut: a valid inequality that is not part of the current formulation.
Divide and Conquer Optimization problem: z = max{cx : x  S}
FATCOP: A Mixed Integer Program Solver Michael FerrisQun Chen University of Wisconsin-Madison Jeffrey Linderoth Argonne National Laboratories.
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Intersection Cuts for Bilevel Optimization
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Tommy Messelis * Stefaan Haspeslagh Burak Bilgin Patrick De Causmaecker Greet Vanden Berghe *
Konrad-Zuse-Zentrum für Informationstechnik Berlin (ZIB) Tobias Achterberg Conflict Analysis in Mixed Integer Programming.
Sebastian Ceria Graduate School of Business and
Matteo Fischetti, Michele Monaci University of Padova
From Mixed-Integer Linear to Mixed-Integer Bilevel Linear Programming
EE/Econ 458 Integer Programming
Exact Algorithms for Mixed-Integer Bilevel Linear Programming
The minimum cost flow problem
The CPLEX Library: Mixed Integer Programming
Matteo Fischetti, University of Padova
#post_modern Branch-and-Cut Implementation
MIP Tools Branch and Cut with Callbacks Lazy Constraint Callback
Matteo Fischenders, University of Padova
Matteo Fischetti, University of Padova
Matteo Fischetti, University of Padova
Intersection Cuts from Bilinear Disjunctions
Branch-and-Bound Technique for Solving Integer Programs
Intersection Cuts for Quadratic Mixed-Integer Optimization
Discrete Optimization
Presentation transcript:

Proximity search heuristics for Mixed Integer Programs Matteo Fischetti University of Padova, Italy RAMP, 17 October Joint work with Martina Fischetti and Michele Monaci

MIP heuristics We consider a Mixed-Integer convex 0-1 Problem (0-1 MIP, or just 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 solver to quickly provide a sequence of improved heuristic solutions (time vs quality tradeoff)? RAMP, 17 October 20142

Large Neighborhood Search Large Neighborhood Search (LNS) paradigm: 1.introduce invalid constraints into the MIP model to create a nontrivial sub-MIP “centered” at a given heuristic sol. (say) 2.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. RAMP, 17 October 20143

Why should the subMIP be easier? What makes a (sub)MIP easy to solve? 1.fixing many var.s reduces problem size & difficulty 2.additional contr.s limit branching’s scope 3.something else? In Branch-and-Bound methods, the quality of the root-node relaxation is of paramount importance as the method is driven by the relaxation solution found at each node Quality in terms of integrality gap … … but also in term of “similarity” of the root node solution to the optimal integer solution (the “more integer” the better…) RAMP, 17 October 20144

Relaxation grip Effect of local branching constr. for various values of the neighborhood radius k on MIPLIB2010 instance ramos3.mps (root node relaxation) RAMP, 17 October 20145

No Neighborhood Search We investigate a different approach to get improved relaxation grip … where no (risky) invalid constraints are added to the MIP model … but the objective function is altered somehow to improve grip A naïve question: what is the role of the MIP objective function? 1.Obviously, it defines the criterion to select an “optimal” solution But also 2. It shapes the search path towards the optimum, and drives the internal heuristics RAMP, 17 October 20146

The objective function role Altering the objective function can have a big impact with respect to  time to get the optimal solution of the continuous relax. working with a simplified/different objective can lead to huge speedups (orders of magnitude)  success of the internal heuristics (diving, rounding, …) the original objective might confound heuristics (in fact, sometimes it is even reset to zero when searching for a first feasible solution)  search path towards the integer optimum by design, B&B search concentrates on solution regions where the lower bound is small (changing the objective function changes these most-explored regions) RAMP, 17 October 20147

Proximity search We want to be free to work with a modified objective function that has a better heuristic “grip” and hopefully allows the black-box solver to quickly improve the incumbent solution “Stay close” principle: we bet on the fact that improved solutions live in a close neighborhood (in terms of Hamming distance) of the incumbent, and we want to attract the search within that neighborhood Step 1. Add an explicit cutoff constraint Step 2. Replace the objective by the proximity function RAMP, 17 October 20148

A path following heuristic RAMP, 17 October 20149

Relaxation grip Effect of the cutoff constr. for various values of parameter θ on MIPLIB2010 instance ramos3 (root node relaxation) RAMP, 17 October

Related approaches Exploiting locality in optimization is of course not a new idea –Augmented Lagrangian –Primal-proximal heuristic for discrete opt. (Daniilidis & Lemarechal ‘05) –Can be seen as dual version of local branching –Feasibility Pump can be viewed as a proximal method (Boland et al. ‘12) –…–… However we observe that (as far as we know): –the approach was never analyzed computationally in previous papers –the method was not previously embedded in any MIP solver –the method has PROs and CONs that deserve investigation RAMP, 17 October

Possible implementations The way a computational idea is actually implemented (not just coded) matters Computational experience shows how difficult is to evaluate the real impact of a new idea, mainly when hybrid versions are considered and several parameters need be tuned  the so-called Frankenstein effect Stay clean: in our analysis, we deliberately avoided considering hybrid versions of proximity search (mixing objective functions, using RINS-like fixing, etc.), though we guess they can be more successful than the basic version we analyzed RAMP, 17 October

Proximity search without recentering Each time a feasible solution x* is found record it update the right-hand side of the cutoff constraint (this makes x* infeasible, so the solver works with no incumbent) continue without changing the objective function PROs: a single tree is explored, that eventually proves the optimality of the incumbent (modulo the theta-tolerance) CONs: callbacks need to be implanted in the solver (gray-box)  some features can be turned off automatically the proximity function remains “centered” on the first solution RAMP, 17 October

Proximity search with recentering As soon as a feasible solution x* (say) is found, abort the solver and Update the right-hand side of the cutoff constraint Redefine the objective function as Re-run the solver from scratch CONs: several overlapping trees are explored (wasting computing time) the root node is solved several times  time-consuming cuts should be turned off, or computed at once and stored? PROs: Easily coded (no callbacks) proximity function automatically “recentered” on the incumbent RAMP, 17 October

Proximity search with incumbent Both methods above work without an incumbent (as soon a better integer sol. is found, we cut it off)  powerful internal tools of the black-box solver (including RINS heuristic) are never activated Easy workaround: soft cutoff constraint (nonnegative slack z with BIGM penalty) min … Hence any subMIP can be warm-started with the (high-cost but) feasible integer sol. RAMP, 17 October

Faster than the LP relaxation? Example: very hard set-covering instance ramos3, initial solution of value 267 Cplex (default): –initial LP relaxation: 43 sec.s, root node took 98 sec.s –first improved sol. at node 10, after 1,163 sec.s: value 255, distance=470 Proximity search without recentering: –initial LP relaxation: 0.03 sec.s –end of root node, after 0.11 sec.s: sol. value 265, distance=3 –value 241 after 156 sec.s (200 nodes) Proximity search with recentering: –most calls require no branching at all –value 261 after 1 sec., value 237 after 75 sec.s. Proximity search with incumbent: –value 232 after 131 sec.s, value 229 after 596 sec.s. RAMP, 17 October

Computational tests We do not expect proximity search will work well in all cases… … because its primal nature can lead to a sequence of slightly- improved feasible solutions [cfr. Primal vs. Dual simplex] Three classes of 0-1 MIPs have been considered: –49 hard set covering from the literature (MIPLIB 2010, railways) –21 hard network design instances (SNDlib) –60 MIPs with convex-quadratic constraints (classification instances related to SVM with ramp loss) RAMP, 17 October

Compared heuristics Proximity search vs. Cplex in different variants (all based on IBM ILOG Cplex 12.4) All runs on an Intel i5-750 CPU running at 2.67GHz (single-thread mode) RAMP, 17 October

Some plots RAMP, 17 October

Comparision metric Trade-off between computing time and heuristic solution quality We used the primal integral measure recently proposed by where the history of the incumbent updates is plotted over time until a certain timelimit, and the relative-gap integral P(t) till time t is taken as performance measure (the smaller the better) RAMP, 17 October

Cumulative figures RAMP, 17 October Primal integrals after 5, 10, …, 1200 sec.s (the lower the better)

RAMP, 17 October

Pairwise comparisons RAMP, 17 October Probability of being 1% better than the competitor (the higher the better)

Conclusions The objective function has a strong impact in search and can be used to improve the heuristic behavior of a black-box solver Even in a proof-of-concept implementation, proximity search proved quite successful in quickly improving the initial heuristic solution Proximity search has a primal nature, and is likely to be effective when improved solutions exist which are not too far (in terms of binary variables to be flipped) from the current one Implementation already available in COIN-OR CBC and in GLPK 4.51 RAMP, 17 October

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 RAMP, 17 October