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

Add SA pairs to ddp #100

Merged
merged 6 commits into from
Mar 17, 2016
Merged

Add SA pairs to ddp #100

merged 6 commits into from
Mar 17, 2016

Conversation

sglyon
Copy link
Member

@sglyon sglyon commented Mar 14, 2016

This PR builds off the work of @albep and adds state-action pair formulation to DDP.jl

Notable changes are:

  • adding sa support
  • Moving to cartesian indexing for both dense and SA formulations. This is a breaking change as previously the dense version used linear indexing rather than cartesian. @oyamad this will require updates to your notebooks

I consider this an intermediate step. The next phase should be to transpose all the routines so they naturally fall in line with Julia's column major array layout. Right now the implementation of some routines is suboptimal, mainly because I didn't want to spend time making them uber efficient if they will be shortly replaced.

Comments welcome.

albep and others added 6 commits March 14, 2016 13:15
Revert "Added state-action pair types and some of the methods"

This reverts commit b4e743a.

Added state-action pair types and methods
Cleaning #2

Remove dummy file

refactor ddp types

improving s-a pair formulation

improving s-a pair formulation

run some tests over both dense and sparse

allow Q to be sparse in SA constructor

Minor touchups

Updates to State-Action Pair tests. TODO @sglyon needs attention

Added note about linear vs cartesian indexing

Updates to documentation for Outer Constructors, and other minor tweaks to improve formating

fix @test_throws errors for dense ddp

move to cartesian indexing for dense ddp
@sglyon sglyon mentioned this pull request Mar 14, 2016
sglyon added a commit that referenced this pull request Mar 17, 2016
@sglyon sglyon merged commit 5d25a26 into master Mar 17, 2016
@sglyon sglyon deleted the refactor-ddp branch November 7, 2016 13:55
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.

2 participants