You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
If your parameters are just constant values then it is better not to use parameters but pass the values using anonymous functions. Parameters are also optimization variables that you can set bounds on them, so they are not efficient for constants.
Think about there are many parameters, so that it will be too bad to add them one by one. So I trying to do something like this
earth.R0=6378137;
earth.g0=9.8;
p.earth=earth;
p.x0=1;
solver.setParameter('p' , p);
and in varsfun
sh.addParameter('p');
Then in odefun
I want to get it back.
The text was updated successfully, but these errors were encountered: