I'm using the package deSolve in R to model a biological ODE system, however I have the problem of, with certain parameters or with certain initial conditions, the ode solver produces negative values, which make no sense in a biological scenario.

Is there a way to avoid this without recurring to logarithms?

More Afonso Dimas Martins's questions See All
Similar questions and discussions