Value Function Iteration in R, Python, GAMS

So I’ve spent a couple of evenings debugging my code, trying it in different languages to see whether it was me or the built-in functions I used (it was me), so I ended up with the same model in R, Python, and GAMS. I figured I might as well post the code on the web.

Yes, I found the problem, and no, I’m not going to tell what it was because I find it too embarrassing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s