I need to optimize some parameter values of an ODE model of a biological system. Some of the equations are nonlinear. The system can be solved nicely with the built-in LSODE solver. Can anyone point me to an example of optimization code for this type of problem using the optim package?
Thanks.
- Rory