Skip to content
New issue

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

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

Already on GitHub? # to your account

(Incremental) TD3: restart detected wpoints #366

Merged
merged 13 commits into from
Oct 6, 2021

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Sep 30, 2021

This PR is currently built on top of #363 although technically it's independent of the incremental restarting logic from there.
I'm not sure if this would do anything useful for non-incremental solving though.

This is an attempt to further improve the incremental case, where a global gets restarted, but some local variables still contain the old value (due to global reads). It particularly concerns wpoints, where we don't overwrite and might join/widen the old value with the new one, thus republishing the old value again and having gained nothing from restarting the global.

This is achieved by doing the restart when eval detects a wpoint to ensure that the loop body (which may cause side effects) isn't ever re-evaluated with the old value.

Base automatically changed from td3-side-restart to interactive October 6, 2021 08:19
@sim642 sim642 marked this pull request as ready for review October 6, 2021 08:22
@sim642
Copy link
Member Author

sim642 commented Oct 6, 2021

We decided to start merging some of these together into the branch interactive for better experimentation.

@sim642 sim642 merged commit 643d561 into interactive Oct 6, 2021
@sim642 sim642 deleted the td3-side-restart-local branch October 6, 2021 08:22
@sim642 sim642 mentioned this pull request Oct 13, 2021
5 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant