STCE. Mixed Integer Programming for Call Tree Reversal. J. Lotz, U. Naumann, S. Mitra
|
|
- Vivian Davidson
- 5 years ago
- Views:
Transcription
1 Mixed Integer Programming or J. Lotz, U. Naumann, S. Mitra LuFG Inormatik 12: Sotware and Tools or Computational Engineering () RWTH Aacen University and Cemical Engineering, Carnegie Mellon University [CSC16, Albuquerque, NM, Oct , 2016]
2 Outline Motivation Conclusion and Outlook Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
3 Outline Motivation Conclusion and Outlook Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
4 Motivation Ceckpointing o Adjoint Simulations Consider solution x τ = x(τ) o initial value problem (IVP) dx dt = (t, x), t 0, x = x(t) IRn, x(0) = x 0 at target time τ > 0. Gradient-based calibration o initial condition x 0 beneits rom adjoint x 0 = dxτ T dx 0 x τ IR n, were x τ IR n is gradient o, e.g, least-squares objective matcing solution o x τ to given observations. Computation o x 0 amounts to solution o adjoint IVP d x dt T d(t, x) = x, τ t 0, x = x(t) IR n, x(τ) = x τ. dx Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
5 Motivation Data Flow Reversal W.l.o.g, explicit Euler time stepping yields or t = τ/m primal x i+1 = x i + t (x i ), i = 0,..., m 1 algoritmic adjoint symbolic adjoint x i = x i+1 + t d T (x i ) x i+1, i = m 1,..., 0 dx x i = x i+1 + t d T (x i+1 ) x i+1, i = m 1,..., 0 dx Note use o primal iterates in reverse order! A. Griewank: Acieving Logaritmic Growt o Temporal and Spatial Complexity in Reverse Automatic Dierentiation, Opt. Met. Sotw. 1, (1992). Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
6 Motivation DAG Reversal Problem: Recovery o V = n + q non-persistent (vertex) values in reverse order (v 5,..., v 1 ); extreme cases: store-all, recompute-all Objective: Minimization o Primal Reevaluation Cost (PRC) or given upper bound M on Persistent Memory Requirement (PMR) Complexity: Fixed Cost (n + q) Minimum Memory Data Flow Reversal by reduction rom Vertex Cover solvable by O(n + q) instances o Fixed Memory Minimum Cost Data Flow Reversal U.N.: DAG Reversal is NP-Complete, J. Disc. Alg. 7(4), (2009) G = (V, E) n = 2; q = 5 Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
7 Outline Motivation Conclusion and Outlook Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
8 Problem Description and Computational Complexity primal 1 g augmented primal adjoint 1 store arguments restore arguments 1000 Objective: Reversal sceme R : E {0, 1} E minimizing PRC or upper bound M on PMR and given annotated call tree T = (V, E) Extreme Cases: R = 0 (ully split; ceckpoint none); R = 1 (ully joint; ceckpoint all) U.N.: is NP-Complete, LNCSE 64, (2008). Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
9 Example: Let MEM = R=(0,0): g g R=(1,1): +1 g g g MEM=1220, OPS= MEM=1110, OPS= Notation: Set S o subprogram calls; Number n[i] o subprogram calls in i S; Set χ(i) o callees; PMR m[i] = n[i] j=0 m[i] j; Reversal sceme R = (r[i]) i S ; PMR M[i] ater augmented primal run; PMR M[i] prior to adjoint run; PMR M[i] o argument ceckpoint Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
10 Example: Let MEM = Greedy Heuristics Smallest Memory Increase starts rom R = 1 and yields... Largest Memory Decrease (LMD) starts rom R = 0 and yields... R=(0,1): g MEM=1110, OPS=1000 g R=(1,0): +1 g g g Largest Memory Increase (LMI) remains at R = 1 as R = (1, 0) ineasible 1000 MEM=1120, OPS= Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
11 Mixed Integer Programming Formulation (Objective) We aim to balance PRC S r[] c[], cost induced by writing/reading ceckpoints (memory traic) c S r[] and implementation eort due to number o ceckpointed routines ĉ S ˆr[] c(r) = r[] c[] + c r[] + ĉ ˆr[], S S S were ˆr[] {0, 1} vanises unless at least one call o is ceckpointed, c[] denotes te PRC o and c and ĉ are used to weig impacts due to memory traic and implementation eort, respectively. Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
12 Mixed Integer Programming Formulation (Constraints) We deine PMR or eac subprogram s ater execution o its augmented primal M[g] = m[g]+ [ ] (1 r[]) M[] + r[] M[]. χ[g] and prior to execution o its adjoint, e.g, M[g] n[g] = M[ i ] m[] i ( ) M[g] + r[g] M[g] Te maximum PMR is reaced prior to execution o adjoint subprograms, ence, max g S M[g]n[g] must not exceed te upper bound M. J. Lotz, U.N., S. Mitra: Mixed Integer Programming or, SIAM CSC (2016). Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
13 Numerical Results (Toy) g g i 50 For M = 125 we get MIP LMI LMD R (1,0,0,1) (0,0,1,0) (1,1,0,0) PMR c(r) c[] = 200, c[] = 120, c[i] = 30, and c[g] = 40. Te cost c[] is cosen to be muc iger tan te corresponding memory requirement to mimic some time consuming operation in (e.g, ile I/O) witout eect on PMR. Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
14 Numerical Results (Towards Reality) We consider te solution o an elliptic boundary value problem wit PETSc v3.3. A discrete adjoint version was generated using dco/c++ and AMPI. Bars visualize te overead due to PRC. Statistics: 1500 source iles, 2717 subprograms instrumented based on dco/c++ count mode, 443k subprogram calls, PMR or R = 0 equal to 94GB, runtime o MIP analysis/optimization equal to 40s ,000 8,000 64,000 Memory Bound in MB LMI LMD CPLEX J. Lotz, U.N., M. Scanen: Discrete Adjoints o PETSc troug dco/c++ and Adjoint MPI, Euro-Par 2013 Parallel Processing, Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
15 Outline Motivation Conclusion and Outlook Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
16 Conclusion Tecnical Callenges automated instrumentation o large code bases ( clang) application to call graps requires conservatism and abstract interpretation or annotation combination wit static data low analysis desirable deinition o corresponding adjoint code design patterns is work in progress U.N.: Adjoint Code Design Patterns, AD2016. L. Hascoët, U.N., V. Pascual: To Be Recorded Analysis in Reverse-Mode Automatic Dierentiation, Future Generation Computer Systems 21(8): , Elsevier (2005). Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
17 Outlook Result Ceckpointing g g 1 g g MEM=1110, OPS= U.N.: Te Art o Dierentiating Computer Programs, SIAM (2012). Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
18 Outlook Binomial Ceckpointing 0:9 0:9 0:3 4:9 4:9 4:9 0:3 0:3 +4 4:6 7:9 4:6 4:6 * 0:0 1:3 1:3 1:3 0: * * 4:4 5:6 4:4 * * 1:1 2:3 1: recursive bisection (dynamic programming) local recompute all repeated accesses to ceckpoints A. Griewank, A. Walter: Algoritm 799: revolve: an implementation o ceckpointing or te reverse or adjoint mode o computational dierentiation, ACM Transactions on Matematical Sotware 26(1):19 45, ACM (2000). Lotz, Naumann, Mitra, CSC16, Albuquerque, NM, Oct ,
The Art of Differentiating Computer Programs
The Art of Differentiating Computer Programs Uwe Naumann LuFG Informatik 12 Software and Tools for Computational Engineering RWTH Aachen University, Germany naumann@stce.rwth-aachen.de www.stce.rwth-aachen.de
More informationSTCE. Adjoint Code Design Patterns. Uwe Naumann. RWTH Aachen University, Germany. QuanTech Conference, London, April 2016
Adjoint Code Design Patterns Uwe Naumann RWTH Aachen University, Germany QuanTech Conference, London, April 2016 Outline Why Adjoints? What Are Adjoints? Software Tool Support: dco/c++ Adjoint Code Design
More informationAn Adaptive Model Switching and Discretization Algorithm for Gas Flow on Networks
Procedia Computer Science 1 (21) (212) 1 1 1331 134 Procedia Computer Science www.elsevier.com/locate/procedia International Conference on Computational Science, ICCS 21 An Adaptive Model Switcing and
More informationTaylor Series and the Mean Value Theorem of Derivatives
1 - Taylor Series and te Mean Value Teorem o Derivatives Te numerical solution o engineering and scientiic problems described by matematical models oten requires solving dierential equations. Dierential
More informationPhysically Based Modeling: Principles and Practice Implicit Methods for Differential Equations
Pysically Based Modeling: Principles and Practice Implicit Metods for Differential Equations David Baraff Robotics Institute Carnegie Mellon University Please note: Tis document is 997 by David Baraff
More informationSTCE. Mind the Gap in the Chain Rule. Uwe Naumann. Software Tool Support for Advanced Algorithmic Differentiation of Numerical Simulation Code
Mind the Gap in the Chain Rule Software Tool Support for Advanced Algorithmic Differentiation of Numerical Simulation Code Uwe Naumann Software and Tools for Computational Engineering, RWTH Aachen University
More informationAlgorithmic Differentiation of Numerical Methods: Tangent and Adjoint Solvers for Parameterized Systems of Nonlinear Equations
Algorithmic Differentiation of Numerical Methods: Tangent and Adjoint Solvers for Parameterized Systems of Nonlinear Equations UWE NAUMANN, JOHANNES LOTZ, KLAUS LEPPKES, and MARKUS TOWARA, RWTH Aachen
More informationcomputation, it is appealing to keep te global iterations to a small number. In 1988, Kuznetsov [14] proposed a one-iteration overlapping Scwarz algor
Stable, Gloablly Non-iterative, Non-overlapping Domain Decomposition Parallel Solvers for Parabolic Problems Λ Yu Zuang y Xian-He Sun z Abstract In tis paper, we report a class of stabilized explicit-implicit
More informationWYSE Academic Challenge 2004 Sectional Mathematics Solution Set
WYSE Academic Callenge 00 Sectional Matematics Solution Set. Answer: B. Since te equation can be written in te form x + y, we ave a major 5 semi-axis of lengt 5 and minor semi-axis of lengt. Tis means
More informationCrouzeix-Velte Decompositions and the Stokes Problem
Crouzeix-Velte Decompositions and te Stokes Problem PD Tesis Strauber Györgyi Eötvös Loránd University of Sciences, Insitute of Matematics, Matematical Doctoral Scool Director of te Doctoral Scool: Dr.
More information27. A Non-Overlapping Optimized Schwarz Method which Converges with Arbitrarily Weak Dependence on h
Fourteent International Conference on Domain Decomposition Metods Editors: Ismael Herrera, David E. Keyes, Olof B. Widlund, Robert Yates c 003 DDM.org 7. A Non-Overlapping Optimized Scwarz Metod wic Converges
More informationExplicit Interleavers for a Repeat Accumulate Accumulate (RAA) code construction
Eplicit Interleavers for a Repeat Accumulate Accumulate RAA code construction Venkatesan Gurusami Computer Science and Engineering University of Wasington Seattle, WA 98195, USA Email: venkat@csasingtonedu
More informationApproximation Algorithm of Minimizing Makespan in Parallel Bounded Batch Scheduling
Te 7t International Symposium on Operations Researc and Its Applications (ISORA 08) Lijiang Cina October Novemver 008 Copyrigt 008 ORSC & APORC pp. 5 59 Approximation Algoritm of Minimizing Makespan in
More informationNew Streamfunction Approach for Magnetohydrodynamics
New Streamfunction Approac for Magnetoydrodynamics Kab Seo Kang Brooaven National Laboratory, Computational Science Center, Building 63, Room, Upton NY 973, USA. sang@bnl.gov Summary. We apply te finite
More informationSECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY
(Section 3.2: Derivative Functions and Differentiability) 3.2.1 SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY LEARNING OBJECTIVES Know, understand, and apply te Limit Definition of te Derivative
More informationCS522 - Partial Di erential Equations
CS5 - Partial Di erential Equations Tibor Jánosi April 5, 5 Numerical Di erentiation In principle, di erentiation is a simple operation. Indeed, given a function speci ed as a closed-form formula, its
More informationExponential and logarithmic functions (pp ) () Supplement October 14, / 1. a and b positive real numbers and x and y real numbers.
MA123, Supplement Exponential and logaritmic functions pp. 315-319) Capter s Goal: Review te properties of exponential and logaritmic functions. Learn ow to differentiate exponential and logaritmic functions.
More informationCoupling Iterative Subsystem Solvers Wolfgang Mackens, Jurgen Menck, and Heinric Voss Tecnisce Universitat Hamburg, Arbeitsbereic Matematik, Kasernenstrae 12, D-21073 Hamburg,fmackens, menck, vossg@tu-arburg.de,
More informationContinuity and Differentiability
Continuity and Dierentiability Tis capter requires a good understanding o its. Te concepts o continuity and dierentiability are more or less obvious etensions o te concept o its. Section - INTRODUCTION
More informationThe Complexity of Computing the MCD-Estimator
Te Complexity of Computing te MCD-Estimator Torsten Bernolt Lerstul Informatik 2 Universität Dortmund, Germany torstenbernolt@uni-dortmundde Paul Fiscer IMM, Danisc Tecnical University Kongens Lyngby,
More information1. State whether the function is an exponential growth or exponential decay, and describe its end behaviour using limits.
Questions 1. State weter te function is an exponential growt or exponential decay, and describe its end beaviour using its. (a) f(x) = 3 2x (b) f(x) = 0.5 x (c) f(x) = e (d) f(x) = ( ) x 1 4 2. Matc te
More informationGlobal Output Feedback Stabilization of a Class of Upper-Triangular Nonlinear Systems
9 American Control Conference Hyatt Regency Riverfront St Louis MO USA June - 9 FrA4 Global Output Feedbac Stabilization of a Class of Upper-Triangular Nonlinear Systems Cunjiang Qian Abstract Tis paper
More information2.1 THE DEFINITION OF DERIVATIVE
2.1 Te Derivative Contemporary Calculus 2.1 THE DEFINITION OF DERIVATIVE 1 Te grapical idea of a slope of a tangent line is very useful, but for some uses we need a more algebraic definition of te derivative
More informationSolving Continuous Linear Least-Squares Problems by Iterated Projection
Solving Continuous Linear Least-Squares Problems by Iterated Projection by Ral Juengling Department o Computer Science, Portland State University PO Box 75 Portland, OR 977 USA Email: juenglin@cs.pdx.edu
More informationOptimal hp Discontinuous Galerkin Method Applications for Computational Aeroacoustics
Dec 5 19 Optimal p Discontinuous Galerkin Metod Applications for Computational Aeroacoustics Cristope Peyret and Pilippe Delorme ONERA/DSNA - 29 ave de la Division Leclerc F92322 Câtillon cedex France
More informationQuasiperiodic phenomena in the Van der Pol - Mathieu equation
Quasiperiodic penomena in te Van der Pol - Matieu equation F. Veerman and F. Verulst Department of Matematics, Utrect University P.O. Box 80.010, 3508 TA Utrect Te Neterlands April 8, 009 Abstract Te Van
More informationThe minimum G c cut problem
The minimum G c cut problem Abstract In this paper we define and study the G c -cut problem. Given a complete undirected graph G = (V ; E) with V = n, edge weighted by w(v i, v j ) 0 and an undirected
More informationMathematics 5 Worksheet 11 Geometry, Tangency, and the Derivative
Matematics 5 Workseet 11 Geometry, Tangency, and te Derivative Problem 1. Find te equation of a line wit slope m tat intersects te point (3, 9). Solution. Te equation for a line passing troug a point (x
More information. If lim. x 2 x 1. f(x+h) f(x)
Review of Differential Calculus Wen te value of one variable y is uniquely determined by te value of anoter variable x, ten te relationsip between x and y is described by a function f tat assigns a value
More informationCopyright c 2008 Kevin Long
Lecture 4 Numerical solution of initial value problems Te metods you ve learned so far ave obtained closed-form solutions to initial value problems. A closedform solution is an explicit algebriac formula
More informationDiscontinuous Galerkin Methods for Relativistic Vlasov-Maxwell System
Discontinuous Galerkin Metods for Relativistic Vlasov-Maxwell System He Yang and Fengyan Li December 1, 16 Abstract e relativistic Vlasov-Maxwell (RVM) system is a kinetic model tat describes te dynamics
More information2.8 The Derivative as a Function
.8 Te Derivative as a Function Typically, we can find te derivative of a function f at many points of its domain: Definition. Suppose tat f is a function wic is differentiable at every point of an open
More informationERROR BOUNDS FOR THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BRADLEY J. LUCIER*
EO BOUNDS FO THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BADLEY J. LUCIE* Abstract. Te expected error in L ) attimet for Glimm s sceme wen applied to a scalar conservation law is bounded by + 2 ) ) /2 T
More informationPre-Calculus Review Preemptive Strike
Pre-Calculus Review Preemptive Strike Attaced are some notes and one assignment wit tree parts. Tese are due on te day tat we start te pre-calculus review. I strongly suggest reading troug te notes torougly
More informationarxiv: v1 [math.pr] 28 Dec 2018
Approximating Sepp s constants for te Slepian process Jack Noonan a, Anatoly Zigljavsky a, a Scool of Matematics, Cardiff University, Cardiff, CF4 4AG, UK arxiv:8.0v [mat.pr] 8 Dec 08 Abstract Slepian
More informationHonors Calculus Midterm Review Packet
Name Date Period Honors Calculus Midterm Review Packet TOPICS THAT WILL APPEAR ON THE EXAM Capter Capter Capter (Sections. to.6) STRUCTURE OF THE EXAM Part No Calculators Miture o multiple-coice, matcing,
More informationSymbolic-Numeric Methods for Improving Structural Analysis of DAEs
Symbolic-Numeric Methods or Improving Structural Analysis o DAEs Guangning Tan, Nedialko S. Nedialkov, and John D. Pryce Abstract Systems o dierential-algebraic equations (DAEs) are generated routinely
More informationarxiv: v1 [math.oc] 18 May 2018
Derivative-Free Optimization Algoritms based on Non-Commutative Maps * Jan Feiling,, Amelie Zeller, and Cristian Ebenbauer arxiv:805.0748v [mat.oc] 8 May 08 Institute for Systems Teory and Automatic Control,
More informationCONVERGENCE OF AN IMPLICIT FINITE ELEMENT METHOD FOR THE LANDAU-LIFSHITZ-GILBERT EQUATION
CONVERGENCE OF AN IMPLICIT FINITE ELEMENT METHOD FOR THE LANDAU-LIFSHITZ-GILBERT EQUATION SÖREN BARTELS AND ANDREAS PROHL Abstract. Te Landau-Lifsitz-Gilbert equation describes dynamics of ferromagnetism,
More informationFinding and Using Derivative The shortcuts
Calculus 1 Lia Vas Finding and Using Derivative Te sortcuts We ave seen tat te formula f f(x+) f(x) (x) = lim 0 is manageable for relatively simple functions like a linear or quadratic. For more complex
More information4. Higher Order Linear DEs
4. Higher Order Linear DEs Department of Mathematics & Statistics ASU Outline of Chapter 4 1 General Theory of nth Order Linear Equations 2 Homogeneous Equations with Constant Coecients 3 The Method of
More informationExercises for numerical differentiation. Øyvind Ryan
Exercises for numerical differentiation Øyvind Ryan February 25, 2013 1. Mark eac of te following statements as true or false. a. Wen we use te approximation f (a) (f (a +) f (a))/ on a computer, we can
More informationNotes on Neural Networks
Artificial neurons otes on eural etwors Paulo Eduardo Rauber 205 Consider te data set D {(x i y i ) i { n} x i R m y i R d } Te tas of supervised learning consists on finding a function f : R m R d tat
More informationChapter 2 Section 3. Partial Derivatives
Chapter Section 3 Partial Derivatives Deinition. Let be a unction o two variables and. The partial derivative o with respect to is the unction, denoted b D1 1 such that its value at an point (,) in the
More informationApplied Linear Statistical Models. Simultaneous Inference Topics. Simultaneous Estimation of β 0 and β 1 Issues. Simultaneous Inference. Dr.
Applied Linear Statistical Models Simultaneous Inference Dr. DH Jones Simultaneous Inference Topics Simultaneous estimation of β 0 and β 1 Bonferroni Metod Simultaneous estimation of several mean responses
More information1. Introduction. We consider the model problem: seeking an unknown function u satisfying
A DISCONTINUOUS LEAST-SQUARES FINITE ELEMENT METHOD FOR SECOND ORDER ELLIPTIC EQUATIONS XIU YE AND SHANGYOU ZHANG Abstract In tis paper, a discontinuous least-squares (DLS) finite element metod is introduced
More informationAn Approximation to the Solution of the Brusselator System by Adomian Decomposition Method and Comparing the Results with Runge-Kutta Method
Int. J. Contemp. Mat. Sciences, Vol. 2, 27, no. 2, 983-989 An Approximation to te Solution of te Brusselator System by Adomian Decomposition Metod and Comparing te Results wit Runge-Kutta Metod J. Biazar
More informationMaterial for Difference Quotient
Material for Difference Quotient Prepared by Stepanie Quintal, graduate student and Marvin Stick, professor Dept. of Matematical Sciences, UMass Lowell Summer 05 Preface Te following difference quotient
More informationArbitrary order exactly divergence-free central discontinuous Galerkin methods for ideal MHD equations
Arbitrary order exactly divergence-free central discontinuous Galerkin metods for ideal MHD equations Fengyan Li, Liwei Xu Department of Matematical Sciences, Rensselaer Polytecnic Institute, Troy, NY
More informationMATH745 Fall MATH745 Fall
MATH745 Fall 5 MATH745 Fall 5 INTRODUCTION WELCOME TO MATH 745 TOPICS IN NUMERICAL ANALYSIS Instructor: Dr Bartosz Protas Department of Matematics & Statistics Email: bprotas@mcmasterca Office HH 36, Ext
More informationON THE RELATIVE EFFICIENCY OF SPLIT SPLIT PLOT DESIGN TO SPLIT PLOT SPLIT BLOCK DESIGN
Colloquium Biometricum 0 69 78 ON THE RELATIVE EFFICIENCY OF SPLIT SPLIT PLOT DESIGN TO SPLIT PLOT SPLIT BLOCK DESIGN Katarzyna Ambroży-Deręgowska Iwona Mejza Stanisław Mejza Department o Matematical and
More informationSensitivity analysis by adjoint Automatic Differentiation and Application
Sensitivity analysis by adjoint Automatic Differentiation and Application Anca Belme Massimiliano Martinelli Laurent Hascoët Valérie Pascual Alain Dervieux INRIA Sophia-Antipolis Project TROPICS Alain.Dervieux@inria.fr
More informationHOW TO DEAL WITH FFT SAMPLING INFLUENCES ON ADEV CALCULATIONS
HOW TO DEAL WITH FFT SAMPLING INFLUENCES ON ADEV CALCULATIONS Po-Ceng Cang National Standard Time & Frequency Lab., TL, Taiwan 1, Lane 551, Min-Tsu Road, Sec. 5, Yang-Mei, Taoyuan, Taiwan 36 Tel: 886 3
More information= 0 and states ''hence there is a stationary point'' All aspects of the proof dx must be correct (c)
Paper 1: Pure Matematics 1 Mark Sceme 1(a) (i) (ii) d d y 3 1x 4x x M1 A1 d y dx 1.1b 1.1b 36x 48x A1ft 1.1b Substitutes x = into teir dx (3) 3 1 4 Sows d y 0 and states ''ence tere is a stationary point''
More informationExploiting Fill-in and Fill-out in Gaussian-like Elimination Procedures on the Extended Jacobian Matrix
2nd European Workshop on AD 1 Exploiting Fill-in and Fill-out in Gaussian-like Elimination Procedures on the Extended Jacobian Matrix Andrew Lyons (Vanderbilt U.) / Uwe Naumann (RWTH Aachen) 2nd European
More informationRECOGNITION of online handwriting aims at finding the
SUBMITTED ON SEPTEMBER 2017 1 A General Framework for te Recognition of Online Handwritten Grapics Frank Julca-Aguilar, Harold Moucère, Cristian Viard-Gaudin, and Nina S. T. Hirata arxiv:1709.06389v1 [cs.cv]
More informationTechnische Universität Dresden Fachrichtung Mathematik. Memory efficient approaches of second order for optimal control problems
Technische Universität Dresden Fachrichtung Mathematik Institut für Wissenschaftliches Rechnen Memory efficient approaches of second order for optimal control problems Dissertation zur Erlangung des zweiten
More informationCLEMSON U N I V E R S I T Y
A Fractional Step θ-metod for Convection-Diffusion Equations Jon Crispell December, 006 Advisors: Dr. Lea Jenkins and Dr. Vincent Ervin Fractional Step θ-metod Outline Crispell,Ervin,Jenkins Motivation
More informationGeneral Physics I. New Lecture 27: Carnot Cycle, The 2nd Law, Entropy and Information. Prof. WAN, Xin
General Pysics I New Lecture 27: Carnot Cycle, e 2nd Law, Entropy and Information Prof. AN, Xin xinwan@zju.edu.cn ttp://zimp.zju.edu.cn/~xinwan/ Carnot s Engine Efficiency of a Carnot Engine isotermal
More informationImproved Algorithms for Largest Cardinality 2-Interval Pattern Problem
Journal of Combinatorial Optimization manuscript No. (will be inserted by te editor) Improved Algoritms for Largest Cardinality 2-Interval Pattern Problem Erdong Cen, Linji Yang, Hao Yuan Department of
More informationConvergence and Descent Properties for a Class of Multilevel Optimization Algorithms
Convergence and Descent Properties for a Class of Multilevel Optimization Algoritms Stepen G. Nas April 28, 2010 Abstract I present a multilevel optimization approac (termed MG/Opt) for te solution of
More informationOptimal Control Applied to the Spread of Influenza A(H1N1)
Applied Matematical Sciences, Vol. 6, 2012, no. 82, 4057-4065 Optimal Control Applied to te Spread of Influenza AH11 M. El ia 1, O. Balatif 2, J. Bouyagroumni, E. Labriji, M. Racik Laboratoire d Analyse
More informationNested Differentiation and Symmetric Hessian Graphs with ADTAGEO
Nested Differentiation and Symmetric Hessian Graphs with ADTAGEO ADjoints and TAngents by Graph Elimination Ordering Jan Riehme Andreas Griewank Institute for Applied Mathematics Humboldt Universität zu
More informationChapter 4: Numerical Methods for Common Mathematical Problems
1 Capter 4: Numerical Metods for Common Matematical Problems Interpolation Problem: Suppose we ave data defined at a discrete set of points (x i, y i ), i = 0, 1,..., N. Often it is useful to ave a smoot
More information2011 Fermat Contest (Grade 11)
Te CENTRE for EDUCATION in MATHEMATICS and COMPUTING 011 Fermat Contest (Grade 11) Tursday, February 4, 011 Solutions 010 Centre for Education in Matematics and Computing 011 Fermat Contest Solutions Page
More informationJian-Guo Liu 1 and Chi-Wang Shu 2
Journal of Computational Pysics 60, 577 596 (000) doi:0.006/jcp.000.6475, available online at ttp://www.idealibrary.com on Jian-Guo Liu and Ci-Wang Su Institute for Pysical Science and Tecnology and Department
More informationDifferential equations. Differential equations
Differential equations A differential equation (DE) describes ow a quantity canges (as a function of time, position, ) d - A ball dropped from a building: t gt () dt d S qx - Uniformly loaded beam: wx
More informationDepartment of Mathematical Sciences University of South Carolina Aiken Aiken, SC 29801
RESEARCH SUMMARY AND PERSPECTIVES KOFFI B. FADIMBA Department of Matematical Sciences University of Sout Carolina Aiken Aiken, SC 29801 Email: KoffiF@usca.edu 1. Introduction My researc program as focused
More informationFinite Difference Methods Assignments
Finite Difference Metods Assignments Anders Söberg and Aay Saxena, Micael Tuné, and Maria Westermarck Revised: Jarmo Rantakokko June 6, 1999 Teknisk databeandling Assignment 1: A one-dimensional eat equation
More information5.1 The derivative or the gradient of a curve. Definition and finding the gradient from first principles
Capter 5: Dierentiation In tis capter, we will study: 51 e derivative or te gradient o a curve Deinition and inding te gradient ro irst principles 5 Forulas or derivatives 5 e equation o te tangent line
More informationCONVERGENCE ANALYSIS OF FINITE ELEMENT SOLUTION OF ONE-DIMENSIONAL SINGULARLY PERTURBED DIFFERENTIAL EQUATIONS ON EQUIDISTRIBUTING MESHES
INTERNATIONAL JOURNAL OF NUMERICAL ANALYSIS AND MODELING Volume, Number, Pages 57 74 c 5 Institute for Scientific Computing and Information CONVERGENCE ANALYSIS OF FINITE ELEMENT SOLUTION OF ONE-DIMENSIONAL
More information1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)
Calculus. Gradients and te Derivative Q f(x+) δy P T δx R f(x) 0 x x+ Let P (x, f(x)) and Q(x+, f(x+)) denote two points on te curve of te function y = f(x) and let R denote te point of intersection of
More informationHow to Find the Derivative of a Function: Calculus 1
Introduction How to Find te Derivative of a Function: Calculus 1 Calculus is not an easy matematics course Te fact tat you ave enrolled in suc a difficult subject indicates tat you are interested in te
More informationContinuity. Example 1
Continuity MATH 1003 Calculus and Linear Algebra (Lecture 13.5) Maoseng Xiong Department of Matematics, HKUST A function f : (a, b) R is continuous at a point c (a, b) if 1. x c f (x) exists, 2. f (c)
More informationNumerical Analysis MTH603. dy dt = = (0) , y n+1. We obtain yn. Therefore. and. Copyright Virtual University of Pakistan 1
Numerical Analysis MTH60 PREDICTOR CORRECTOR METHOD Te metods presented so far are called single-step metods, were we ave seen tat te computation of y at t n+ tat is y n+ requires te knowledge of y n only.
More informationarxiv: v3 [cs.ds] 4 Aug 2017
Non-preemptive Sceduling in a Smart Grid Model and its Implications on Macine Minimization Fu-Hong Liu 1, Hsiang-Hsuan Liu 1,2, and Prudence W.H. Wong 2 1 Department of Computer Science, National Tsing
More informationCFD calculation of convective heat transfer coefficients and validation Part I: Laminar flow. Annex 41 Kyoto, April 3 rd to 5 th, 2006
CFD calculation of convective eat transfer coefficients and validation Part I: Laminar flow Annex 41 Kyoto, April 3 rd to 5 t, 2006 Adam Neale 1, Dominique Derome 1, Bert Blocken 2 and Jan Carmeliet 2,3
More informationMath 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006
Mat 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006 f(x+) f(x) 10 1. For f(x) = x 2 + 2x 5, find ))))))))) and simplify completely. NOTE: **f(x+) is NOT f(x)+! f(x+) f(x) (x+) 2 + 2(x+) 5 ( x 2
More information1 Ordinary Load Balancing
Comp 260: Advanced Algorithms Prof. Lenore Cowen Tufts University, Spring 208 Scribe: Emily Davis Lecture 8: Scheduling Ordinary Load Balancing Suppose we have a set of jobs each with their own finite
More informationTowards Perfectly Matched Layers for time-dependent space fractional PDEs
Towards Perfectly Matced Layers for time-dependent space fractional PDEs Xavier Antoine, Emmanuel Lorin To cite tis version: Xavier Antoine, Emmanuel Lorin. Towards Perfectly Matced Layers for time-dependent
More informationUnit 1A: Computational Complexity
Unit 1A: Computational Complexity Course contents: Computational complexity NP-completeness Algorithmic Paradigms Readings Chapters 3, 4, and 5 Unit 1A 1 O: Upper Bounding Function Def: f(n)= O(g(n)) if
More informationChapter 2 Limits and Continuity. Section 2.1 Rates of Change and Limits (pp ) Section Quick Review 2.1
Section. 6. (a) N(t) t (b) days: 6 guppies week: 7 guppies (c) Nt () t t t ln ln t ln ln ln t 8. 968 Tere will be guppies ater ln 8.968 days, or ater nearly 9 days. (d) Because it suggests te number o
More informationA New Projected Gradient Algorithm for Total Variation Based Image Denoising
Noname manuscript No. (will be inserted by te editor) A New Projected Gradient Algoritm or Total Variation Based Image Denoising Ming-Jun Lai Leopold Matamba Messi te date o receipt and acceptance sould
More information2 Grimm, Pottier, and Rostaing-Schmidt optimal time strategy that preserves the program structure with a xed total number of registers. We particularl
Chapter 1 Optimal Time and Minimum Space-Time Product for Reversing a Certain Class of Programs Jos Grimm Lo c Pottier Nicole Rostaing-Schmidt Abstract This paper concerns space-time trade-os for the reverse
More informationMAT 1800 FINAL EXAM HOMEWORK
MAT 800 FINAL EXAM HOMEWORK Read te directions to eac problem careully ALL WORK MUST BE SHOWN DO NOT USE A CALCULATOR Problems come rom old inal eams (SS4, W4, F, SS, W) Solving Equations: Let 5 Find all
More informationAside: Golden Ratio. Golden Ratio: A universal law. Golden ratio φ = lim n = 1+ b n = a n 1. a n+1 = a n + b n, a n+b n a n
Aside: Golden Ratio Golden Ratio: A universal law. Golden ratio φ = lim n a n+b n a n = 1+ 5 2 a n+1 = a n + b n, b n = a n 1 Ruta (UIUC) CS473 1 Spring 2018 1 / 41 CS 473: Algorithms, Spring 2018 Dynamic
More informationIs My CFD Mesh Adequate? A Quantitative Answer
Is My CFD Mesh Adequate? A Quantitative Answer Krzysztof J. Fidkowski Gas Dynamics Research Colloqium Aerospace Engineering Department University of Michigan January 26, 2011 K.J. Fidkowski (UM) GDRC 2011
More informationSolve exponential equations in one variable using a variety of strategies. LEARN ABOUT the Math. What is the half-life of radon?
8.5 Solving Exponential Equations GOAL Solve exponential equations in one variable using a variety of strategies. LEARN ABOUT te Mat All radioactive substances decrease in mass over time. Jamie works in
More informationMONOPOLISTICALLY COMPETITIVE SEARCH EQUILIBRIUM FEBRUARY 8, 2019
MONOPOLISTICALLY COMPETITIVE SEARCH EQUILIBRIUM FEBRUARY 8, 209 Introduction LABOR MARKET INTERMEDIATION Recruiting Sector aka Labor Market Intermediaries aka Headunters aka Middlemen Develop Monopolistically
More information1 ode.mcd. Find solution to ODE dy/dx=f(x,y). Instructor: Nam Sun Wang
Fin solution to ODE /=f(). Instructor: Nam Sun Wang oe.mc Backgroun. Wen a sstem canges wit time or wit location, a set of ifferential equations tat contains erivative terms "/" escribe suc a namic sstem.
More informationAn extended midpoint scheme for the Landau-Lifschitz-Gilbert equation in computational micromagnetics. Bernhard Stiftner
AANMPDE(JS) Strobl, July 7, 2016 An extended midpoint sceme for te Landau-Lifscitz-Gilbert equation in computational micromagnetics Bernard Stiftner joint work wit Dirk Praetorius, Micele Ruggeri TU Wien
More informationDedicated to the 70th birthday of Professor Lin Qun
Journal of Computational Matematics, Vol.4, No.3, 6, 4 44. ACCELERATION METHODS OF NONLINEAR ITERATION FOR NONLINEAR PARABOLIC EQUATIONS Guang-wei Yuan Xu-deng Hang Laboratory of Computational Pysics,
More informationBounds on the Traveling Salesman Problem
Bounds on the Traveling Salesman Problem Sean Zachary Roberson Texas A&M University MATH 613, Graph Theory A common routing problem is as follows: given a collection of stops (for example, towns, stations,
More informationDynamic Programming( Weighted Interval Scheduling)
Dynamic Programming( Weighted Interval Scheduling) 17 November, 2016 Dynamic Programming 1 Dynamic programming algorithms are used for optimization (for example, finding the shortest path between two points,
More informationA method of Lagrange Galerkin of second order in time. Une méthode de Lagrange Galerkin d ordre deux en temps
A metod of Lagrange Galerkin of second order in time Une métode de Lagrange Galerkin d ordre deux en temps Jocelyn Étienne a a DAMTP, University of Cambridge, Wilberforce Road, Cambridge CB3 0WA, Great-Britain.
More informationDual fitting approximation for Set Cover, and Primal Dual approximation for Set Cover
duality 1 Dual fitting approximation for Set Cover, and Primal Dual approximation for Set Cover Guy Kortsarz duality 2 The set cover problem with uniform costs Input: A universe U and a collection of subsets
More informationThe derivative function
Roberto s Notes on Differential Calculus Capter : Definition of derivative Section Te derivative function Wat you need to know already: f is at a point on its grap and ow to compute it. Wat te derivative
More informationAMS 147 Computational Methods and Applications Lecture 09 Copyright by Hongyun Wang, UCSC. Exact value. Effect of round-off error.
Lecture 09 Copyrigt by Hongyun Wang, UCSC Recap: Te total error in numerical differentiation fl( f ( x + fl( f ( x E T ( = f ( x Numerical result from a computer Exact value = e + f x+ Discretization error
More informationThe Basics of Vacuum Technology
Te Basics of Vacuum Tecnology Grolik Benno, Kopp Joacim January 2, 2003 Basics Many scientific and industrial processes are so sensitive tat is is necessary to omit te disturbing influence of air. For
More informationImplicitly and Explicitly Constrained Optimization Problems for Training of Recurrent Neural Networks
Implicitly and Explicitly Constrained Optimization Problems for Training of Recurrent Neural Networks Carl-Johan Thore Linköping University - Division of Mechanics 581 83 Linköping - Sweden Abstract. Training
More information