Re: [R] Dynamic Programming in R

From: Gabor Grothendieck <>
Date: Fri 20 Jan 2006 - 12:32:33 EST

The lpSolve package can handle integer programming problems.

Here is an example of using dynamic programming in R from first principles in another setting:

On 1/19/06, Arnab mukherji <> wrote:
> Hi R users,
> I am looking to numerically solve a dynamic program in the R environment. I was wondering if there were people out there who had expereinced success at using R for such applications. I'd rather continue in R than learn Mathlab.
> A concern that has been cited that may discourage R use for solving dynamic programs is its memory handling abilities. A senior researcher had a lot of trouble with R becuase on any given run it would eat up all the computers memory and need to start using the hard disk. Yet, the memory needed was not substantial - saving the worksapce, exiting and recalling would noticebly start of tthe progam at a much lower memory use, level and a quick deteroration in a few thousand iterations.
> Is this a problem other people have come across? Perhaps, its a problem already fixed, since the researcher was working on this in 2002 (he claimed he had tried it on windows, mac, and unix versions to check).
> Thanks.
> Arnab
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!
> mailing list PLEASE do read the posting guide! Received on Fri Jan 20 12:40:36 2006

This archive was generated by hypermail 2.1.8 : Fri 20 Jan 2006 - 14:09:28 EST