Development of the new MINLP Solver Decogo using SCIP - Status Report

Similar documents
Network Flows. 6. Lagrangian Relaxation. Programming. Fall 2010 Instructor: Dr. Masoud Yaghini

Heuristics for nonconvex MINLP

Benders Decomposition

Multiperiod Blend Scheduling Problem

Column Generation for Extended Formulations

Mixed-Integer Nonlinear Decomposition Toolbox for Pyomo (MindtPy)

Analyzing the computational impact of individual MINLP solver components

A Branch-and-Refine Method for Nonconvex Mixed-Integer Optimization

Mixed Integer Non Linear Programming

Lecture 9: Dantzig-Wolfe Decomposition

From structures to heuristics to global solvers

Software for Integer and Nonlinear Optimization

Development of an algorithm for solving mixed integer and nonconvex problems arising in electrical supply networks

Solving Mixed-Integer Nonlinear Programs

Outline. Relaxation. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Lagrangian Relaxation. Lecture 12 Single Machine Models, Column Generation

GLOBAL OPTIMIZATION WITH GAMS/BARON

Disconnecting Networks via Node Deletions

Lagrangian Relaxation in MIP

Hot-Starting NLP Solvers

An Adaptive Partition-based Approach for Solving Two-stage Stochastic Programs with Fixed Recourse

Can Li a, Ignacio E. Grossmann a,

Can Li a, Ignacio E. Grossmann a,

Implementation of an αbb-type underestimator in the SGO-algorithm

A Fast Heuristic for GO and MINLP

A Benders Algorithm for Two-Stage Stochastic Optimization Problems With Mixed Integer Recourse

Basic notions of Mixed Integer Non-Linear Programming

Feasibility Pump for Mixed Integer Nonlinear Programs 1

3.10 Lagrangian relaxation

Applications of Linear Programming

Generation and Representation of Piecewise Polyhedral Value Functions

Improved quadratic cuts for convex mixed-integer nonlinear programs

Solving nonconvex MINLP by quadratic approximation

4y Springer NONLINEAR INTEGER PROGRAMMING

Lagrange duality. The Lagrangian. We consider an optimization program of the form

An Active Set Strategy for Solving Optimization Problems with up to 200,000,000 Nonlinear Constraints

Resource Constrained Project Scheduling Linear and Integer Programming (1)

Primal-Dual Interior-Point Methods

Part 4. Decomposition Algorithms

Interior Point Algorithms for Constrained Convex Optimization

Cutting Planes in SCIP

What s New in Active-Set Methods for Nonlinear Optimization?

Benders Decomposition for the Uncapacitated Multicommodity Network Design Problem

Some Recent Advances in Mixed-Integer Nonlinear Programming

Feasibility Pump Heuristics for Column Generation Approaches

Section Notes 9. Midterm 2 Review. Applied Math / Engineering Sciences 121. Week of December 3, 2018

MVE165/MMG631 Linear and integer optimization with applications Lecture 8 Discrete optimization: theory and algorithms

Nonconvex Generalized Benders Decomposition Paul I. Barton

Integer Programming. Wolfram Wiesemann. December 6, 2007

Lagrangian Duality. Richard Lusby. Department of Management Engineering Technical University of Denmark

A Tighter Piecewise McCormick Relaxation for Bilinear Problems

minimize x subject to (x 2)(x 4) u,

Cutting Plane Separators in SCIP

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

Machine learning, ALAMO, and constrained regression

Lecture 23 Branch-and-Bound Algorithm. November 3, 2009

Scenario Grouping and Decomposition Algorithms for Chance-constrained Programs

Lecture 3: Lagrangian duality and algorithms for the Lagrangian dual problem

Column Generation in Integer Programming with Applications in Multicriteria Optimization

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model

Optimization of a Nonlinear Workload Balancing Problem

to work with) can be solved by solving their LP relaxations with the Simplex method I Cutting plane algorithms, e.g., Gomory s fractional cutting

Column Generation. ORLAB - Operations Research Laboratory. Stefano Gualandi. June 14, Politecnico di Milano, Italy

Mixed-Integer Nonlinear Programming

Integer Programming ISE 418. Lecture 8. Dr. Ted Ralphs

Strengthened Benders Cuts for Stochastic Integer Programs with Continuous Recourse

Decomposition Techniques in Mathematical Programming

Large-scale optimization and decomposition methods: outline. Column Generation and Cutting Plane methods: a unified view

Reformulation and Decomposition of Integer Programs

Lecture 7: Lagrangian Relaxation and Duality Theory

MINLP: Theory, Algorithms, Applications: Lecture 3, Basics of Algorothms

Online generation via offline selection - Low dimensional linear cuts from QP SDP relaxation -

Acceleration and Stabilization Techniques for Column Generation

A novel branch-and-bound algorithm for quadratic mixed-integer problems with quadratic constraints

Discrete Optimization 2010 Lecture 7 Introduction to Integer Programming

Convex Optimization. Newton s method. ENSAE: Optimisation 1/44

Mixed Integer Programming Solvers: from Where to Where. Andrea Lodi University of Bologna, Italy

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

Network Flow Interdiction Models and Algorithms with Resource Synergy Considerations

Parallel PIPS-SBB Multi-level parallelism for 2-stage SMIPS. Lluís-Miquel Munguia, Geoffrey M. Oxberry, Deepak Rajan, Yuji Shinano

Algorithms for Nonsmooth Optimization

Time Aggregation for Network Design to Meet Time-Constrained Demand

Applications. Stephen J. Stoyan, Maged M. Dessouky*, and Xiaoqing Wang

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs

Lecture 8: Column Generation

The Fixed Charge Transportation Problem: A Strong Formulation Based On Lagrangian Decomposition and Column Generation

Numerical Optimization. Review: Unconstrained Optimization

MILP reformulation of the multi-echelon stochastic inventory system with uncertain demands

where X is the feasible region, i.e., the set of the feasible solutions.

Regularized optimization techniques for multistage stochastic programming

Travelling Salesman Problem

Stochastic Integer Programming

Solving large Semidefinite Programs - Part 1 and 2

Extended Formulations, Lagrangian Relaxation, & Column Generation: tackling large scale applications

Convexification of Mixed-Integer Quadratically Constrained Quadratic Programs

Pedro Munari - COA 2017, February 10th, University of Edinburgh, Scotland, UK 2

A Continuation Approach Using NCP Function for Solving Max-Cut Problem

ECE Optimization for wireless networks Final. minimize f o (x) s.t. Ax = b,

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA

Modeling and solving the Euclidean Steiner Problem

Two-stage stochastic (and distributionally robust) p-order conic mixed integer programs: Tight second stage formulations

Transcription:

Development of the new MINLP Solver Decogo using SCIP - Status Report Pavlo Muts with Norman Breitfeld, Vitali Gintner, Ivo Nowak SCIP Workshop 2018, Aachen

Table of contents 1. Introduction 2. Automatic decomposition 3. Adaptive Outer Approximation 4. Inner- and Outer-Refinement 5. Preliminary results with column generation 6. Final Remarks 1

Introduction

Motivation and Goal Motivation: 1. Branch&Bound is currently the standard MINLP approach, but search-tree can grow rapidly 2. Experience with parallel Column Generation (Inner Approximation) for solving huge crew scheduling problems with 100.000.000 variables, but duality gap must be small 3. Adaptive Outer Approximation (OA) faster than B&B for some special nonconvex MINLPs, e.g. separable, but number of binary variables can be large Goal: Implementation of the nonconvex MINLP solver Decogo using: 1. Automatic Decomposition : for block-separable reformulation 2. Adaptive OA: for solving medium-scale MINLPs 3. Parallel Inner/Outer Refinement: for solving large-scale MINLPs 2

Complex optimization problems with a modular structure 1. Energy system planning Modules: system components Subproblem: MINLP under uncertainty (project 2017-2020 with TU-Berlin) 3

Complex optimization problems with a modular structure 1. Energy system planning Modules: system components Subproblem: MINLP under uncertainty (project 2017-2020 with TU-Berlin) 2. Topology optimization Modules: system components (e.g. wing rib) Subproblem: PDE-constrained MIQQP Altair Hyperworks 3

Complex optimization problems with a modular structure 1. Energy system planning Modules: system components Subproblem: MINLP under uncertainty (project 2017-2020 with TU-Berlin) 2. Topology optimization Modules: system components (e.g. wing rib) Subproblem: PDE-constrained MIQQP Altair Hyperworks 3. Crew scheduling (LH Systems) Modules: crew members Subproblem: constrained shortest path 3

Decogo (Decomposition-based Global Optimizer) Decogo is written in Python and uses the modeling and optimization framework Pyomo. Ipopt is used for solving for NLPs, LPs and SCIP for MINLPs, MIPs 4

Decogo (Decomposition-based Global Optimizer) Decogo is written in Python and uses the modeling and optimization framework Pyomo. Ipopt is used for solving for NLPs, LPs and SCIP for MINLPs, MIPs 4

Project and References Decogo is developed in the project (2017-2020): MINLP-Optimization of Design and Operation of Complex Energy Systems HAW-Hamburg (V. Gintner, P. Muts, I. Nowak): development of Decogo TU-Berlin (S. Bruche, E. Papadis, G. Tsatsaronis): development of energy system models under uncertainty Mitsubishi Hitachi Power Systems Europe GmbH (A. Heberle): providing data and consultation References: Decomposition-based Inner- and Outer-Refinement Algorithms for Global Optimization, I. Nowak, N. Breitfeld, E. Hendrix, and G. Njacheun-Njanzoua, JOGO, 2018 Column Generation based Alternating Direction Methods for solving MINLPs, I. Nowak, www.optimization-online, 2015 For more information see: www.researchgate.net/project/decomposition- Methods-for-Mixed-Integer-Nonlinear-Optimization 5

Automatic decomposition

Block-separable MINLP reformulation Goal: reformulation of a sparse optimization problem as a block-separable MINLP with arbitrary block-sizes min{c T x : x P G}, G := k K G k with linear global constraints: P := {x R n : Ax b} nonlinear local (nonconvex) constraints: G k := {y R n k1 Z n k2 : g j (y) 0, j J k } 6

Basic steps X - set of variables, K - number of blocks 1. Divide the set of variables X into K disjoint subsets with arbitrary size 2. Reformulate the problem by adding new variables with following requirements: Objective function is linear Global constraints are linear Nonlinear constraints are local 7

Blocks partition: connected components G = (V, E), V = {v i : v i X }, E = {e ij : e ij = (x i, x j ), 2 f m where is Hessian x i x j of Lagrangian. 2 f m x i x j 0}, 8

Blocks partition: connected components G = (V, E), V = {v i : v i X }, E = {e ij : e ij = (x i, x j ), 2 f m where is Hessian x i x j of Lagrangian. Advantages: Easy implementation 2 f m x i x j 0}, Less number of new variables for the reformulation Disadvantage: Impossible to divide the set of variables with a given block size 8

Blocks partition: new idea New weighted graph (or hypergraph): G = (V, E), V = {v i : v i X }, E = {e ij : e ij = (x i, x j ), w(v i ) = W i, W i = {w i N : number of terms in 2 f m 2 x i }, w(e ij ) = W ij, W ij = {w ij N : number of terms in 2 f m x i x j }. The weights are possibly multiplied by some factors. 2 f m x i x j 0}, 9

Blocks partition: new idea New weighted graph (or hypergraph): G = (V, E), V = {v i : v i X }, E = {e ij : e ij = (x i, x j ), w(v i ) = W i, W i = {w i N : number of terms in 2 f m 2 x i }, w(e ij ) = W ij, W ij = {w ij N : number of terms in 2 f m x i x j }. The weights are possibly multiplied by some factors. Minimum k-cut partition: k 1 min k i=1 j=i+1 n:v n c i m:v m c j w(e nm) + k w(v j ), v j c i i=1 where C = {c 1,..., c k } disjoint subsets of V. 2 f m x i x j 0}, 9

Adaptive Outer Approximation

Convex-Concave Reformulation and MIP Outer-Approximation Reformulation of MINLP as a Convex-Concave Program (CCP) by replacing nonconvex constraint functions by a DC-formulation g(x) 0 g(x) + σ( x 2 t) 0, t x 2 0 where the convexification parameters σ are updated dynamically 10

Convex-Concave Reformulation and MIP Outer-Approximation Reformulation of MINLP as a Convex-Concave Program (CCP) by replacing nonconvex constraint functions by a DC-formulation g(x) 0 g(x) + σ( x 2 t) 0, t x 2 0 where the convexification parameters σ are updated dynamically MIP outer approximation: replace convex functions by linear approximations Č replace separable concave functions by piecewise linear functions ˇQ B MIPOA: min c(x) : x ˇP, (x, t) Č ˇQ B 10

Adaptive MIP based OA-Solver The OA-Solver solves a CCP by successively updating MIPOAs using a limited number of breakpoints 11

Adaptive MIP based OA-Solver The OA-Solver solves a CCP by successively updating MIPOAs using a limited number of breakpoints adaptsolveccp 1. compute a solution of the MIPOA 2. project solution onto feasible set G 3. add linearization cuts to Č 4. update breakpoints of ˇQ B and convexification parameters σ The OA-Solver is used for solving medium-scale MINLP-subproblems and for computing lower bounds of the (large-scale) original MINLP 11

Inner- and Outer-Refinement

LP inner and outer approximation CG successively improves the LP inner-approximation (IA) (restricted master problem) x 0 = argmin{c T x : x P conv(s)} by adding points to a sample set S G by solving MINLP subproblems. The IA is equivalent to min{c T x(z) : x(z) P, z k K Vk }, x(z) := v V k ŷ kv z kv 12

LP inner and outer approximation CG successively improves the LP inner-approximation (IA) (restricted master problem) x 0 = argmin{c T x : x P conv(s)} by adding points to a sample set S G by solving MINLP subproblems. The IA is equivalent to min{c T x(z) : x(z) P, z k K Vk }, z kv is called L-score. z kv 1/dist(y kv, x 0k ), i.e. if z kv 1, then ŷ kv x 0k x(z) := v V k ŷ kv z kv left: similar L-scores right: different L-scores duality gap c T x c T x 0 is smaller 12

LP inner and outer approximation LP outer-approximation (OA) min{c T x : x ˇP} where ˇP P G is a polyhedron CG solves the convex relaxation (CR): min{c T x : x P conv(g)} and generates inner and outer approximations. 13

Decomposition-based Inner- and Outer-Refinement (Dior) 1. ˇP autodecomp 2. Č initccp( ˇP) 3. ( ˇP, Č) reducebox( ˇP, Č) # reduce bounding box 4. (z, S, ˇP, Č) colgenstart( ˇP, Č) # init IA/OA 5. (v, v, x ) outermipheu (x(z), ˇP, Č) # compute sol. 6. Repeat 6.1 ( ˇP, Č) addoptcuts (x, ˇP, Č) # cut off sol. 6.2 (z, S, ˇP, Č) addlagcuts (S, ˇP, Č) # improve IA/OA 6.3 (v, v, x ) outermipheu (x(z), ˇP, Č) # compute sol. 6.4 Until v v < ɛ or stopping criterion 7. Return (v, v, x ) 14

Preliminary results with column generation

Example 1 from MINLPLib: pooling problem 1 All experiments were performed on Windows-based computer with 16 GB RAM and Intel Core i7-7820hq CPU running at 3.8 GHz Reformulation: The problem has 3 blocks with size 9 in Hessian of Lagrangian. After reformulation: K =4 blocks with block sizes (21, 21, 21, 5). Comparison of original problem and reformulated: original problem after reformulation Number of variables 32 68 Linear constraints 8 19 Nonlinear constraints 11 36 1 http://www.minlplib.org/ex5 2 5.html 15

Example 1 from MINLPLib: pooling problem Best known solutions: Primal bound Dual bound -3500-3500.000004 (ANTIGONE) -6233.265793 (BARON) -7496.090988 (SCIP) Our result: Estimate of the lower bound = val(oa) = -13330.3708 in 48s. Estimate of the upper bound = val(ia) = -3373.71873 Gap reported by SCIP = 8857.92 Convergence of SCIP is slow termination after 10000 nodes val(oa) = -3671.3708 in 9 hours. 16

Example 2 from MINLPLib: QCP 2 Reformulation: The problem has 16 blocks with average blocksize in Hessian of Lagrangian 7.5625. After reformulation: K =17 blocks with average block size 23. Comparison of original problem and reformulated: original problem after reformulation Number of variables 126 391 Linear constraints 28 93 Nonlinear constraints 65 265 2 http://www.minlplib.org/ex8 3 8.html 17

Example 2 from MINLPLib Best known solutions: Primal bound Dual bound -3.25611909-5.70013654 (ANTIGONE) -10.00000000 (BARON) -10.00000000 (SCIP) Our result: Estimate of the lower bound = val(oa) = -10.0 in 369s. Estimate of the upper bound = val(ia) = -9.6 Gap reported by SCIP = 20676.41 Convergence of SCIP is slow termination after 10000 nodes 18

Final Remarks

Remarks Dior: new exact MINLP approach, not based on B&B motivated by CG for huge transport optimization problems successive approximation method, which iteratively finds better points by improving inner- and outer-approximations 19

Remarks Dior: new exact MINLP approach, not based on B&B motivated by CG for huge transport optimization problems successive approximation method, which iteratively finds better points by improving inner- and outer-approximations Advantages: no search tree parallel solving (small difficult) sub-problems general approach for modular/sparse problems 19

Remarks Dior: new exact MINLP approach, not based on B&B motivated by CG for huge transport optimization problems successive approximation method, which iteratively finds better points by improving inner- and outer-approximations Advantages: no search tree parallel solving (small difficult) sub-problems general approach for modular/sparse problems Next steps: finish implementation of Decogo (new project) solve energy system planning and topology optimization problems 19

Questions? 19