Tutorials on Advanced Optimization Methods

Total Page:16

File Type:pdf, Size:1020Kb

Tutorials on Advanced Optimization Methods Wei Wei, Tsinghua University Tutorials on Advanced Optimization Methods July 19, 2020 Springer Tutorials on Advanced Optimization Methods Wei Wei, Tsinghua University This material is the appendix part of my book collaborated with Professor Jianhui Wang at Southern Methodist University: Wei Wei, Jianhui Wang. Modeling and Optimization of Interdependent Energy Infrastructures. Springer Nature Switzerland, 2020. https://link.springer.com/book/10.1007%2F978-3-030-25958-7 This material provides thorough tutorials on some optimization techniques frequently used in various engineering disciplines, including Convex optimization | Linearization technique and mixed-integer linear programming | Robust optimization | Equilibrium/game problems | It discusses how to reformulate a difficult (non-convex, multi-agent, min- max) problem to a solver-compatible form (semidefinite program, mixed- integer linear program) via convexification, linearization, and decomposition, so the original problem can be reliably solved by commercial/open-source software. Fundamental algorithms (simplex algorithm, interior-point algo- rithm) are not the main focus. This material is a good reference for self-learners who have basic knowledge in linear algebra and linear programming. It is one of the main references for an optimization course taught at Tsinghua University. If you need teaching slides, please contact [email protected] or find the up-to-date contact information at https://sites.google.com/view/weiweipes/ 1 Contents A Basics of Linear and Conic Programs ..................... 7 A.1 Basic Notations . 8 A.1.1 Convex Sets . 8 A.1.2 Generalized Inequalities . 13 A.1.3 Dual Cones and Dual Generalized Inequalities . 14 A.1.4 Convex Function and Epigraph. 16 A.2 From Linear to Conic Program . 18 A.2.1 Linear Program and its Duality Theory . 18 A.2.2 General Conic Linear Program . 23 A.2.3 Second-order Cone Program . 27 A.2.4 Semidefinite Program . 34 A.3 Convex Relaxation Methods for Non-convex QCQPs . 39 A.3.1 SDP Relaxation and Valid Inequalities . 40 A.3.2 Successively Tightening the Relaxation . 43 A.3.3 Completely Positive Program Relaxation . 47 A.3.4 MILP Approximation . 49 A.4 MILP Formulation of Nonconvex QPs . 50 A.4.1 Nonconvex QPs over polyhedra . 50 A.4.2 Standard Nonconvex QPs . 53 A.5 Further Reading . 55 References . 57 B Formulation Recipes in Integer Programming . 61 B.1 Piecewise Linear Approximation of Nonlinear Functions . 62 B.1.1 Univariate Continuous Function . 62 B.1.2 Bivariate Continuous Nonlinear Function . 67 B.1.3 Approximation Error . 70 B.2 Linear Formulation of Product Terms . 72 B.2.1 Product of Two Binary Variables . 72 B.2.2 Product of Integer and Continuous Variables . 73 B.2.3 Product of Two Continuous Variables . 74 3 4 Contents B.2.4 Monomial of Binary Variables . 76 B.2.5 Product of Functions in Integer Variables . 77 B.2.6 Log-sum Functions . 78 B.3 Other Frequently used Formulations . 79 B.3.1 Minimum Values . 79 B.3.2 Maximum Values . 79 B.3.3 Absolute Values . 80 B.3.4 Linear Fractional of Binary Variables . 80 B.3.5 Disjunctive Inequalities . 81 B.3.6 Logical Conditions. 85 B.4 Further Reading . 86 References . 87 C Basics of Robust Optimization ............................ 89 C.1 Static Robust Optimization . 90 C.1.1 Basic Assumptions and Formulations . 91 C.1.2 Tractable Reformulations . 93 C.1.3 Formulation Issues . 97 C.2 Adjustable Robust Optimization . 104 C.2.1 Basic Assumptions and Formulations . 104 C.2.2 Affine Policy Based Approximation Model . 108 C.2.3 Algorithms for Fully Adjustable Models . 110 C.3 Distributionally Robust Optimization . 119 C.3.1 Static Distributionally Robust Optimization . 120 C.3.2 Adjustable Distributionally Robust Optimization . 129 C.4 Data-driven Robust Stochastic Program . 133 C.4.1 Robust Chance Constrained Stochastic Program . 134 C.4.2 Stochastic Program with Discrete Distributions . 148 C.4.3 Formulations based on Wasserstein Metric . 153 C.5 Further Reading . 168 References . 170 D Equilibrium Problems .................................... 175 D.1 Standard Nash Equilibrium Problem . 176 D.1.1 Formulation and Optimality Condition . 176 D.1.2 Variational Inequality Formulation . 177 D.1.3 Best Response Algorithms . 180 D.1.4 Nash Equilibrium of Matrix Games . 182 D.1.5 Potential Games . 186 D.2 Generalized Nash Equilibrium Problem . 189 D.2.1 Formulation and Optimality Condition . 190 D.2.2 Best-Response Algorithm . 195 D.3 Bilevel Programs . 198 D.3.1 Bilevel Programs with a Convex Lower Level . 198 D.3.2 Special Bilevel Programs . 204 Contents 5 D.3.3 Bilevel Mixed-integer Program . 212 D.4 Mathematical Programs with Equilibrium Constraints . 217 D.4.1 Mathematical Formulation. 217 D.4.2 Linear Complementarity Problem . 218 D.4.3 Linear Programs with Complementarity Constraints . 222 D.5 Equilibrium Programs with Equilibrium Constraints . 222 D.5.1 Mathematical model . 223 D.5.2 Methods for Solving an EPEC . 223 D.6 Conclusions and Further Reading . 229 References . 230 Appendix A Basics of Linear and Conic Programs The great watershed in optimization isn't between linearity and nonlinearity, but convexity and non-convexity. −Ralph Tyrrell Rockafellar The mathematical programming theory has been thoroughly developed in width and depth since its birth in 1940s, when George Dantzig invented simplex algorithm for linear programming. The most influential findings in the field of optimization theory can be summarized as [1]: 1) Recognition of the fact that under mild conditions, a convex optimiza- tion program is computationally tractable: the computational effort under a given accuracy grows moderately with the problem size even in the worst case. In contrast, a non-convex program is generally computationally intractable: the computational effort of the best known methods grows prohibitively fast with respect to the problem size, and it is reasonable to believe that this is an intrinsic feature of such problems rather than a limitation of existing optimization techniques. 2) The discovery of interior-point methods, which was originally developed in 1980s to solve LPs and could be generalized to solve convex optimization problems as well. Moreover, between these two extremes (LPs and general convex programs), there are many important and useful convex programs. Although nonlinear, they still possess nice structured properties, which can be utilized to develop more dedicated algorithms. These polynomial-time interior-point algorithms turn out to be considerably more efficient than those exploiting only the convex property. The superiority of formulating a problem as a convex optimization prob- lem is apparent. The most appealing advantage is that the problem can be solved reliably and efficiently. It is also convenient to build the associated dual problem, which gives insights on sensitivity information and may help develop distributed algorithm for solving the problem. Convex optimization has been applied in a number of energy system operational issues, and well acknowledged for its computational superiority. We believe that it is imper- ative for researchers and engineers to develop certain understanding on this important topic. As we have already learnt in previous chapters, many optimization prob- lems in energy system engineering can be formulated as or converted to con- 7 8 A Basics of Linear and Conic Programs vex programs. The goal of this chapter is to help readers develop necessary background knowledge and skills to apply several well-structured convex op- timization models, including LPs, SOCPs, and SDPs, i.e., to formulate or transform their problems as these specific convex programs. Certainly, convex transformation (or convexification) may be rather tricky and require special knowledge and skills. Nevertheless, the attempt often turns out to be worth- while. We also pay special attention to nonconvex QCQPs, which can model various decision-making problems in engineering, such as optimal power flow in Chap. ?? and optimal gas flow in Chap. ??. We discuss convex relaxation technique based on SDP,which is shown to be very useful to get a high-quality objective lower bound. We also present MILP formulations for some special QPs; because of the special problem structure, these MILP models can tackle practically sized problems in reasonable time. Most materials regarding convex sets and functions come from [2] and its solution manual [3]; extensions of duality theory from linear programming to conic programming follows from [1]. We consolidate necessary contents in a convenient way to make this book self-contained and easy to follow. A.1 Basic Notations A.1.1 Convex Sets A set C Rn is convex if the line segment connecting any two points in C 2 is contained in C, i.e., for any x1; x2 C, we have θx1 + (1 θ)x2 C, θ [0; 1]. Roughly speaking, standing2 at anywhere in a convex− set, you2 can see8 2 every other point in the set. Fig. A.1 illustrates a simple convex set and a non-convex set in R2. Fig. A.1 Left: the circle is convex; right: the ring is non-convex. The convex combination of k points x ; ; xk is defined as θ x + + 1 ··· 1 1 ··· θkxk, where θ ; ; θk 0, and θ + + θk = 1. A convex combination 1 ··· ≥ 1 ··· of points can be regarded as a weighted average of the points, with θi the weight of xi in the mixture. A.1 Basic Notations 9 The convex hull of set C, denoted conv(C), is the smallest convex set that contains C. Particularly, if C has finite elements, then conv(C) = θ x + +θkxk xi C; θi 0; i = 1; ; k; θ + +θk = 1 f 1 1 ··· j 2 ≥ ··· 1 ··· g Fig. A.2 illustrates the convex hulls of two sets in R2. Some useful convex sets are briefly introduced. Fig. A.2 Left: The convex hull of eighteen points. Right: The convex hull of a kidney shaped set.
Recommended publications
  • IBM Research Report Branch and Bound, Integer and Non-Integer
    RC22890 (W0309-010) September 3, 2003 Mathematics IBM Research Report Branch and Bound, Integer and Non-Integer Programming J. J. H. Forrest IBM Research Division Thomas J. Watson Research Center P.O. Box 218 Yorktown Heights, NY 10598 J. A. Tomlin IBM Research Division Almaden Research Center 650 Harry Road San Jose, CA 95120-6099 Research Division Almaden - Austin - Beijing - Delhi - Haifa - India - T. J. Watson - Tokyo - Zurich LIMITED DISTRIBUTION NOTICE: This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g. , payment of royalties). Copies may be requested from IBM T. J. Watson Research Center , P. O. Box 218, Yorktown Heights, NY 10598 USA (email: [email protected]). Some reports are available on the internet at http://domino.watson.ibm.com/library/CyberDig.nsf/home . Branch and Bound, Integer, and Non-Integer Programming J.J.H. Forrest IBM Watson Research Center, Yorktown Heights, NY 10598 J. A. Tomlin IBM Almaden Research Center, San Jose, CA 95120 {[email protected],[email protected]} Abstract In this note we review the development of the first commercial branch and bound codes at CEIR/Scicon, with particular emphasis on those features not commonly emphasized today—that is the use of branch and bound to handle discrete constructs, which, while often formally representable in terms of zero-one integer variables, can be handled more elegantly and effectively by applying branch and bound to the actual dichotomies in the model.
    [Show full text]
  • ILOG AMPL CPLEX System Version 9.0 User's Guide
    ILOG AMPL CPLEX System Version 9.0 User’s Guide Standard (Command-line) Version Including CPLEX Directives September 2003 Copyright © 1987-2003, by ILOG S.A. All rights reserved. ILOG, the ILOG design, CPLEX, and all other logos and product and service names of ILOG are registered trademarks or trademarks of ILOG in France, the U.S. and/or other countries. JavaTM and all Java-based marks are either trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Microsoft, Windows, and Windows NT are either trademarks or registered trademarks of Microsoft Corporation in the U.S. and other countries. All other brand, product and company names are trademarks or registered trademarks of their respective holders. AMPL is a registered trademark of AMPL Optimization LLC and is distributed under license by ILOG.. CPLEX is a registered trademark of ILOG.. Printed in France. CO N T E N T S Table of Contents Chapter 1 Introduction . 1 Welcome to AMPL . .1 Using this Guide. .1 Installing AMPL . .2 Requirements. .2 Unix Installation . .3 Windows Installation . .3 AMPL and Parallel CPLEX. 4 Licensing . .4 Usage Notes . .4 Installed Files . .5 Chapter 2 Using AMPL. 7 Running AMPL . .7 Using a Text Editor . .7 Running AMPL in Batch Mode . .8 Chapter 3 AMPL-Solver Interaction . 11 Choosing a Solver . .11 Specifying Solver Options . .12 Initial Variable Values and Solvers. .13 ILOG AMPL CPLEX SYSTEM 9.0 — USER’ S GUIDE v Problem and Solution Files. .13 Saving temporary files . .14 Creating Auxiliary Files . .15 Running Solvers Outside AMPL. .16 Using MPS File Format .
    [Show full text]
  • Applying Piecewise Linear Characteristic Curves in District Energy Optimisation Bryn Pickeringa#, Ruchi Choudharya^
    PROCEEDINGS OF ECOS 2017 - THE 30TH INTERNATIONAL CONFERENCE ON EFFICIENCY, COST, OPTIMIZATION, SIMULATION AND ENVIRONMENTAL IMPACT OF ENERGY SYSTEMS JULY 2-JULY 6, 2017, SAN DIEGO, CALIFORNIA, USA Applying Piecewise Linear Characteristic Curves in District Energy Optimisation Bryn Pickeringa#, Ruchi Choudharya^ a Department of Engineering, University of Cambridge Trumpington Street, Cambridge, CB2 1PZ, United Kingdom, # [email protected], ^ [email protected] Abstract: Representing nonlinear curves as piecewise elements allows complex systems to be optimised by linear programs. Piecewise linearisation has been recently introduced in the context of distributed energy system optimisation. It is an efficient technique for representing non-linear technology behaviours in linear optimisation models, which are favourable in district energy optimisation models, owing to their speed and ability to handle large numbers of design variables. This paper describes a method of automating the creation of piecewise elements of technology performance curves for minimum fit error. The results show an objective function value improvement at a relatively large penalty in solution time: from 1.6 times to 58 times longer than describing technologies as having a single value for efficiency (SVE). We show that within the context of common technology performance curves, three breakpoints yield sufficiently accurate results and any returns are diminishing beyond that. Even at three breakpoints, it is evident that the placement of breakpoints along a curve significantly influences solution time, in a way for which it is not possible to account in automation. But, large savings can be made by automation by including a constraint to ensure piecewise curves have a strictly increasing/decreasing gradient.
    [Show full text]
  • Piecewise-Linear Approximation for Feature Subset Selection in A
    PIECEWISE-LINEAR APPROXIMATION FOR FEATURE SUBSET SELECTION IN A SEQUENTIAL LOGIT MODEL Toshiki Sato Yuichi Takano Ryuhei Miyashiro University of Tsukuba Senshu University Tokyo University of Agriculture and Technology (October 7, 2015) Abstract This paper concerns a method of selecting a subset of features for a sequential logit model. Tanaka and Nakagawa (2014) proposed a mixed integer quadratic optimization formulation for solving the problem based on a quadratic approximation of the logistic loss function. However, since there is a significant gap between the logistic loss function and its quadratic approximation, their formulation may fail to find a good subset of features. To overcome this drawback, we apply a piecewise-linear approximation to the logistic loss function. Accordingly, we frame the feature subset selection problem of minimizing an information criterion as a mixed integer linear optimization problem. The computational results demonstrate that our piecewise-linear approximation approach found a better subset of features than the quadratic approximation approach. Keywords: Optimization, statistics, feature subset selection, sequential logit model, piecewise- linear approximation, information criterion 1. Introduction The analysis of ordinal categorical data [3, 23] is required in various areas including finance, econometrics, and bioinformatics. For instance, credit ratings of financial instruments are typical ordinal categorical data, and thus, many previous studies have analyzed such data by means of ordinal classification models (see, e.g., [1, 12, 28]). A sequential logit model [5, 17, 33], also known as the continuation ratio model [2, 14], is a commonly used ordinal classification model. It predicts an ordinal class label for each sample by successively applying separate logistic regression models.
    [Show full text]
  • Integer Optimization Methods for Machine Learning by Allison an Chang Sc.B
    Integer Optimization Methods for Machine Learning by Allison An Chang Sc.B. Applied Mathematics, Brown University (2007) Submitted to the Sloan School of Management in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Operations Research at the MASSACHUSETTS INSTITUTE OF TECHNOLOGY June 2012 c Massachusetts Institute of Technology 2012. All rights reserved. Author............................................. ................. Sloan School of Management May 18, 2012 Certified by......................................... ................. Dimitris Bertsimas Boeing Leaders for Global Operations Professor Co-Director, Operations Research Center Thesis Supervisor Certified by......................................... ................. Cynthia Rudin Assistant Professor of Statistics Thesis Supervisor Accepted by......................................... ................ Patrick Jaillet Dugald C. Jackson Professor Department of Electrical Engineering and Computer Science Co-Director, Operations Research Center 2 Integer Optimization Methods for Machine Learning by Allison An Chang Submitted to the Sloan School of Management on May 18, 2012, in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Operations Research Abstract In this thesis, we propose new mixed integer optimization (MIO) methods to ad- dress problems in machine learning. The first part develops methods for supervised bipartite ranking, which arises in prioritization tasks in diverse domains such as infor- mation retrieval, recommender systems, natural language processing, bioinformatics, and preventative maintenance. The primary advantage of using MIO for ranking is that it allows for direct optimization of ranking quality measures, as opposed to current state-of-the-art algorithms that use heuristic loss functions. We demonstrate using a number of datasets that our approach can outperform other ranking methods. The second part of the thesis focuses on reverse-engineering ranking models.
    [Show full text]
  • Polylithic Modeling and Solution Approaches Using Algebraic Modeling Systems
    Polylithic Modeling and Solution Approaches Using Algebraic Modeling Systems Josef Kallrath Department of Astronomy University of Florida Gainesville, FL 32611, USA [email protected] Abstract. Based on the Greek term monolithos (stone consisting of one single block) Kallrath (2009) introduced the term polylithic for modeling and solution approaches in which mixed integer or non-convex nonlinear optimization problems are solved by tailor-made methods involving sev- eral models and/or algorithmic components, in which the solution of one model is input to another one. This can be exploited to initialize certain variables, or to provide bounds on them (problem-specific preprocess- ing). Mathematical examples of polylithic approaches are decomposition techniques, or hybrid methods in which constructive heuristics and local search improvement methods are coupled with exact MIP algorithms Tailor-made polylithic solution approaches with thousands or mil- lions of solve statements are challenges on algebraic modeling languages. Local objects and procedural structures are almost necessary. Warm- start and hot-start techniques can be essential. The effort of developing complex tailor-made polylithic solutions is awarded by enabling us to solve real-world problems far beyond the limits of monolithic approaches and general purpose solvers. Keywords: algebraic modeling languages, branch&price, column gen- eration, decomposition, hybrid methods, monolithic, primal methods, polylithic, problem-specific preprocessing 1 Introduction Instead of solving
    [Show full text]
  • Performance Comparisons of IP Problem Formulation
    IT 12 059 Examensarbete 15 hp November 2012 Performance Comparisons of IP Problem Formulation Joakim Lindqvist Institutionen för informationsteknologi Department of Information Technology Abstract Performance Comparisons of IP Problem Formulation Joakim Lindqvist Teknisk- naturvetenskaplig fakultet UTH-enheten When solving optimization problems, the importance of speed can not be emphasized enough for many organizations. One company encountered Besöksadress: a major performance difference when solving a problem with the same Ångströmlaboratoriet Lägerhyddsvägen 1 integer programming solver, in two different locations. The difference was Hus 4, Plan 0 shown not to be caused by the environment of the solver, but rather a reformulation of the problem. However, the reformulation did not improve Postadress: the performance of an expanded version of the problem. By analyzing and Box 536 751 21 Uppsala comparing the two versions one might be able to find the properties of a problem which enables the reformulation to reduce the solving time. Telefon: This in turn can be used to identify for which problems the reformulation 018 – 471 30 03 should be applied to increase the speed at which they are solved. Telefax: 018 – 471 30 00 Hemsida: http://www.teknat.uu.se/student Handledare: Arne Andersson Ämnesgranskare: Pierre Flener Examinator: Olle Gällmo IT 12 059 Tryckt av: Reprocentralen ITC Contents 1 Introduction 1 2 Background 2 2.1 Linear Programming . 2 2.1.1 History . 2 2.1.2 The LP Problem . 3 2.1.3 An LP Example . 4 2.2 Integer Programming . 4 2.3 Solving IP Problems . 6 2.4 Special Ordered Sets . 7 2.4.1 SOS Type 1 .
    [Show full text]
  • A Comparative Study of SQP-Type Algorithms for Nonlinear and Nonconvex Mixed-Integer Optimization
    Math. Prog. Comp. (2012) 4:383–412 DOI 10.1007/s12532-012-0045-0 FULL LENGTH PAPER A comparative study of SQP-type algorithms for nonlinear and nonconvex mixed-integer optimization Oliver Exler · Thomas Lehmann · Klaus Schittkowski Received: 24 March 2012 / Accepted: 11 July 2012 / Published online: 5 August 2012 © Springer and Mathematical Optimization Society 2012 Abstract We present numerical results of a comparative study of codes for nonlin- ear and nonconvex mixed-integer optimization. The underlying algorithms are based on sequential quadratic programming (SQP) with stabilization by trust-regions, linear outer approximations, and branch-and-bound techniques. The mixed-integer quadratic programming subproblems are solved by a branch-and-cut algorithm. Second order information is updated by a quasi-Newton update formula (BFGS) applied to the Lagrange function for continuous, but also for integer variables. We do not require that the model functions can be evaluated at fractional values of the integer variables. Thus, partial derivatives with respect to integer variables are replaced by descent directions obtained from function values at neighboring grid points, and the number of simulations or function evaluations, respectively, is our main performance criterion to measure the efficiency of a code. Numerical results are presented for a set of 100 academic mixed-integer test problems. Since not all of our test examples are convex, we reach the best-known solutions in about 90 % of the test runs, but at least feasible solutions in the other cases. The average number of function evaluations of the new mixed-integer SQP code is between 240 and 500 including those needed for one- or two-sided approximations of partial derivatives or descent directions, respectively.
    [Show full text]
  • Mathematical Programming Society Newsletter Cussion Ofafewalgorithmsandproofswhichwillhopefullygivesomeflavor Ofourwork
    58 O N O P T I M A Mathematical Programming Society Newsletter JUNE 1998 David Karger was awarded the 1997 Tucker Prize by the Randomization in Society for his thesis Random Graph Optimization Sampling in Graph Optimiza- tion Problems. The jury found Problems: A Survey his contribution, on the inter- face between computer sci- David Karger* ence and optimization, deep and elegant. To make David’s Abstract work even better known among the membership, I Randomization has become a pervasive technique in combinatorial invited him to write a feature optimization. We survey our thesis and subsequent work, which article on some of his very uses four common randomization techniques to attack numerous interesting techniques and optimization problems on undirected graphs. results. David Karger obtained an A.B. degree from Harvard 1 Introduction University, a Math Certificate Randomization has become a pervasive technique in combinatorial optimization. Randomization has been used from Cambridge University, to develop algorithms that are faster, simpler, and/or better-performing than previous deterministic algorithms. and a Ph.D. degree from This article surveys our thesis [Kar94], which presents randomized algorithms for numerous problems on Stanford University. Apart undirected graphs. Our work uses four important randomization techniques: Random Selection, which lets us from the Tucker Prize, David easily choose a “typical” element of a set, avoiding rare “bad” elements; Random Sampling, which provides a has been awarded numerous quick way to build a small, representative subproblem of a larger problem for quick analysis; Randomized other fellowships and prizes, such as the ACM Doctoral Rounding, which lets us transform fractional problem solutions into integral ones; and Monte Carlo Simula- Dissertation award, an Alfred tion, which lets us estimate the probabilities of interesting events.
    [Show full text]
  • Mathoptinterface: a Data Structure for Mathematical Optimization Problems 2
    MathOptInterface: a data structure for mathematical optimization problems Benoˆıt Legat ICTEAM, UCLouvain, Louvain-la-Neuve, Belgium, [email protected] Oscar Dowson Department of Industrial Engineering and Management Sciences at Northwestern University, Evanston, IL, [email protected] Joaquim Dias Garcia PSR & PUC-Rio, Rio de Janeiro, Brazil, [email protected] Miles Lubin Google Research, New York, NY, [email protected] We introduce MathOptInterface, an abstract data structure for representing mathematical optimization problems based on combining pre-defined functions and sets. MathOptInterface is significantly more general than existing data structures in the literature, encompassing, for example, a spectrum of problems classes from integer programming with indicator constraints to bilinear semidefinite programming. We also outline an automated rewriting system between equivalent formulations of a constraint. MathOptInterface has been implemented in practice, forming the foundation of a recent rewrite of JuMP, an open-source algebraic mod- eling language in the Julia language. The regularity of the MathOptInterface representation leads naturally to a general file format for mathematical optimization we call MathOptFormat. In addition, the automated rewriting system provides modeling power to users while making it easy to connect new solvers to JuMP. Key words : algebraic modeling language; Julia; JuMP; problem formats 1. Introduction arXiv:2002.03447v2 [math.OC] 16 Sep 2020 JuMP (Lubin and Dunning 2015, Dunning et al. 2017) is an algebraic modeling lan- guage for mathematical optimization written in the Julia language (Bezanson et al. 2017). JuMP, like other algebraic modeling languages (e.g., AMPL (Fourer et al. 1990), Convex.jl (Udell et al. 2014), CVX (Grant and Boyd 2014), CVXPY (Diamond and Boyd 2016), GAMS (Brook et al.
    [Show full text]
  • Optimization: Applications, Algorithms, and Computation
    Optimization: Applications, Algorithms, and Computation 24 Lectures on Nonlinear Optimization and Beyond Sven Leyffer (with help from Pietro Belotti, Christian Kirches, Jeff Linderoth, Jim Luedtke, and Ashutosh Mahajan) August 30, 2016 To my wife Gwen my parents Inge and Werner; and my teacher and mentor Roger. This manuscript has been created by the UChicago Argonne, LLC, Operator of Argonne National Laboratory (“Argonne”) under Contract No. DE-AC02-06CH11357 with the U.S. Department of Energy. The U.S. Government retains for itself, and others acting on its behalf, a paid-up, nonexclusive, irrevocable worldwide license in said article to reproduce, prepare derivative works, distribute copies to the public, and perform publicly and display publicly, by or on behalf of the Government. This work was supported by the Office of Advanced Scientific Computing Research, Office of Science, U.S. Department of Energy, under Contract DE-AC02-06CH11357. ii Contents I Introduction, Applications, and Modeling1 1 Introduction to Optimization3 1.1 Objective Function and Constraints...............................3 1.2 Classification of Optimization Problems............................4 1.2.1 Classification by Constraint Type...........................4 1.2.2 Classification by Variable Type............................5 1.2.3 Classification by Functional Forms..........................6 1.3 A First Optimization Example.................................6 1.4 Course Outline.........................................7 1.5 Exercises............................................7 2 Applications of Optimization9 2.1 Power-System Engineering: Electrical Transmission Planning................9 2.1.1 Transmission Planning Formulation.......................... 10 2.2 Other Power Systems Applications............................... 11 2.2.1 The Power-Flow Equations and Network Expansion................. 11 2.2.2 Blackout Prevention in National Power Grid...................... 12 2.2.3 Optimal Unit Commitment for Power-Grid.....................
    [Show full text]
  • A Column-Generation and Branch-And-Cut Approach to the Bandwidth-Packing Problem
    Volume 111, Number 2, March-April 2006 Journal of Research of the National Institute of Standards and Technology [J. Res. Natl. Inst. Stand. Technol. 111, 000-000 (2006)] A Column-Generation and Branch-and-Cut Approach to the Bandwidth-Packing Problem Volume 111 Number 2 March-April 2006 Christine Villa and Karla The telecommunications problem of column is generated, it is lifted into all Hoffman assigning calls with point to point demand existing cuts. We also discuss the need to a capacitated network where each call to generate all tied optimal linear George Mason University can be assigned to at most one path has optimization solutions if one wishes to Mail Stop 4A6 been called the Bandwidth-Packing assure that the solution obtained is Problem. For a given network, with optimal. Our computational results Systems Engineering and specified arc costs and arc capacities, one provide solutions to problems previously Operations Research Department wishes to route calls (defined by a starting unsolvable. 4400 University Drive, and ending point) through the network to Fairfax, VA 22030 maximize the profit from the calls routed. Each such call is single path routed and not all calls will be routed. We propose a Key words: capacitated networks; column branch-and-cut methodology coupled with generation; combinatorial optimization; column generation to optimally solve such cutting planes; facet-defining cuts; problems. We examine the alternative heuristics; integer programming; network approaches in the literature and explain planning; telecommunications networks; how this new method takes the best of zero-one optimization. all components of methods suggested previously. The method we suggest is new in that it includes a linear programming-based heuristic for obtaining Accepted: December 14, 2005 good lower bounds, uses lifted minimal covers that take into account special- ordered set constraints, and dynamically choose among three alternative branching strategies.
    [Show full text]