#include <acado_integrators.hpp>
Go to the source code of this file.
Functions | |
int | main () |
int main | ( | void | ) |
The problem is from chemical kinetics, and consists of the following three rate equations: dy1/dt = -p1*y1 + p2*y2*y3 dy2/dt = p1*y1 - p2*y2*y3 - p3*(y2)^2 dy3/dt = p3*(y2)^2 on the interval from t = 0.0 to t = 1.e10, with initial conditions y1 = 1.0, y2 = y3 = 0. The reaction rates are: p1=0.04, p2=1e4, and p3=3e7. The problem is stiff.
Definition at line 52 of file chemical_rate_equations.cpp.