Skip to main content

DOTcvpSB, a software toolbox for dynamic optimization in systems biology



Mathematical optimization aims to make a system or design as effective or functional as possible, computing the quality of the different alternatives using a mathematical model. Most models in systems biology have a dynamic nature, usually described by sets of differential equations. Dynamic optimization addresses this class of systems, seeking the computation of the optimal time-varying conditions (control variables) to minimize or maximize a certain performance index. Dynamic optimization can solve many important problems in systems biology, including optimal control for obtaining a desired biological performance, the analysis of network designs and computer aided design of biological units.


Here, we present a software toolbox, DOTcvpSB, which uses a rich ensemble of state-of-the-art numerical methods for solving continuous and mixed-integer dynamic optimization (MIDO) problems. The toolbox has been written in MATLAB and provides an easy and user friendly environment, including a graphical user interface, while ensuring a good numerical performance. Problems are easily stated thanks to the compact input definition. The toolbox also offers the possibility of importing SBML models, thus enabling it as a powerful optimization companion to modelling packages in systems biology. It serves as a means of handling generic black-box models as well.


Here we illustrate the capabilities and performance of DOTcvpSB by solving several challenging optimization problems related with bioreactor optimization, optimal drug infusion to a patient and the minimization of intracellular oscillations. The results illustrate how the suite of solvers available allows the efficient solution of a wide class of dynamic optimization problems, including challenging multimodal ones. The toolbox is freely available for academic use.


Optimization plays a key role in computational biology and bioinformatics [1, 2]. Dynamic optimization, also known as open-loop optimal control, seeks the maximization or minimization of a suitable performance index (which characterizes the solution quality) of a dynamic system taking into account possible equality or inequality constraints. The solution is represented by the optimal decision variables, which can be continuous (real numbers), discrete (integer numbers), or both. Continuous variables can be used to encode time-varying stimuli, while discrete variables usually represent events (like an on/off switch) or configurations. An overview of optimization in the context of computational systems biology was given by [3] and more recently by [4], the latter highlighting the need of robust and efficient dynamic optimization methods. Examples of relevant problems covered there include optimal control for modification of self-organized dynamics, optimal experimental design, dynamic flux balance analysis, the discovery of biological network design strategies and computational design of integrated biological circuits (synthetic biology).

A popular numerical approach for solving dynamic optimization problems is the control vector parameterization (CVP) method [5], which transforms the original problem into an outer non-linear programming (NLP) or mixed-integer non-linear programming (MINLP) problem, with an inner initial value problem (IVP). Solving the outer problem requires a suitable (MI)NLP solver. Since most biological systems are non-linear, the resulting optimization problems are frequently multimodal and very challenging to solve, so it is necessary to use proper global optimization methods [6].

This work presents DOTcvpSB, a user friendly MATLAB dynamic optimization toolbox based on the CVP method, which provides an easy to use environment while ensuring a good numerical performance. Users only need to define their dynamic optimization problems via a simple and compact input file which is close to the standard mathematical notation. Advanced users can tweak many configuration options for the different solvers in order to fine-tune the solution process. Although other existing toolboxes and software packages allow the definition and solution of optimization problems in systems biology (e.g. COPASI [7], PottersWheel [8] or SBtoolbox2 [9], to name a few), they are restricted to problems where the decision variables are static (time-independent). DOTcvpSB allows the definition and solution of dynamic optimization problems where decision variables are time-dependent, thus reaching a much broader class of optimization problems.


In this section, we first describe the class of problems considered and the framework chosen for its numerical solution. Next, we describe the organization and capabilities of the toolbox, highlighting its key features and modules.

Mixed-integer Optimal Control Problem

The mixed-integer optimal control problem, also called mixed-integer dynamic optimization (MIDO) problem, considers the computation of time dependent operating conditions (controls), discrete – binary or integer- decisions and time-independent parameters so as to minimize (or maximize) a performance index (or cost function) while keeping a set of constraints coming from safety and/or quality demands and environmental regulations. Mathematically this is formulated as follows:

Find u(t), i(t), p and t f so as to minimize (or maximize):


subject to:


where is the vector of state variables, is the vector of real valued control variables, is the vector of integer control variables, is the vector of time-independent parameters, t f is the final time of the process, m e , m i represent the number of equality and inequality constraints, respectively and g collects all state constraints, pathway, pointwise and final time constraints and u L , i L , p L , u U , i U , p U correspond to the lower and upper bounds for the control variables and the time-independent parameters.

Control Vector Parameterization

DOTcvpSB is based on the control vector parameterization (CVP) framework to solve the class of problems stated above. The CVP methodology proceeds dividing the control variables (u(t) and i(t)) into a number of elements and then approximating each element by means of different basis functions, usually low order polynomials. In this way the control variables are parameterized using w u Rρand w i Zρ, which become decision variables. This parameterization transforms the original infinite dimensional problem into a finite dimension (mixed-integer) non-linear programming problem that may be solved by a suitable (MI)NLP solver. Note that the evaluation of the objective function and constraints requires the solution of the system dynamics by solving an inner initial value problem (IVP).

If the outer (MI)NLP problem is convex, deterministic (gradient-based) local methods are the best alternative to efficiently solve it. In this regard, (mixed-integer) sequential quadratic programming methods, such as MISQP [10], can be considered the state-of-the-art. Nevertheless, in presence of non-convexities, local methods usually present convergence to local minima, thus requiring the use of global optimization methods.

Global optimization methods can be roughly classified in two major groups: deterministic and stochastic methods. Certain deterministic global methods can guarantee global optimality for particular classes of problems, although the computational cost becomes infeasible for problems of realistic size. They have been recently applied for the solution of MIDO problems [11, 12]. Regarding stochastic methods, several works, as reviewed by [6], have illustrated their potential for dynamic optimization (DO) and, more recently, for mixed-integer dynamic optimization (MIDO) [13]. Stochastic methods usually locate the vicinity of global solutions with reasonable efficiency, but the cost to pay is that global optimality can not be guaranteed. Alternatives such as global-local hybrid methods have been presented both for DO [14] and MIDO [15], significantly improving the computational efficiency. Thus, we could summarize the current state-of-the-art in this domain by concluding that there is no silver bullet for global optimization of arbitrary MIDO problems. And this is why DOTcvpSB includes a suite of optimization solvers, following a "Swiss Army knife" approach.

Many of these optimization methods require the computation of the gradient of the objective and/or constraints with respect to the decision variables. Vassiliadis [5] proposed the use of first order parametric sensitivities to compute such information. The sensitivity equations result from a chain rule differentiation applied to the system defined in Eqns. 2 with respect to the decision variables and may be solved in combination with the original system. For this purpose, the use of Backward Differentiation Formulas (BDF) methods is very attractive since they are able to exploit the fact that the original system and the sensitivities share the same Jacobian.

Toolbox description

DOTcvpSB has been implemented in MATLAB following the scheme presented in Figure 1. The original dynamic optimization or mixed-integer dynamic optimization problem is solved numerically by the use of a suitable optimizer (outer iteration) which requires the solution of an IVP (inner iteration) which will in general consist on a set of ODEs plus a set of sensitivities to compute gradient information. The solution of the inner IVP is accomplished by calls to tailored solvers from the SUite of Nonlinear and DIfferential/ALgebraic equation Solvers (SUNDIALS) [16], more specifically CVODES. Since these simulations are the most computationally demanding task in the CVP method, our toolbox can automatically create compiled dynamically linked subroutines (known as MEX files in MATLAB) for the ODEs, Jacobian, and sensitivities, thus ensuring high performance.

Figure 1
figure 1

General scheme for the solution of a DO problem in DOTcvpSB. DOTcvpSB: solution scheme based on CVP for mixed-integer dynamic optimization problems.

Key Features

The core capabilities of the toolbox can be summarized as follows:

  • handling of a wide class of dynamic optimization problems, including constrained, unconstrained, fixed, and free terminal time problems described by ordinary differential equations (ODEs), as well as continuous and mixed integer decision variables;

  • the inner initial value problem (IVP) is solved using the state-of-the-art methods available in SUNDIALS [16];

  • the outer (MI)NLP problem can be solved using a number of advanced solvers, including local deterministic methods, stochastic global optimization methods, and hybrid metaheuristics;

  • in addition to the traditional single optimization approach, the toolbox also offers more sophisticated strategies, like multistart, sucessive re-optimization [17], and hybrid strategies [14];

  • a graphical user interface (GUI) which makes the definition and edition of a problem more easy and clear;

  • possibility of importing SBML models [18];

  • many output options for the results, including detailed figures.

Description of main modules

The toolbox contains a number of modules (implemented as MATLAB functions) which can be grouped in two categories:

  • utility modules: graphical user interface (GUI), simulation, and SBML-import modules;

  • optimization modules: offering several optimization strategies, namely single optimization, multi-start, successive re-optimization, and hybrid optimization modules.

Utility modules

The utility modules offer several facilities for the definition, checking, and handling of problems. The toolbox can be operated through two equivalent approaches: by the use of the GUI, or directly from the command line (from where scripts with problem definitions can be created and executed). It also offers a module to import dynamic models from SBML files, and the imported models can be checked by a simulation module.

  • Graphical User Interface (GUI) module: this module was developed in order to help users in the definition and execution of problems. With the help of this module, which follows an intuitive wizard-like approach, problem definitions and modifications are guided in an easy and convenient stepwise manner, especially indicated for entry users.

  • Simulation module: this module carries out the dynamic simulation of the user-defined dynamics (plus assigned initial conditions and controls) generating the corresponding state trajectories. This module is especially useful for checking the model correctness during the definition phase, which is particularly error-prone. Typical errors like those related with units inconsistencies can be readily identified with this procedure.

  • SBML to DOTcvpSB module: this module allows DOTcvpSB to import the systems dynamics from SBML (Systems Biology Markup Language) models [18, 19]. Once a dynamic model is imported, it is necessary to check the model correctness by simulation (previous module). If everything works correctly, the user can proceed with the definition of the other terms of the dynamic optimization problem (performance index, constraints) and, finally, with its numerical solution.

Optimization modules

The optimization modules offers a suite of four different optimization strategies, each one with different options for the optimization solvers, following the "Swiss Army knife" approach mentioned previously. All these modules are described in more detail below.

  • Single optimization module: this module makes a single call to one of the optimization solvers, which can be either a local deterministic or global stochastic method (see available solvers below). This procedure can be sufficient for well conditioned, convex problems, or non-convex problems which are cheap to evaluate. In any case, it is recommended as the first strategy to try with any new problem.

  • Multi-start optimization module: this modules runs a selected optimization solver (typically a local one) repeatedly. The set of solutions (performance index values) obtained can then be analyzed (e.g. plotting a histogram) in order to check the multimodality of the problem.

  • Sucessive re-optimization module: Sucessive re-optimization can be used to speed up the convergence for problems where a high discretization level is desired (e.g. those where the control profiles behave wildly). This procedure runs several successive single optimizations automatically increasing the control discretization, NLP, and IVP tolerances after each run.

  • Hybrid optimization module: Hybrid optimization is characterized by the combination of a stochastic global method plus a deterministic local method. This procedures ensures a compromise between the robustness of global methods and the efficiency of local ones. This module is especially indicated for difficult multimodal problems. In any case, tweaking the hybrid method requires a deep knowledge of the solvers, and this approach will be almost always more costly (in CPU time) than the single optimization procedures using local methods (the price to pay for the increased robustness).

Numerical optimization methods (NLP and MINLP solvers)

The toolbox provides interfaces to several optimization state-of-the-art solvers:

  • local deterministic

  1. 1.

    IPOPT [20] implements a primal-dual interior point method, and uses line searches based on Filter methods;

  2. 2.

    FMINCON [21] is a part of the MATLAB optimization toolbox which uses sequential quadratic programming (SQP);

  3. 3.

    MISQP [10] solves mixed-integer non-linear programming problems by a modified sequential quadratic programming method;

  • stochastic global

  1. 1.

    DE [22] uses population based approach for minimizing the performance index;

  2. 2.

    SRES [23] uses an evolution strategy combined with an approach to balance objective and penalty functions;

  • and hybrid metaheuristics

  1. 1.

    ACOmi [15] is inspired by ants foraging behavior, using MISQP for local searches;

  2. 2.

    MITS [13] is based on extensions of the Tabu Search metaheuristic, using MISQP for local searches;

where the deterministic MISQP solver and all hybrid solvers are able to handle mixed-integer problems directly. Users can change solvers by simply changing an option in the input data structure, thus requiring no problem reformulation.

Numerical simulation method (IVP solvers)

Forward integration of the ODE, Jacobian, and sensitivities (when needed) is ensured by CVODES, a part of SUNDIALS [16], which is also able to perform simultaneous or staggered sensitivity analysis. The IVP problem can be solved with the Newton or Functional iteration module and with the Adams or BDF linear multistep method (LMM). The Adams method is recommended for solving of the non-stiff problems while BDF is recommended for solving of the stiff problems. Note that the sensitivity equations are provided analytically and the error control strategy for the sensitivity variables could be enabled.

Recommended operating procedure

It should be noted that, for a general MIDO formulation, there is no a priori way to distinguish if the resulting MINLP will be convex or not inside the search space considered, so the user has no clue on which optimization strategy should be using. Thus, we recommend that, for any new problem, the user follows this protocol:

  • Step 1: try solving the problem with the single optimization strategy and a local deterministic method, such as FMINCON or IPOPT for DO problems, or MISQP for MIDO problems, using a rather crude control discretization (e.g. 10 elements). After obtaining a solution, repeat changing the initial guess for the control variable. If a rather different solution is obtained, suspect multimodality and go to step 2 below. If not, solve the problem again using a finer discretization. For faster and more satisfactory results regarding control discretization, use the successive re-optimization module.

  • Step 2: solve the problem using the multi-start optimization module. In general 100 runs is a sensible number for this task, but for costly problems the user might want to reduce this. Plotting an histogram of the resulting set of solutions will give a good view of the problem multimodality. For clearly multimodal problems, go to step 3. If not, stop, or go back to step 1 if e.g. more refined control levels are desired.

  • Step 3: use the single optimization strategy as in step 1, but use a global stochastic method, like DE or SRES for DO problems, or ACOmi or MITS for MIDO problems. If satisfactory results are obtained in reasonable computation times, stop. If the computational cost is excessive, go to step 4.

  • Step 4: use a hybrid global-local strategy. More advanced users can tweak the different options to increase efficiency and/or robustness.

This protocol is especially recommended for novel users who are not familiar with numerical optimization methods. Advanced users can tweak the hybrid strategy options, or even create their own strategies combining calls to the different solvers in a MATLAB script.

Results and discussion

This section illustrates the usage and performance of the different modules of DOTcvpSB considering several illustrative examples.

Importing and checking a SBML dynamic model

For illustrative purposes, a dynamic model of the cell cycle [24] was chosen and imported into the DOTcvpSB toolbox. The problem is marked as BIOMD0000000005, Tyson1991_CellCycle_6var, 1831270 can be downloaded as an '.xml' file from the Biomodels database web page:

After importing it using function dotcvp_sbml2dotcvpsb, the user should perform a dynamic simulation using the simulation module to check the model. Figure 2 shows all state trajectories of the cdc2-cyclin model simulated with the constant parameters supplied in the above version.

Figure 2
figure 2

Importing a dynamic model from SBML to DOTcvpSB. This figure shows the dynamic behavior of the cdc2-cyclin model with 6 variables. This model was imported from a SBML file and then checked by simulation in the DOTcvpSB toolbox.

Single optimization

Here we solve a relatively simple problem to illustrate the usage of the single optimization strategy with a local deterministic solver.

Drug displacement problem

The problem consists of finding the optimal rate of injection of a phenylbutazone infusion to minimize the time needed to reach in a patient's bloodstream a desired level of two drugs [14]. The system dynamics is described by 2 non-linear differential equations where the state variables represent the concentration of warfarin (x1) and phenylbutazone (x2). These drugs must achieve a desired value at final time, a requirement which is mathematically formulated as two end-point constraints. Table 1 shows a typical input script to solve this problem with DOTcvpSB. Alternatively, the problem can be defined (or loaded and modified) using the GUI, as presented in Figure 3. Mathematically, this is a constrained minimum time problem stated as:

Table 1 DOTcvpSB typical input data structure for the drug displacement problem.
Figure 3
figure 3

Problem definition with the help of Graphical User Interface. The Graphical User Interface (GUI) guides the user during problem definition or modification. The user must provide the different terms regarding the problem and the desired solution approach. Figure (A) on the left shows an screen where the optimization options are set (with NLP settings, gradient method, performance index, and bounds on the control variables and on time-independent parameters). Figure (B) illustrates how the user can introduce the systems dynamics and related options, such as initial conditions, fixed parameters.


subject to


with defined as follows


where the decision variable (control (u)) is constrained with lower and upper bounds set at values of 0.00 and 8.00. The desired concentrations of the drugs in the blood at final time should be equal to 0.02 and 2.00, respectively.

The problem was successfully solved with DOTcvpSB using the single optimization strategy with a control discretization level ρ = 5 and IPOPT as the NLP solver. The optimal solution found corresponds to a minimum time of 221.24 which is in good agreement with the best published result of 221.43 [6]. The optimal control profile and the corresponding state trajectories are shown in the Figure 4.

Figure 4
figure 4

Optimal trajectories for the drug displacement problem. Optimal state trajectories (A) and control profile (B) for the drug displacement problem. The control trajectory infuses the desired amount of drugs into the patient's bloodstream in minimum time.

Successive re-optimization

Here we show how to use the successive re-optimization module in order to obtain refined optimal control profiles.

Lee-Ramirez bioreactor

This example considers the optimal control of a fed-batch bioreactor for induced foreign protein production by recombinant bacteria. This problem was first presented by Lee et al [25], slightly modified by Tholudur et al [26], and later solved using a second order sensitivities approach [27]. The objective is to maximize the profitability of the process using the nutrient (u1) and the inducer feeding rates (u2) as control variables. Several different values for the ratio of the cost of inducer to the value of the protein production (Q) were published in the literature, but here we consider the particular case of Q = 2.5. Mathematically, the statement is to find the control trajectories that maximize the performance index at the fixed final time


subject to


where the state variables represent the reactor volume (x1), the cell density (x2), the nutrient concentration (x3), the foreign protein concentration (x4), the inducer concentration (x5), the inducer shock factor on cell growth rate (x6), and the inducer recovery factor on cell growth rate (x7). The final time is specified as 10 h. The additional constrains at the decision variables are lower and upper bounds set at the value of 0.00 and 1.00.

We successfully solved this problem using the successive re-optimization strategy from DOTcvpSB and FMINCON as NLP solver, setting the initial control discretization at ρ = 15. The mesh increasing factor and the number of mesh refinements were set at values of 2 and 4, respectively. The results for the increasing ρ values are shown in Figure 5, which have the following performance index values: 5.64058, 5.72840, 5.75707, and 5.75710. These performance indexes are in very good agreement with those published in the literature.

Figure 5
figure 5

Optimal control of the Lee-Ramirez bioreactor. The successive re-optimization strategy was applied to the Lee-Ramirez bioreactor. Figures (A, B, C, D) show the optimal trajectories for the discretization levels 15, 30, 60, and 120, with the performance index values of 5.64058, 5.72840, 5.75707, and 5.75710.

Hybrid optimization

Here we solve a multimodal problem using the powerful hybrid strategy, where the adequate combination of an stochastic global and a deterministic local solver allows reaching the vicinity of global solution in a reasonable computation time.

Drug displacement problem with path constraint

Here we consider a modified formulation of the drug displacement problem (defined above) adding an state path constraint, which is set to ensure that the warfarin concentration in the patient's blood does not exceed a dangerous level. The constraint is defined as follows


This problem has been reported to be highly multimodal, therefore its solution must be approached by the use of a suitable global method. On the other hand, a combination of a global and a local method (hybrid approach) should be more efficient. To illustrate this, we solved this problem using (i) the global DE solver (in single optimization mode) and (ii) a hybrid combining DE and MISQP solver. Using ρ = 10 free time intervals, both approaches converged to a similar solution, with a performance index (infusion final time) of 266.09. In addition, the inequality and all equality constraints were violated less than the pre-set tolerance of 10-8. But the hybrid approach was approximately 5 times faster than DE in obtaining equivalent results. It should be mentioned that these results are again in very close agreement with those presented in the above cited literature. The optimal trajectories are shown in Figure 6.

Figure 6
figure 6

Optimal trajectories for the drug displacement problem with path constraint. Optimal state trajectories (A) and control profile (B) for the drug displacement problem with path constraint on the warfarin concentration amount. Solution found with the hybrid global-local strategy.

Multistart and single optimization with a global method

The multistart strategy is a good way of checking the possible non-convexity of problems. When the multimodality of a problem has been confirmed, users can choose a global or a hybrid strategy to find a solution in the close vicinity of the global one. We illustrate all this here considering a challenging MIDO problem.

Phase resetting of a calcium oscillator problem: a mixed-integer dynamic optimization problem

We have considered a calcium oscillator model describing intracellular calcium spiking in hepatocytes induced by an extracellular increase in adenosine triphosphate (ATP) concentration, as originally proposed in [28] and later slightly modified and solved in [29, 30]. The aim of the optimization is to minimize the intracellular oscillations behavior with the help of two binary control variables (i1, i2). The values of these variables and the time of the switching from one mode to another, together with the time-independent parameter (p1), are the decision variables. The performance index is formulated as the minimization of the state variables deviations with respect to certain desired values (see Table 2) over a fixed time horizon:

Table 2 Parameter values for the calcium oscillator problem

subject to


and the time-independent parameter: 1 ≤ p1 ≤ 1.3, where state variables represent the concentration of activated G-protein (x1), active phospholipase C (x2), intracellular calcium (x3), and intra-ER calcium (x4). The time-fixed parameters together with the initial concentrations, desired values of the state variables and weighted coefficients are described in detail in the Table 2. The control variables are chosen binaries (i1, i2), which refer to the concentrations of an uncompetitive inhibitor of the PMCA (plasma membrane Ca2+) ion pump and the inhibitor of PLC activation by the G-protein. The influence of the first inhibitor is modeled according to Michaelis-Menten kinetics while that of the second inhibitor is modelled with the help of the term (1 - i2), where i2 = 1 corresponds with the maximum amount of the inhibitor. An additional equality constraint was added to fix the final time at the fixed value (t F ). The best performance index reported in [29] was 1538.00, where this reported cost function corresponds to the term . These authors reported that the system is extremely sensitive to small perturbations in the stimulus.

We first solved this problem using the multistart module of the DOTcvpSB toolbox, using MISQP as local solver. The control discretization level was set to a value of ρ = 5 with free transition times and two binary decision variables for the controls. The multistart number of runs was set to 100, with randomly generated initial values for all the decision variables in each run. The set of solutions found were spread in a quite wide range, a clear sign of multimodality. The histogram of these solutions is shown in Figure 7, where performance index values worse than 2500.00 are not shown. The best value (for the reduced cost term above) obtained by the multistart was 1641.03, which is still far from the published solution reported above.

Figure 7
figure 7

Multistart optimization for the calcium oscillator problem. The calcium oscillator problem was solved using the multistart module and the MISQP local solver.

In a second step, we solved this problem using the MITS hybrid strategy, while keeping all the other settings as stated above. The best solution found by MITS was 1542.50, which is very close to the value reported in [29]. The corresponding optimal trajectories are shown in Figure 8 where it can be seen how the optimal control policies rapidly cancel the oscillations.

Figure 8
figure 8

Optimal trajectories for the calcium oscillator problem. Optimal state trajectories (A, B, C, D) (blue lines), desired states (dotted red lines), and control profiles (E, F) (green lines) for the calcium oscillator problem with two control variables.


Here we have presented DOTcvpSB, a MATLAB toolbox for solving dynamic optimization problems from the domain of systems biology. This toolbox is able to handle very general mixed-integer dynamic optimization formulations, thus providing the opportunity to state and solve complex problems, such as e.g. optimal control for obtaining a desired biological performance, dynamic analysis of network designs or computer aided design of biological units. Problems are easily defined via a compact input structure, or optionally using a graphical user interface.

This toolbox has been developed placing particular care in providing state-of-the-art solvers in order to ensure a good compromise between computational robustness and efficiency. DOTcvpSB offers two key and unique advantages:

  • It incorporates a suite of local and global optimization solvers so as to handle a wide range of problems, including non-convex (multimodal) ones.

  • It offers several optimization strategies, including single, multistart, sucessive reoptimization and hybrid methods. These strategies can be effectively used to enhance the solution of difficult multimodal problems.

The capabilities and performance of DOTcvpSB were successfully tested using several challenging benchmarks problems taken from the open literature. The results confirmed that the toolbox was able to get excellent results in reasonable computation times, showing a good compromise between robustness and efficiency.

Availability and requirements

Project name: DOTcvpSB, a Software Toolbox for Dynamic Optimization in Systems Biology

Project homepage: The toolbox can be downloaded from the following website, which also offers documentation (installation instructions, manual, tutorial and video demos):

Operating system(s): Windows. A Linux version is planned for the near future.

Programming language: MATLAB versions 7.0–7.6 (2008a) is required, and the MATLAB Optimisation Toolbox and Symbolic Math Toolbox are highly recommended.

Other requirements: The toolbox distribution includes most of the needed external solvers: IVP solver CVODE (part of SUNDIALS suite), and (MI)NLP solvers ACOmi, DE, IPOPT, MISQP, MITS and SRES. The Optimization Toolbox is needed if the user wants to use FMINCON as a NLP solver. FORTRAN compilation to speed-up computations is secured by a combination of gnumex and MinGW, packages which are distributed with the toolbox as well. On the other hand, the Symbolic Math Toolbox is needed if automatic generation of sensitivities and Jacobian are desired (recommended). Users must install the SBML and libSMBL toolboxes in order to be able to import SBML models.

License: The toolbox can be obtained and used for free for academic purposes, and is under the creative commons license. The conditions of the license can be found on:

Any restrictions to use by non-academics: Following the previous license.



Ant Colony Optimization for Mixed Integer non-linear programming problems


Adenosine TriPhosphate


Backward Differentiation Formula


Control Vector Parameterization


Differential Evolution


Find MINimum of CONstrained non-linear multivariable function


Mixed-Integer Sequential Quadratic Programming


Graphical User Interface


Interior Point OPTimizer


Initial Value Problem


Linear Multistep Method




Mixed-Integer Dynamic Optimization


Mixed-Integer Non-Linear Programming


Mixed-Integer Tabu Search algorithm


Non-Linear Programming


Ordinary Differential Equations


Systems Biology Markup Language


Stochastic Ranking Evolution Strategy.


  1. Greenberg H, Hart W, Lancia G: Opportunities for combinatorial optimization in computational biology. Informs Journal on Computing 2004, 16(3):211–231. 10.1287/ijoc.1040.0073

    Article  Google Scholar 

  2. Larranaga P, Calvo B, Santana R, Bielza C, Galdiano J, Inza I, Lozano J, Armananzas R, Santafe G, Perez A, Robles A: Machine learning in bioinformatics. Briefings in Bioinformatics 2006, 7: 86–112. 10.1093/bib/bbk007

    Article  CAS  PubMed  Google Scholar 

  3. Mendes P, Kell D: Non-linear optimization of biochemical pathways: applications to metabolic engineering and parameter estimation. Bioinformatics 1998, 14(10):869–883. 10.1093/bioinformatics/14.10.869

    Article  CAS  PubMed  Google Scholar 

  4. Banga JR: Optimization in computational systems biology. BMC Systems Biology 2008, 2: 47. 10.1186/1752-0509-2-47

    Article  PubMed Central  PubMed  Google Scholar 

  5. Vassiliadis VS: Computational Solution of Dynamic Optimization Problems with General Differential-Algebraic Constraints. PhD thesis. University of London, London, UK; 1993.

    Google Scholar 

  6. Banga JR, Balsa-Canto E, Moles EG, Alonso AA: Dynamic optimization of bioprocesses: Efficient and robust numerical strategies. Journal of Biotechnology 2005, 117: 407–419. 10.1016/j.jbiotec.2005.02.013

    Article  CAS  PubMed  Google Scholar 

  7. Hoops S, Sahle S, Gauges R, Lee C, Pahle J, Simus N, Singhal M, Xu L, Mendes P, Kummer U: COPASI: a COmplex PAthway SImulator. Bioinformatics 2006, 22: 3067–3074. 10.1093/bioinformatics/btl485

    Article  CAS  PubMed  Google Scholar 

  8. Maiwald T, Timmer J: Dynamical modeling and multi-experiment fitting with PottersWheel. Bioinformatics 2008, 24(18):2037–2043. 10.1093/bioinformatics/btn350

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  9. Schmidt H, Jirstrand M: Systems Biology Toolbox for MATLAB: a computational platform for research in systems biology. Bioinformatics 2006, 22(4):514–515. 10.1093/bioinformatics/bti799

    Article  CAS  PubMed  Google Scholar 

  10. Exler O, Schittkowski K: A trust region SQP algorithm for mixed-integer nonlinear programming. Optimization Letters 2007, 1(3):269–280. 10.1007/s11590-006-0026-1

    Article  Google Scholar 

  11. Bansal V, Sakizlis V, Ross R, Perkins J, Pistikopoulos E: New algorithms for mixed-integer dynamic optimization. Computers and Chemical Engineering 2003, 27(5):647–668. 10.1016/S0098-1354(02)00261-2

    Article  CAS  Google Scholar 

  12. Chachuat B, Singer A, Barton P: Global Methods for Dynamic Optimization and Mixed-Integer Dynamic Optimization. Industrial and Engineering Chemistry Research 2006, 45(25):8373–8392. 10.1021/ie0601605

    Article  CAS  Google Scholar 

  13. Exler O, Antelo LT, Egea JA, Alonso AA, Banga JR: A Tabu search-based algorithm for mixed-integer nonlinear problems and its application to integrated process and control system design. Computers and Chemical Engineering 2008, 32(8):1877–1891. 10.1016/j.compchemeng.2007.10.008

    Article  CAS  Google Scholar 

  14. Balsa-Canto E, Vassiliadis VS, Banga JR: Dynamic Optimization of Single- and Multi-Stage Systems Using a Hybrid Stochastic-Deterministic Method. Industrial and Engineering Chemistry Research 2005, 44(5):1514–1523. 10.1021/ie0493659

    Article  CAS  Google Scholar 

  15. Schlüter M, Egea JA, Banga JR: Extended ant colony optimization for non-convex mixed integer nonlinear programming. Computers & Operations Research 2009, 36(7):2217–2229. 10.1016/j.cor.2008.08.015

    Article  Google Scholar 

  16. Hindmarsh AC, Brown PN, Grant KE, Lee SL, Serban R, Shumaker DE, Woodward CS: SUNDIALS: Suite of Nonlinear and Differential/Algebraic Equation Solvers,. ACM Transactions on Mathematical Software 2005, 31(3):363–396. 10.1145/1089014.1089020

    Article  Google Scholar 

  17. Balsa-Canto E, Banga JR, Alonso AA, Vassiliadis VS: Efficient Optimal Control of Bioprocesses Using Second-Order Information. Industrial and Engineering Chemistry Research 2000, 39(11):4287–4295. 10.1021/ie990658p

    Article  CAS  Google Scholar 

  18. Keating SM, Bornstein BJ, Finney A, Hucka M: SBMLToolbox: an SBML toolbox for MATLAB users. Bioinformatics 2006, 22(10):1275–1277. 10.1093/bioinformatics/btl111

    Article  CAS  PubMed  Google Scholar 

  19. Hucka M, Finney A, Sauro HM, Bolouri H, Doyle JC, Kitano H, Arkin AP, Bornstein BJ, Bray D, Cornish-Bowden A, Cuellar AA, Dronov S, Gilles ED, Ginkel M, Gor V, Goryanin II, Hedley WJ, Hodgman TC, Hofmeyr JH, Hunter PJ, Juty NS, Kasberger JL, Kremling A, Kummer U, Le Novere N, Loew LM, Lucio D, Mendes P, Minch E, Mjolsness ED, Nakayama Y, Nelson MR, Nielsen PF, Sakurada T, Schaff JC, Shapiro BE, Shimizu TS, Spence HD, Stelling J, Takahashi K, Tomita M, Wagner J, Wang J: The systems biology markup language (SBML): a medium for representation and exchange of biochemical network models. Bioinformatics 2003, 19(4):524–531. 10.1093/bioinformatics/btg015

    Article  CAS  PubMed  Google Scholar 

  20. Wächter A, Biegler LT: On the Implementation of a Primal-Dual Interior Point Filter Line Search Algorithm for Large-Scale Nonlinear Programming. Mathematical Programming 2006, 106: 25–57. 10.1007/s10107-004-0559-y

    Article  Google Scholar 

  21. Coleman T, Branch MA, Grace A: Optimization Toolbox For Use with MATLAB User's Guide Version 2.1998. []

    Google Scholar 

  22. Storn R, Price K: Differential Evolution – A Simple and Efficient Heuristic for global Optimization over Continuous Spaces. Journal of Global Optimization 1997, 11(4):341–359. 10.1023/A:1008202821328

    Article  Google Scholar 

  23. Runarsson TP, Yao X: Stochastic ranking for constrained evolutionary optimization. IEEE Transactions Evolutionary Computation 2000, 4(3):284–294. 10.1109/4235.873238

    Article  Google Scholar 

  24. Tyson JJ: Modeling the Cell Division Cycle: cdc2 and Cyclin Interactions. Proceedings of the National Academy of Sciences of the United States of America 1991, 88(16):7328–7332. 10.1073/pnas.88.16.7328

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  25. Lee J, Ramirez WF: Optimal fed-batch control of induced foreign protein production by recombinant bacteria. AIChE Journal 1994, 40(5):899–907. 10.1002/aic.690400516

    Article  CAS  Google Scholar 

  26. Tholudur A, Ramirez WF: Obtaining smoother singular arc policies using a modified iterative dynamic programming algorithm. International Journal of Control 1997, 68(5):1115–1128. 10.1080/002071797223235

    Article  Google Scholar 

  27. Balsa-Canto E, Banga JR, Alonso AA, Vassiliadis VS: Dynamic optimization of chemical and biochemical processes using restricted second-order information. Computers and Chemical Engineering 2001, 25: 539–546. 10.1016/S0098-1354(01)00633-0

    Article  CAS  Google Scholar 

  28. Kummer U, Olsen LF, Dixon CJ, Green AK, Bornberg-Bauer E, Baier G: Switching from Simple to Complex Oscillations in Calcium Signaling. Biophysical Journal 2000, 79(3):1188–1195. 10.1016/S0006-3495(00)76373-9

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  29. Sager S: Numerical methods for mixed-integer optimal control problems. PhD thesis. Tönning, Lübeck, Marburg; 2005. [ISBN 3–89959–416–9] [ISBN 3-89959-416-9]

    Google Scholar 

  30. Lebiedz D, Sager S, Bock H, Lebiedz P: Annihilation of limit-cycle oscillations by identification of critical perturbing stimuli via mixed-integer optimal control. Physical Review Letters 2005, 95: 108303. 10.1103/PhysRevLett.95.108303

    Article  CAS  PubMed  Google Scholar 

Download references


The authors acknowledge financial support from Spanish MICINN project MultiSysBio DPI2008-06880-C03-02. TH acknowledges a JAE-doc fellowship from Spanish Council for Scientific Research (CSIC), Spain.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Julio R Banga.

Additional information

Authors' contributions

TH wrote the source code, designed the GUI interface, and implemented the test problems. EBC and JRB conceived the algorithms, guided their implementation, and tested the toolbox. TH, EBC, and JRB wrote the manuscript and tested the final version of the software. All authors have read and approved the final manuscript.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Hirmajer, T., Balsa-Canto, E. & Banga, J.R. DOTcvpSB, a software toolbox for dynamic optimization in systems biology. BMC Bioinformatics 10, 199 (2009).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: