Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulties in running the simulation with Horizon (T_f) and Number of Discretization Grids of the Horizon (N) big. #40

Open
zamb0 opened this issue Jun 27, 2024 · 0 comments

Comments

@zamb0
Copy link

zamb0 commented Jun 27, 2024

I'm trying to simulate a system which requires horizon $T_f \approx 10s$
Once it runs, the simulation outputs this error:

output.log

I tried to enlarge this #define

#define EIGEN_STACK_ALLOCATION_LIMIT 131072 1073741824

and with this modification the error gone but basically all simulation that requires $T_f \ge 5$ and $N \ge 200$ are extremely difficult to tune. The simulation at some point, for no apparent reason, outputs nan.

I also considered to use optuna but from what i saw $N$ is not tunable in the python interface.

Any suggestion? Is there a recommended ratio between $T_f$ and $N$?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant