-
-
Notifications
You must be signed in to change notification settings - Fork 114
Description
Based on the recent discussion we've had, it seems there are a number of cases where remake can not update parameters / initial conditions as a user might desire. Given that remake is prevalent throughout SciML docs, this seems likely to cause silent bugs for many users. This is a problem for both ODE/DAE models, where users now need to know to communicate extra information, such as giving guesses, to guarantee that initialization will work correctly, but even more an issue for all other problem types (where there is no initialization that can be relied on to handle the updating remake can't do).
It would be helpful if remake itself could give errors or warnings when it encounters a case it can not handle correctly (at least as much as possible), so users are not surprised by its current behavior (which has also changed as of the last few SciMLBase releases, and so might also cause existing users problems in this new behavior).
edit: Perhaps there can be a kwarg, so users who understand the limitations and remake behavior can opt-out of checks for inputs it can't handle fully.