Planning Long Range Agricultural Investment Projects: A Dynamic Linear Programming Approach