Thanks Alan for your prompt response,
Alan Borning wrote:
> Christos,
>
> We took the UrbanSim 3 download off of the website because it is
> obsolete and superseded by UrbanSim 4. If you really need it let us
> know and we can dig it up ... but from what you write, I would suggest
> using the latest version instead.
I would really appreciate it if you could dig up Urbansim 3 for me. Then
I could decide which version to use.
>
> It shouldn't be that hard to link your Java-based application with
> UrbanSim -- I would do this by invoking the operating system from your
> application, and letting the operating system call UrbanSim. We do
> this regularly in the current code, actually - look for example at the
> last line of eugene.tools.run_simulation_on_baseyear_cache -- this
> forks off another OS process to run the simulation. If you need to
> pass lots of data back and forth, you can do this via the file system
> or database.
This is certainly an option. The idea though, of having integration at
the JVM level is quite tempting as well, especially in a distributed
environment as in my case.
>
> Not sure how well UrbanSim would work with Jython -- the Python code
> itself should be fine, but UrbanSim also uses a set of external
> packages, in particular numpy, which I'm guessing don't play well with
> Jython.
Yes you are spot on. Jython complained with a numpy Import Error.
>
> Alan
Cheers
Christos
Received on Tue Jul 24 2007 - 01:36:11 PDT
This archive was generated by hypermail 2.2.0 : Tue Jul 24 2007 - 01:36:13 PDT