A MATLAB Package for Analyzing Optimal Control Problem
A MATLAB Package for Analyzing Optimal Control Problem
Disciplines
Computer Sciences (25%); Mathematics (75%)
Keywords
-
Optimal Control Theory,
Multiple Optimal Solutions,
Bifurcation Theory,
Infinite Time BVP
In economic and management applications optimal control models with an infinite time horizon play an important role. Thus Pontryagin`s Maximumprinciple yields an boundary value problem (BVP) on an infinite time interval. Therefore the in a numerical calculation the transversality condition has to be replaced by an asymptotic transversality condition. Or in a different approach the time interval is transformed yielding a singular BVP. In this proposal we develop a Matlab package allowing us to solve such problems. We therefore implement a BVP solver under Matlab allowing continuation. Using this Matlab package the (un)stable paths and center paths of steady states and limit cycles can be computed. Subsequently a bifurcation analysis of the canonical system can be carried out, including global bifurcations, such as heteroclinic bifurcations. Moreover we use the object oriented programming environment of Matlab to create an object representing the optimal control model for specific parameter values. After initialization of the model the first order necessary optimality conditions are calculated by using the symbolic toolbox. Thereafter the Matlab files for the analysis are automatically generated. The results can then be stored within the object and saved as a datafile. Implemented plot functions allow an easy graphical representation of the calculated results and paths. Heteroclinic bifurcations of the canonical system often correspond with the occurrence of DNSS or Skiba points. These are points of the state space exhibiting multiple optimal solutions. In the optimal vector field the occurrence of DNSS points give rise to a bifurcation, e.g., an "indifference-attractor-bifurcation" as is described by Florian Wagener. Therefore our software package is well suited to the numerical bifurcation analysis of the optimal vector field. For models with two or more states DNSS curves or surfaces can exist. These manifolds may also be computed using our continuation algorithm, starting at a single DNSS point. For an efficient calculation of solution paths it is necessary to use a BVP solver, which is well adapted to the specific problems occurring in the context of optimal control problems. Some of these are singularities, as already mentioned at the beginning but also the treatment of algebraic differential equations and specifically the inclusion of a continuation algorithm. Therefore we decided to take advantage of the experience of the research group of Ewa Weinmüller to adapt and further develop their implemented BVP solver.
The main topic of this project was the development of a MATLAB based software package(OCMat), that allows the analysis of optimal control problems over an infinite time horizon. Since most of the models are not analytically tractable the analysis relies on numerical methods. One of the difficulties for problems over an infinite time horizon is the provision of conditions that the solution has to satisfy at the end. In a first step the models limiting behaviour is analyzed.This includes the calculation of steady states, periodic solutions and possible divergent behaviour as well. When all possible long-run solutions are determined this information is used to calculate the solutions for arbitrary initial points. Therefore, the numerical algorithm bases on a boundary value solver combined with a continuation step. This ansatz allows to start from the long-run solution to continue and find the solution for arbitrary initial states or parameter values.OCMat is implemented within the MATLAB environment. Using the symbolic computation capabilities of MATLAB many of the necessary recurrent steps were automatized. Specifically this includes the derivation of the first order necessary optimality conditions and the generation of the MATLAB files that are needed for the numerical computations. Therefore, the user writes an initiation function and usually the automatization procedure allows to start a few minutes later with the numerical analysis. Even though this task is not of specific mathematical interest it eases the handling tremendously and changes in the model formulation can be adapted very fast and flexible.A further task, beside the development of the numerical algorithms, was the provision of a programming environment that facilitates the storing and reloading of (numerical) results. But also the graphical depiction and printing used for presentations and publications. Therefore, the object oriented programming environment of MATLAB was used. This allows a consistent representation of the different models and the provision of specific functions for loading, storing, plotting, etc.Beyond the scientific work another important aspect is the dissemination of the results within the non-scientific community. A promising approach is the graphical presentation as short animations, where the entire information about the models behaviour can be maintained but the underlying mathematics is removed. For that purpose an interface to the opens source software Synfig Studio and Blender (for 2D/3D animations) were programmed. This opens the possibility for a discussion between the scientist and public on equal terms. Examples from a talk held at the workshop The Economics of Complex Systems workshop, April 28-29 at the Beijer Institute of Ecological Economics, can be downloaded from http://orcos.tuwien.ac.at/research/ocmat_software/#c50711.
- Technische Universität Wien - 100%
- Cars H. Hommes, Universiteit van Amsterdam - Netherlands
Research Output
- 212 Citations
- 14 Publications
-
2011
Title Controlling pollution and environmental absorption capacity DOI 10.1007/s10479-011-0982-4 Type Journal Article Author El Ouardighi F Journal Annals of Operations Research Pages 111-133 -
2013
Title Energy balance climate models and general equilibrium optimal mitigation policies DOI 10.1016/j.jedc.2013.09.008 Type Journal Article Author Brock W Journal Journal of Economic Dynamics and Control Pages 2371-2396 -
2013
Title When to make proprietary software open source DOI 10.1016/j.jedc.2013.02.009 Type Journal Article Author Caulkins J Journal Journal of Economic Dynamics and Control Pages 1182-1194 -
2015
Title Capital stock management during a recession that freezes credit markets DOI 10.1016/j.jebo.2015.02.023 Type Journal Article Author Caulkins J Journal Journal of Economic Behavior & Organization Pages 1-14 -
2015
Title Skiba points in free end-time problems DOI 10.1016/j.jedc.2014.11.003 Type Journal Article Author Caulkins J Journal Journal of Economic Dynamics and Control Pages 404-419 -
2015
Title Small-noise asymptotics of Hamilton–Jacobi–Bellman equations and bifurcations of stochastic optimal control problems DOI 10.1016/j.cnsns.2014.09.029 Type Journal Article Author Grass D Journal Communications in Nonlinear Science and Numerical Simulation Pages 38-54 Link Publication -
2013
Title A Dynamic Analysis of Schelling’s Binary Corruption Model: A Competitive Equilibrium Approach DOI 10.1007/s10957-013-0420-7 Type Journal Article Author Caulkins J Journal Journal of Optimization Theory and Applications Pages 608-625 -
2013
Title Leading bureaucracies to the tipping point: An alternative model of multiple stable equilibrium levels of corruption DOI 10.1016/j.ejor.2012.10.026 Type Journal Article Author Caulkins J Journal European Journal of Operational Research Pages 541-546 Link Publication -
2012
Title Numerical computation of the optimal vector field: Exemplified by a fishery model DOI 10.1016/j.jedc.2012.04.006 Type Journal Article Author Grass D Journal Journal of Economic Dynamics and Control Pages 1626-1658 Link Publication -
2011
Title Controlling pollution and environmental Absorption capacity. Type Journal Article Author El Quardigi F -
2014
Title Optimal control models of renewable energy production under uctuating supply. Type Book Chapter Author Large-Scale Scientic Computing -
2016
Title Advertising and Quality-Dependent Word-of-Mouth in a Contagion Sales Model DOI 10.1007/s10957-015-0855-0 Type Journal Article Author El Ouardighi F Journal Journal of Optimization Theory and Applications Pages 323-342 -
2016
Title Autonomous and advertising-dependent ‘word of mouth’ under costly dynamic pricing DOI 10.1016/j.ejor.2015.11.035 Type Journal Article Author Ouardighi F Journal European Journal of Operational Research Pages 860-872 -
2016
Title Self-regenerating environmental absorption efficiency and the soylentgreenscenario DOI 10.1007/s10479-015-2096-x Type Journal Article Author El Ouardighi F Journal Annals of Operations Research Pages 179-198