Forschungsgruppe ORCOS
> Zum Inhalt
Ocmat-Logo

OCMat

OCMat - Software

OCMAT is a collection of Matlab files developed to analyze optimal control models.

With the help of OCMat it is possible to

  • analyze (non-)autonomous optimal control models of (in)finite time horizon
  • deal adequately with constraints on control and/or state variables
  • locate steady states and limit cycles
  • find solution paths by solving a BVP
  • locate Skiba points
  • and much more...

We invite the user to visit this site every now and then to follow the actual stage of development.


Download

Find here the most current version of the toolbox.

     OCMat Version 09. 03. 2011: Download

System Requirements

  • MATLAB V. 7 or higher together with: Symbolic Toolbox (required) and Optimization Toolbox (in default settings used)
  • MATCONT toolbox (optional) for bifurcation related calculations

 

Installation Guide

  1. Make sure you have correctly installed Matlab and the necessary toolboxes.
  2. Download the OCMAT-Toolbox and unzip it into any directory, where MATLAB can find it (or add the directory to the MATLAB path).
  3. Customizing the boundary value solver (bvp4c,...): By default the boundary value solver does not return information about the number of internal calls of the boundary condition function. But since we utilize this value to decide if the step width is increased, this m-file has to be adapted. Therefore the user is advised to add the line

    sol.bcevals=nBCeval;

    at the end of the 'Output' part of the 'bvp4c' file. This should also be done if 'bvp6c' is used.

  4. (optional) Type ochivdemo or occademo at the command line to see a demonstration of what the toolbox is currently able to do.


Documentation

Manual

You can find the OCMat-toolbox manual here: View

We also want to refer the reader to the book 'Optimal Control of Nonlinear Processes - With Applications in Drugs, Corruption and Terror', where the reader can learn about the mathematical background used in this toolbox and see some examples (graphics and numerical computations) presenting some of the capabilities of the toolbox.

Demos

For a demonstration about what currently can be done with the toolbox, you can find some demo files together with the toolbox.

By invoking these demo files with ochivdemo and occademo, some explanatory text is provided. The in MATLAB experienced user is also advised to go through the commented MATLAB files and find the answers and explanations of several questions. Further support will be provided here.

Seminar

In the following you can find the slides of an introductory seminar about the toolbox

  1. December 6th, 2010: First steps: Implementation and a simple model
  2. December 13th, 2010: Basic numerical methods
  3. December 20th, 2010: Higher dimensional models and constraints
  4. January 10th, 2011: Multiple solutions and heteroclinic bifurcations
  5. January 17th, 2011: Limit cycles and a MatCont interface
  6. January 31st, 2011:Implicit controls and animated results

OCMat version for the seminar: ocmat.zip


Handouts (for printing)

  1. December 6th, 2010: one-sided, two-sided
  2. December 13th, 2010: one-sided, two-sided
  3. December 20th, 2010: one-sided, two-sided
  4. January 10th, 2011: one-sided, two-sided
  5. January 17th, 2011: one-sided, two-sided

Links

Related Sites

 

Literature

D. Grass, J.P. Caulkins, G. Feichtinger, G. Tragler, D.A. Behrens, Optimal Control of Nonlinear Processes - With Applications in Drugs, Corruption and Terror, Springer, 2008