If you didn't get this solved.
I have done parameter estimation with models
defined by ODE's where negative solutions are a problem
and one can only avoid them with great difficulty if the
standard explicit methods for solving the ODE are used. I found that
using implicit methods could be a great
Dear Jeremy,
a few notes about your model: The equations of your derivatives are
designed in a way that can lead to negative state variables with certain
parameter combinations. In order to avoid this, you are using if
constructions which are intended to correct this. This method is
however
Hello,
I am using odesolve to simulate a group of people moving through time and
transmitting infections to one another.
In Matlab, there is a NonNegative option which tells the Matlab solver to keep
the vector elements of the ODE solution non-negative at all times. What is the
right way to