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

Make replanning efficient #17

Open
Yadunund opened this issue May 10, 2021 · 0 comments
Open

Make replanning efficient #17

Yadunund opened this issue May 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Yadunund
Copy link
Member

Feature request

Description

Each time the optimal_solve/greedy_solve methods are called, the Request::Model object for each request is initialized during which the invariant battery drain and invariant duration of the request are computed. This makes replanning slow as requests that were planned for before will still need their Models to be generated each time. To make replanning faster, we should maintain a cache of Request::Model within the TaskPlanner

Implementation considerations

Refer to comment #15 (comment)

@Yadunund Yadunund added the enhancement New feature or request label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant