Modeling and Optimization Tools for Solving P D Ti Pl I Ds H D Li P Bl

Total Page:16

File Type:pdf, Size:1020Kb

Modeling and Optimization Tools for Solving P D Ti Pl I Ds H D Li P Bl Modeling and Optimization Tools for Solving PdProduc tion Plann ing an dShdlid Scheduling Pro blems Alkis Vazacopoulos CAPD Meeting Carnegie Mellon University Pittsburgh PA March 2011 1 Production Planning and Scheduling Problems » Strategic » Tactical » Operational 2 Software Companies/Academic Instit/Consulting Companies » SAP » Oracle » Aspentech » Honeywell » KBC » Consulting companies » IBM-CPLEX, Gurobi, FICO, GAMS, ….. 3 Technologies » LP » MIP » NLP » CP » Modeling » Platforms » Business Rules 4 LP Performance across releases (FICO Xpress) LP Performance 25000 800 795 20000 790 785 15000 780 Total Time 775 ber Solved ber Number Solved tal Time(s)tal mm oo T 10000 770 Nu 765 5000 760 755 0 750 2003B 2004B 2005B 2006B 2007B 2008A FICO 7.0 Re le as e Internal test set of 796 public and customer models 5 LP Performance across releases LP Performance 25000 800 795 20000 790 785 15000 780 Primal Dual Barrier Total Time 775 ber Solved ber Number Solved tal Time(s)tal mm oo T 10000 770 Nu 765 5000 760 755 0 750 2003B 2004B 2005B 2006B 2007B 2008A FICO 7.0 Re le as e Internal test set of 796 public and customer models 6 LP Performance across releases LP Performance 25000 800 795 20000 790 Good 785 15000 780 Primal Dual Barrier Total Time 775 ber Solved ber Number Solved tal Time(s)tal mm oo Is important T 10000 770 Nu 765 5000 760 755 0 750 2003B 2004B 2005B 2006B 2007B 2008A FICO 7.0 Re le as e Internal test set of 796 public and customer models 7 MIP Performance across releases 290 300000 270 250000 250 200000 Time ved ll 230 nn 150000 Numbers Solved 210 Total Time Number So 100000 Solutio Total 190 50000 170 150 0 2003B 2004B 2005B 2006B 2007B 2008A 7.0 7.1 Release Internal test set of 320 public and customer models 8 MIP Performance across releases MIP Performance 250000 290 270 200000 250 150000 Heuristics Cuts 230 Branch and General and Total Time Classic Number Solved Bound problem210 specific Total Time(s) 100000 ppproblem specific Number Solved parallelize 190 50000 170 0 150 2003B 2004B 2005B 2006B 2007B 2008A FICO 7.0 Re le as e 9 Feedback Loop MIP Performance 250000 290 270 200000 250 150000 Decomposition Perform Reengineer 230 Algorithms – OperationsTotal - Time B&B Number Solved mber Solved otal Time(s) more flexible Node210 uu TT 100000 N 190 50000 170 0 150 2003B 2004B 2005B 2006B 2007B 2008A FICO 7.0 Re le as e 10 Comparison GUROBI vs CPLEX » Gurobi: developpged to take advantage of multi-core machines » Growing very fast (150 commercial licenses, 25 academic sales, in addition to the academic program, source: jtoedm. com » LP 10-30% better than CPLEX (Mittelman website) » MIP 10% - 30% better on optimality » CPLEX better on Feasibility problems » New MIPLIB data soon 11 Open Source » SKIP – ZIB, Very competitive: used by Dynadec » CBC – used as an entryyyyp by many companies » Comparison from Hans Mittelman’s website 12 Benchmarking MIP » Optimality (what about problems won’t solve after 30 minutes, 60 minutes) » Best feasible solutions » Find k best solutions » Size of the tree » Presolve (reduction of the matrix) » Develop Sets of Problems » Etc…. » 13 Xpress 7 parallel speed ups Xppress 7 Xppress 7 1 thread 4 thread Improvement “Internal” deterministic 25,724 17,447 -47% “Internal” opportunistic 25,724 13,067 -96% Coral deterministic 24,484 16,129 -52% Coral opportunistic 24,484 11,137 -120% 14 mzzv42z: Single/Two Threads Xpress FICO IVE »1 thread »2 threads »15 15 Xpress 7 parallel speed ups Xppress 7 Xppress 7 1 thread 4 thread Improvement “Internal” 25,724 17,447 -47% deterministicParallel Parallel MIP “Internal” processors (same Deterministic opportunistic on a 25,724computer) 13,067P-MIP -96% Network Coral P-MIP deterministic 24,484 16,129 -52% Coral opportunistic 24,484 11,137 -120% 16 Concurrent LP solver » Efficient LP method parallelization Primal Dual Barrier Concurrent Overall Speedup 1 thread 19,940 13,459 - - 2 threads 19,940 13,459 6,193 (B+D) 23% 4 threads 19,940 13,459 7,540 7,491 70% Time(concurrent) ~ min(Time(dual), Time(primal), Time(barrier)) Controls: LPTHREADS and DETERMINISTIC (concurrent is nondeterministic!) 17 Concurrent LP solver » Efficient LP method parallelization Primal Dual Barrier Concurrent Overall Speedup 1 thread 19,940 13,459 - - P-D-B 2 threadsP-Barrier 19,940 13,459 6,193 (B+D) 23% 4 threads 19,940 13,459Combinations 7,540 7,491 70% Time(concurrent) ~ min(Time(dual), Time(primal), Time(barrier)) Controls: LPTHREADS and DETERMINISTIC (concurrent is nondeterministic!) 18 Customers want multiple alternative solutions Example: air04 » Set partitioning problem for airline crew scheduling » Available from MIPLIB 2003 Default Solver 5-Best Solution Solver 1st SltiSolution 56137 56137 2nd Solution 56166 56137 3rd Solution 56307 56137 4th Solution 56854 56137 5th Solution 57562 56137 Total B&B Nodes 141 15 981 Total Time 26 sec 29 sec 19 Customers want multiple alternative solutions Example: air04 » Set partitioning problem for airline crew scheduling » Available from MIPLIB 2003 Default Solver 5-Best Solution Solver 1st SltiSolution 56137 56137 Strategies- Strategy Robust - nd Business Refinenement 2 SolutionStrategies 56166 56137 Rules Rebalancing 3rd Solution 56307 56137 4th Solution 56854 56137 5th Solution 57562 56137 Total B&B Nodes 141 15 981 Total Time 26 sec 29 sec 20 Xpress-Tuner: How to Tune (Automatically) an Optimization Problem? 21 Xpress-Tuner: Tuning Process 22 Xpress-Tuner: Detailed Results 23 Xpress-Tuner: Comparing logs 24 Xpress-Tuner: Tuning MIP families 25 Xpress-Tuner: Tuning Methods 26 Benchmarking - Optimality Problems with less than 60 minutes Reduce time Problems Problems with less Problems Parallel MIP with less more than 2 than 30 Opportunisti hours seconds than 30 cMIPc MIP Solve in 1/10 mitinutes What is a of time – Reduce time examples good Google Parallel MIP solution? Matrix Gen Deterministic Multiple MIP Solutions Parallel Opportunisti Modeling c Languages Explain Solutions 27 MIP Research » More research on Deterministic Parallel » Predict Size of BB Tree/ Structure » UblUnbalance dTd Trees/h ow t o B Blalance » Solve Smaller problems faster (E Danna – Google) » New Cu ts /Feas ibility P ump » More CP in Presolve » HdCtit/SftCtitHard Constraints / Soft Constraints – OtiiBBOperations in BB nodes » Parallelize cuts/Heuristics in root node » How to scale better 4 to 8 cores » Data mining in Parameters – usinggp supervised learning » **** Adaptive search – change the parameters dynamically during the Search 28 Non Linear » Knitro » CONOPT » Xpress SLP : good for process industry » MINLP CMU-IBM , minlppg.org » BONMIN Basic Open Source Nonlinear Mixed Integer programming 29 Comparisons Mittelman » Knitro vs IPOPT » 27 better Knitro » IPOPT better in 14 cases 30 Global Optimization other technologies » Baron » Disjjpggunctive programming » Robust » Stochastic 31 Constraint Programming » ILOG-CP » CHIP » Artelys – Kalis » COMET – Dynadec » SIMPL (Yunes, Aron, Hooker) » Benchmarking CP codes???? 32 »Example of relaxation for alldifferent alldiff (x1,, xn ) x j 1,,n »Convex hull relaxation, which is the strongest possible linear relaxation (JNH, Williams & Yan): n x 1 n(n 1) j 2 j1 1 x | J | (| J | 1), all J 1, ,nwith | J | n j 2 jJ »For n = 4: x1 x 2 x3 x 4 10 x1 x 2 x3 6, x1 x 2 x 4 6, x1 x3 x 4 6, x 2 x3 x 4 6 x1 x 2 3, x1 x3 3, x1 x 4 3, x 2 x3 3, x 2 x 4 3, x3 x 4 3 x1 , x 2 , x3 , x 4 1 33 »Automatic relaxations »The following constraints can be relaxed automatically with Xpress‐Kalis : » linear constraints . alldifferent(X) . occurrence(X,v) opY . distribute(X,A,m,M) . X = Min/Max(Y) . absolute value X = | Y | . distance v op |X‐Y| . element(2D) X = A[I] | X = A[I][J] . cycle . logical constraints (,,or,and) 34 An integer knapsack problem with ssdecostaide constrain t min 5x1 8x2 4x3 subj.to 3x1 5x2 2x3 30 alldiff(x1, x2, x3) x j {1,2,3,4} »MILP needs additional xi jyij , all i constraints and 00--11 j variables to express the y 1, all i alldiff: ij j 35 Pure CP model in Xpress-KALIS 36 HYBRID Model in Xpress -KALIS 37 Modeling Platforms 38 Modeling Languages » OPL: Integrates MIP and CP » GAMS: All solvers available, NLP, MIP, Stochastic » Mosel : Programming and Modeling together 39 Modeling Languages » OPL: Integrates MIP and CP » GAMS: All solvers available, NLP, MIP, Stochastic » Mosel : Programming and Modeling together 40 More » IBM ODM: Optimization Decision Manager » Next ggpeneration : Eclipse » Simulation » Python link 41 Eclipse – Platform - Future 42 »CP, MIP and their combination » Oppgtimization Technologies » Mixed Integer Programming: MIP » Finite Domain Constraint Progggramming: CP » Planning & Scheduling »CP »CP+MIP» MIP » Long and mid-term planning: MIP » SSothort-term pl annin g, sc h eduling : C P » Time Horizon Supply chain optimization Reqq,,uires MIP, CP, and their combination 43 Solving Planning and Scheduling Models »INTEGRATED ENV IRONMENT »Common Plann ing and S ch ed uli ng Model »LP/MIP »CP 44 »Combining MIP & CP »Master problem »MIP »Sub problem »CP »Feasible »Infeasible »(OK) »Add Cut to MIP » Mixed l ogica l/ Linea r Prog ra mming fra me w ork (Hooker et al) 45 Project » LISCOS Project » European Union 5th Framework » BASF - Chem ica ls » P&G - Food » PSA - Cars » Barbot - Paint 46 Production Scheduling Problem » Schedules Crude-Oil Blend-Shops in Oil-Refineries. » In the Categgyory of “Closed-Shop” Scheduling. » Involves Quantity, Logic and Quality Decisions. » Quantity = Flow, Rate, Inventory » Logic = Mixing-Delay, Up-Time, One-Flow-In » Quality = Octane, Sulphur, Yield, Temperature » Intended to Reduce Quality Variation. Key Absolute Maximum Limit Planning Proxy Target Set Closer to Limit Target Low Variability Reduced Manual Crude-Oil Blend Time Scheduling Scheduling Installed » 47 Production Scheduling Problem » Finite-Capacity Scheduling.
Recommended publications
  • University of California, San Diego
    UNIVERSITY OF CALIFORNIA, SAN DIEGO Computational Methods for Parameter Estimation in Nonlinear Models A dissertation submitted in partial satisfaction of the requirements for the degree Doctor of Philosophy in Physics with a Specialization in Computational Physics by Bryan Andrew Toth Committee in charge: Professor Henry D. I. Abarbanel, Chair Professor Philip Gill Professor Julius Kuti Professor Gabriel Silva Professor Frank Wuerthwein 2011 Copyright Bryan Andrew Toth, 2011 All rights reserved. The dissertation of Bryan Andrew Toth is approved, and it is acceptable in quality and form for publication on microfilm and electronically: Chair University of California, San Diego 2011 iii DEDICATION To my grandparents, August and Virginia Toth and Willem and Jane Keur, who helped put me on a lifelong path of learning. iv EPIGRAPH An Expert: One who knows more and more about less and less, until eventually he knows everything about nothing. |Source Unknown v TABLE OF CONTENTS Signature Page . iii Dedication . iv Epigraph . v Table of Contents . vi List of Figures . ix List of Tables . x Acknowledgements . xi Vita and Publications . xii Abstract of the Dissertation . xiii Chapter 1 Introduction . 1 1.1 Dynamical Systems . 1 1.1.1 Linear and Nonlinear Dynamics . 2 1.1.2 Chaos . 4 1.1.3 Synchronization . 6 1.2 Parameter Estimation . 8 1.2.1 Kalman Filters . 8 1.2.2 Variational Methods . 9 1.2.3 Parameter Estimation in Nonlinear Systems . 9 1.3 Dissertation Preview . 10 Chapter 2 Dynamical State and Parameter Estimation . 11 2.1 Introduction . 11 2.2 DSPE Overview . 11 2.3 Formulation . 12 2.3.1 Least Squares Minimization .
    [Show full text]
  • An Algorithm Based on Semidefinite Programming for Finding Minimax
    Takustr. 7 Zuse Institute Berlin 14195 Berlin Germany BELMIRO P.M. DUARTE,GUILLAUME SAGNOL,WENG KEE WONG An algorithm based on Semidefinite Programming for finding minimax optimal designs ZIB Report 18-01 (December 2017) Zuse Institute Berlin Takustr. 7 14195 Berlin Germany Telephone: +49 30-84185-0 Telefax: +49 30-84185-125 E-mail: [email protected] URL: http://www.zib.de ZIB-Report (Print) ISSN 1438-0064 ZIB-Report (Internet) ISSN 2192-7782 An algorithm based on Semidefinite Programming for finding minimax optimal designs Belmiro P.M. Duarte a,b, Guillaume Sagnolc, Weng Kee Wongd aPolytechnic Institute of Coimbra, ISEC, Department of Chemical and Biological Engineering, Portugal. bCIEPQPF, Department of Chemical Engineering, University of Coimbra, Portugal. cTechnische Universität Berlin, Institut für Mathematik, Germany. dDepartment of Biostatistics, Fielding School of Public Health, UCLA, U.S.A. Abstract An algorithm based on a delayed constraint generation method for solving semi- infinite programs for constructing minimax optimal designs for nonlinear models is proposed. The outer optimization level of the minimax optimization problem is solved using a semidefinite programming based approach that requires the de- sign space be discretized. A nonlinear programming solver is then used to solve the inner program to determine the combination of the parameters that yields the worst-case value of the design criterion. The proposed algorithm is applied to find minimax optimal designs for the logistic model, the flexible 4-parameter Hill homoscedastic model and the general nth order consecutive reaction model, and shows that it (i) produces designs that compare well with minimax D−optimal de- signs obtained from semi-infinite programming method in the literature; (ii) can be applied to semidefinite representable optimality criteria, that include the com- mon A−; E−; G−; I− and D-optimality criteria; (iii) can tackle design problems with arbitrary linear constraints on the weights; and (iv) is fast and relatively easy to use.
    [Show full text]
  • Multi-Objective Optimization of Unidirectional Non-Isolated Dc/Dcconverters
    MULTI-OBJECTIVE OPTIMIZATION OF UNIDIRECTIONAL NON-ISOLATED DC/DC CONVERTERS by Andrija Stupar A thesis submitted in conformity with the requirements for the degree of Doctor of Philosophy Graduate Department of Edward S. Rogers Department of Electrical and Computer Engineering University of Toronto © Copyright 2017 by Andrija Stupar Abstract Multi-Objective Optimization of Unidirectional Non-Isolated DC/DC Converters Andrija Stupar Doctor of Philosophy Graduate Department of Edward S. Rogers Department of Electrical and Computer Engineering University of Toronto 2017 Engineers have to fulfill multiple requirements and strive towards often competing goals while designing power electronic systems. This can be an analytically complex and computationally intensive task since the relationship between the parameters of a system’s design space is not always obvious. Furthermore, a number of possible solutions to a particular problem may exist. To find an optimal system, many different possible designs must be evaluated. Literature on power electronics optimization focuses on the modeling and design of partic- ular converters, with little thought given to the mathematical formulation of the optimization problem. Therefore, converter optimization has generally been a slow process, with exhaus- tive search, the execution time of which is exponential in the number of design variables, the prevalent approach. In this thesis, geometric programming (GP), a type of convex optimization, the execution time of which is polynomial in the number of design variables, is proposed and demonstrated as an efficient and comprehensive framework for the multi-objective optimization of non-isolated unidirectional DC/DC converters. A GP model of multilevel flying capacitor step-down convert- ers is developed and experimentally verified on a 15-to-3.3 V, 9.9 W discrete prototype, with sets of loss-volume Pareto optimal designs generated in under one minute.
    [Show full text]
  • Xpress Nonlinear Manual This Material Is the Confidential, Proprietary, and Unpublished Property of Fair Isaac Corporation
    R FICO Xpress Optimization Last update 01 May, 2018 version 33.01 FICO R Xpress Nonlinear Manual This material is the confidential, proprietary, and unpublished property of Fair Isaac Corporation. Receipt or possession of this material does not convey rights to divulge, reproduce, use, or allow others to use it without the specific written authorization of Fair Isaac Corporation and use must conform strictly to the license agreement. The information in this document is subject to change without notice. If you find any problems in this documentation, please report them to us in writing. Neither Fair Isaac Corporation nor its affiliates warrant that this documentation is error-free, nor are there any other warranties with respect to the documentation except as may be provided in the license agreement. ©1983–2018 Fair Isaac Corporation. All rights reserved. Permission to use this software and its documentation is governed by the software license agreement between the licensee and Fair Isaac Corporation (or its affiliate). Portions of the program may contain copyright of various authors and may be licensed under certain third-party licenses identified in the software, documentation, or both. In no event shall Fair Isaac Corporation or its affiliates be liable to any person for direct, indirect, special, incidental, or consequential damages, including lost profits, arising out of the use of this software and its documentation, even if Fair Isaac Corporation or its affiliates have been advised of the possibility of such damage. The rights and allocation of risk between the licensee and Fair Isaac Corporation (or its affiliates) are governed by the respective identified licenses in the software, documentation, or both.
    [Show full text]
  • Julia, My New Friend for Computing and Optimization? Pierre Haessig, Lilian Besson
    Julia, my new friend for computing and optimization? Pierre Haessig, Lilian Besson To cite this version: Pierre Haessig, Lilian Besson. Julia, my new friend for computing and optimization?. Master. France. 2018. cel-01830248 HAL Id: cel-01830248 https://hal.archives-ouvertes.fr/cel-01830248 Submitted on 4 Jul 2018 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. « Julia, my new computing friend? » | 14 June 2018, IETR@Vannes | By: L. Besson & P. Haessig 1 « Julia, my New frieNd for computiNg aNd optimizatioN? » Intro to the Julia programming language, for MATLAB users Date: 14th of June 2018 Who: Lilian Besson & Pierre Haessig (SCEE & AUT team @ IETR / CentraleSupélec campus Rennes) « Julia, my new computing friend? » | 14 June 2018, IETR@Vannes | By: L. Besson & P. Haessig 2 AgeNda for today [30 miN] 1. What is Julia? [5 miN] 2. ComparisoN with MATLAB [5 miN] 3. Two examples of problems solved Julia [5 miN] 4. LoNger ex. oN optimizatioN with JuMP [13miN] 5. LiNks for more iNformatioN ? [2 miN] « Julia, my new computing friend? » | 14 June 2018, IETR@Vannes | By: L. Besson & P. Haessig 3 1. What is Julia ? Open-source and free programming language (MIT license) Developed since 2012 (creators: MIT researchers) Growing popularity worldwide, in research, data science, finance etc… Multi-platform: Windows, Mac OS X, GNU/Linux..
    [Show full text]
  • Solving Mixed Integer Linear and Nonlinear Problems Using the SCIP Optimization Suite
    Takustraße 7 Konrad-Zuse-Zentrum D-14195 Berlin-Dahlem fur¨ Informationstechnik Berlin Germany TIMO BERTHOLD GERALD GAMRATH AMBROS M. GLEIXNER STEFAN HEINZ THORSTEN KOCH YUJI SHINANO Solving mixed integer linear and nonlinear problems using the SCIP Optimization Suite Supported by the DFG Research Center MATHEON Mathematics for key technologies in Berlin. ZIB-Report 12-27 (July 2012) Herausgegeben vom Konrad-Zuse-Zentrum f¨urInformationstechnik Berlin Takustraße 7 D-14195 Berlin-Dahlem Telefon: 030-84185-0 Telefax: 030-84185-125 e-mail: [email protected] URL: http://www.zib.de ZIB-Report (Print) ISSN 1438-0064 ZIB-Report (Internet) ISSN 2192-7782 Solving mixed integer linear and nonlinear problems using the SCIP Optimization Suite∗ Timo Berthold Gerald Gamrath Ambros M. Gleixner Stefan Heinz Thorsten Koch Yuji Shinano Zuse Institute Berlin, Takustr. 7, 14195 Berlin, Germany, fberthold,gamrath,gleixner,heinz,koch,[email protected] July 31, 2012 Abstract This paper introduces the SCIP Optimization Suite and discusses the ca- pabilities of its three components: the modeling language Zimpl, the linear programming solver SoPlex, and the constraint integer programming frame- work SCIP. We explain how these can be used in concert to model and solve challenging mixed integer linear and nonlinear optimization problems. SCIP is currently one of the fastest non-commercial MIP and MINLP solvers. We demonstrate the usage of Zimpl, SCIP, and SoPlex by selected examples, give an overview of available interfaces, and outline plans for future development. ∗A Japanese translation of this paper will be published in the Proceedings of the 24th RAMP Symposium held at Tohoku University, Miyagi, Japan, 27{28 September 2012, see http://orsj.or.
    [Show full text]
  • [20Pt]Algorithms for Constrained Optimization: [ 5Pt]
    SOL Optimization 1970s 1980s 1990s 2000s 2010s Summary 2020s Algorithms for Constrained Optimization: The Benefits of General-purpose Software Michael Saunders MS&E and ICME, Stanford University California, USA 3rd AI+IoT Business Conference Shenzhen, China, April 25, 2019 Optimization Software 3rd AI+IoT Business Conference, Shenzhen, April 25, 2019 1/39 SOL Optimization 1970s 1980s 1990s 2000s 2010s Summary 2020s SOL Systems Optimization Laboratory George Dantzig, Stanford University, 1974 Inventor of the Simplex Method Father of linear programming Large-scale optimization: Algorithms, software, applications Optimization Software 3rd AI+IoT Business Conference, Shenzhen, April 25, 2019 2/39 SOL Optimization 1970s 1980s 1990s 2000s 2010s Summary 2020s SOL history 1974 Dantzig and Cottle start SOL 1974{78 John Tomlin, LP/MIP expert 1974{2005 Alan Manne, nonlinear economic models 1975{76 MS, MINOS first version 1979{87 Philip Gill, Walter Murray, MS, Margaret Wright (Gang of 4!) 1989{ Gerd Infanger, stochastic optimization 1979{ Walter Murray, MS, many students 2002{ Yinyu Ye, optimization algorithms, especially interior methods This week! UC Berkeley opened George B. Dantzig Auditorium Optimization Software 3rd AI+IoT Business Conference, Shenzhen, April 25, 2019 3/39 SOL Optimization 1970s 1980s 1990s 2000s 2010s Summary 2020s Optimization problems Minimize an objective function subject to constraints: 0 x 1 min '(x) st ` ≤ @ Ax A ≤ u c(x) x variables 0 1 A matrix c1(x) B . C c(x) nonlinear functions @ . A c (x) `; u bounds m Optimization
    [Show full text]
  • Numericaloptimization
    Numerical Optimization Alberto Bemporad http://cse.lab.imtlucca.it/~bemporad/teaching/numopt Academic year 2020-2021 Course objectives Solve complex decision problems by using numerical optimization Application domains: • Finance, management science, economics (portfolio optimization, business analytics, investment plans, resource allocation, logistics, ...) • Engineering (engineering design, process optimization, embedded control, ...) • Artificial intelligence (machine learning, data science, autonomous driving, ...) • Myriads of other applications (transportation, smart grids, water networks, sports scheduling, health-care, oil & gas, space, ...) ©2021 A. Bemporad - Numerical Optimization 2/102 Course objectives What this course is about: • How to formulate a decision problem as a numerical optimization problem? (modeling) • Which numerical algorithm is most appropriate to solve the problem? (algorithms) • What’s the theory behind the algorithm? (theory) ©2021 A. Bemporad - Numerical Optimization 3/102 Course contents • Optimization modeling – Linear models – Convex models • Optimization theory – Optimality conditions, sensitivity analysis – Duality • Optimization algorithms – Basics of numerical linear algebra – Convex programming – Nonlinear programming ©2021 A. Bemporad - Numerical Optimization 4/102 References i ©2021 A. Bemporad - Numerical Optimization 5/102 Other references • Stephen Boyd’s “Convex Optimization” courses at Stanford: http://ee364a.stanford.edu http://ee364b.stanford.edu • Lieven Vandenberghe’s courses at UCLA: http://www.seas.ucla.edu/~vandenbe/ • For more tutorials/books see http://plato.asu.edu/sub/tutorials.html ©2021 A. Bemporad - Numerical Optimization 6/102 Optimization modeling What is optimization? • Optimization = assign values to a set of decision variables so to optimize a certain objective function • Example: Which is the best velocity to minimize fuel consumption ? fuel [ℓ/km] velocity [km/h] 0 30 60 90 120 160 ©2021 A.
    [Show full text]
  • TOMLAB –Unique Features for Optimization in MATLAB
    TOMLAB –Unique Features for Optimization in MATLAB Bad Honnef, Germany October 15, 2004 Kenneth Holmström Tomlab Optimization AB Västerås, Sweden [email protected] ´ Professor in Optimization Department of Mathematics and Physics Mälardalen University, Sweden http://tomlab.biz Outline of the talk • The TOMLAB Optimization Environment – Background and history – Technology available • Optimization in TOMLAB • Tests on customer supplied large-scale optimization examples • Customer cases, embedded solutions, consultant work • Business perspective • Box-bounded global non-convex optimization • Summary http://tomlab.biz Background • MATLAB – a high-level language for mathematical calculations, distributed by MathWorks Inc. • Matlab can be extended by Toolboxes that adds to the features in the software, e.g.: finance, statistics, control, and optimization • Why develop the TOMLAB Optimization Environment? – A uniform approach to optimization didn’t exist in MATLAB – Good optimization solvers were missing – Large-scale optimization was non-existent in MATLAB – Other toolboxes needed robust and fast optimization – Technical advantages from the MATLAB languages • Fast algorithm development and modeling of applied optimization problems • Many built in functions (ODE, linear algebra, …) • GUIdevelopmentfast • Interfaceable with C, Fortran, Java code http://tomlab.biz History of Tomlab • President and founder: Professor Kenneth Holmström • The company founded 1986, Development started 1989 • Two toolboxes NLPLIB och OPERA by 1995 • Integrated format for optimization 1996 • TOMLAB introduced, ISMP97 in Lausanne 1997 • TOMLAB v1.0 distributed for free until summer 1999 • TOMLAB v2.0 first commercial version fall 1999 • TOMLAB starting sales from web site March 2000 • TOMLAB v3.0 expanded with external solvers /SOL spring 2001 • Dash Optimization Ltd’s XpressMP added in TOMLAB fall 2001 • Tomlab Optimization Inc.
    [Show full text]
  • Specifying “Logical” Conditions in AMPL Optimization Models
    Specifying “Logical” Conditions in AMPL Optimization Models Robert Fourer AMPL Optimization www.ampl.com — 773-336-AMPL INFORMS Annual Meeting Phoenix, Arizona — 14-17 October 2012 Session SA15, Software Demonstrations Robert Fourer, Logical Conditions in AMPL INFORMS Annual Meeting — 14-17 Oct 2012 — Session SA15, Software Demonstrations 1 New and Forthcoming Developments in the AMPL Modeling Language and System Optimization modelers are often stymied by the complications of converting problem logic into algebraic constraints suitable for solvers. The AMPL modeling language thus allows various logical conditions to be described directly. Additionally a new interface to the ILOG CP solver handles logic in a natural way not requiring conventional transformations. Robert Fourer, Logical Conditions in AMPL INFORMS Annual Meeting — 14-17 Oct 2012 — Session SA15, Software Demonstrations 2 AMPL News Free AMPL book chapters AMPL for Courses Extended function library Extended support for “logical” conditions AMPL driver for CPLEX Opt Studio “Concert” C++ interface Support for ILOG CP constraint programming solver Support for “logical” constraints in CPLEX INFORMS Impact Prize to . Originators of AIMMS, AMPL, GAMS, LINDO, MPL Awards presented Sunday 8:30-9:45, Conv Ctr West 101 Doors close 8:45! Robert Fourer, Logical Conditions in AMPL INFORMS Annual Meeting — 14-17 Oct 2012 — Session SA15, Software Demonstrations 3 AMPL Book Chapters now free for download www.ampl.com/BOOK/download.html Bound copies remain available purchase from usual
    [Show full text]
  • Robert Fourer, David M. Gay INFORMS Annual Meeting
    AMPL New Solver Support in the AMPL Modeling Language Robert Fourer, David M. Gay AMPL Optimization LLC, www.ampl.com Department of Industrial Engineering & Management Sciences, Northwestern University Sandia National Laboratories INFORMS Annual Meeting Pittsburgh, Pennsylvania, November 5-8, 2006 Robert Fourer, New Solver Support in the AMPL Modeling Language INFORMS Annual Meeting, November 5-8, 2006 1 AMPL What it is . A modeling language for optimization A system to support optimization modeling What I’ll cover . Brief examples, briefer history Recent developments . ¾ 64-bit versions ¾ floating license manager ¾ AMPL Studio graphical interface & Windows COM objects Solver support ¾ new KNITRO 5.1 features ¾ new CPLEX 10.1 features Robert Fourer, New Solver Support in the AMPL Modeling Language INFORMS Annual Meeting, November 5-8, 2006 2 Ex 1: Airline Fleet Assignment set FLEETS; set CITIES; set TIMES circular; set FLEET_LEGS within {f in FLEETS, c1 in CITIES, t1 in TIMES, c2 in CITIES, t2 in TIMES: c1 <> c2 and t1 <> t2}; # (f,c1,t1,c2,t2) represents the availability of fleet f # to cover the leg that leaves c1 at t1 and # whose arrival time plus turnaround time at c2 is t2 param leg_cost {FLEET_LEGS} >= 0; param fleet_size {FLEETS} >= 0; Robert Fourer, New Solver Support in the AMPL Modeling Language INFORMS Annual Meeting, November 5-8, 2006 3 Ex 1: Derived Sets set LEGS := setof {(f,c1,t1,c2,t2) in FLEET_LEGS} (c1,t1,c2,t2); # the set of all legs that can be covered by some fleet set SERV_CITIES {f in FLEETS} := union {(f,c1,c2,t1,t2)
    [Show full text]
  • Julia: a Modern Language for Modern ML
    Julia: A modern language for modern ML Dr. Viral Shah and Dr. Simon Byrne www.juliacomputing.com What we do: Modernize Technical Computing Today’s technical computing landscape: • Develop new learning algorithms • Run them in parallel on large datasets • Leverage accelerators like GPUs, Xeon Phis • Embed into intelligent products “Business as usual” will simply not do! General Micro-benchmarks: Julia performs almost as fast as C • 10X faster than Python • 100X faster than R & MATLAB Performance benchmark relative to C. A value of 1 means as fast as C. Lower values are better. A real application: Gillespie simulations in systems biology 745x faster than R • Gillespie simulations are used in the field of drug discovery. • Also used for simulations of epidemiological models to study disease propagation • Julia package (Gillespie.jl) is the state of the art in Gillespie simulations • https://github.com/openjournals/joss- papers/blob/master/joss.00042/10.21105.joss.00042.pdf Implementation Time per simulation (ms) R (GillespieSSA) 894.25 R (handcoded) 1087.94 Rcpp (handcoded) 1.31 Julia (Gillespie.jl) 3.99 Julia (Gillespie.jl, passing object) 1.78 Julia (handcoded) 1.2 Those who convert ideas to products fastest will win Computer Quants develop Scientists prepare algorithms The last 25 years for production (Python, R, SAS, DEPLOY (C++, C#, Java) Matlab) Quants and Computer Compress the Scientists DEPLOY innovation cycle collaborate on one platform - JULIA with Julia Julia offers competitive advantages to its users Julia is poised to become one of the Thank you for Julia. Yo u ' v e k i n d l ed leading tools deployed by developers serious excitement.
    [Show full text]