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

Refactor QuadraticCost with offsets, fix quadraticization bug, and add comprehensive unit tests. #101

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

hmzh-khn
Copy link
Collaborator

@hmzh-khn hmzh-khn commented Jun 13, 2023

Thank God. I should have done this so long ago instead of as a step along the port to autodiff quadraticization. Test driven development is under-utilized.

TODO: Update usage in repo and generate identical plots (or fixed?) plots.
TODO: Delete QuadraticCostWithOffset struct; Close #82.
TODO: Add a unit test to ensure that iLQR, SILQGames converge in one step when run on an LQ game with step size 1.
TODO: See #84, #85 for potential helpers to further improve this code. There are commented TODOs in the code as well.

NEXT STEPS: Refactor the general cost classes to have a function field that describes the cost; also use autodiff for general quadraticization in CostUtils.jl.

Base automatically changed from hmzh/refactor-times-try2 to main June 20, 2023 01:31
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

Successfully merging this pull request may close these issues.

1 participant