first version of ODL Studio with jsprit integration

494 views
Skip to first unread message

in...@opendoorlogistics.com

unread,
Sep 10, 2014, 6:08:25 AM9/10/14
to jsprit-ma...@googlegroups.com
Hi all,

I've just released the first version of ODL Studio with jsprit integration. It's open source (LGPL) and provides a UI for jsprit! Only the multi-depot vehicle routing problem with time windows is supported through the UI in the first release, but development is on-going to support more jsprit models. There's a tutorial (mainly consisting of a video) here http://www.opendoorlogistics.com/tutorials/tutorial-v-vehicle-routing-scheduling/ and you can download it from my site http://www.opendoorlogistics.com. The source code is currently only available on my site but will be going onto github in the near future.

Using ODL Studio with jsprit, you can:
- View the routes in an interactive map.
- Generate detailed route reports and export them to pdf or other formats
- View tabular breakdowns of key statistics - e.g. total mileage and drivetime.
- Model routes using real road networks, provided by the Graphhopper project.
- Edit vehicle routes and see how your changes effect the route shape and key statistics.
- Analyse time usage using a Gantt chart control.

Best regards

Phil

p.s. Stefan - in my downloads http://www.opendoorlogistics.com/downloads/ I've got a zip with the runnable jar which I know works on Linux but haven't been able to test on a Mac. Is it possible for you (or anyone else with a Mac) to try running it? Needs Java 7 or higher.

Philip Welch
Open Door Logistics Limited
Specialists in open source solutions for transport logistics.

Skype: opendoorlogistics


Karussell

unread,
Sep 10, 2014, 6:33:04 AM9/10/14
to jsprit-ma...@googlegroups.com
Hi Phil,

nice work! I've tried it on Linux ala "java -jar odl.jar" and it starts okay. See my appended logs**. Maybe you provide a bash script for Linux + mac?

But still the jsprit entry is somehow missing (following the video tutorial), the last entry of the component list is 'Update table'

Do you have a bug tracker where we can discuss further?

And on what framework is it based, eclipse?

Regards,
Peter.

**
Sep 10, 2014 12:20:11 PM net.xeoh.plugins.base.impl.classpath.loader.FileLoader loadFrom
WARNUNG: Supplied path does not exist. Unable to add plugins from there.
Registered component com.opendoorlogistics.core.components.UpdateQueryComponent
Registered component com.opendoorlogistics.components.barchart
Registered component com.opendoorlogistics.components.cluster.kmeans.latlng.KMeansLatLngComponent
Registered component com.opendoorlogistics.components.geocode.postcodegeocoder
Registered component com.opendoorlogistics.components.geocode.postcodes.PCImporterComponent
Registered component com.opendoorlogistics.components.cluster.capacitated
Registered component com.opendoorlogistics.components.reports.reporter
Registered component com.opendoorlogistics.components.tables.creator.CreateTablesComponent
Registered component com.opendoorlogistics.components.scheduleeditor
Registered component com.opendoorlogistics.components.gantt
Registered component com.opendoorlogistics.studio.components.geocoder.nominatim
Registered component com.opendoorlogistics.studio.uicomponents.map
Registered component com.opendoorlogistics.studio.uicomponents.showtable
--
You received this message because you are subscribed to the Google Groups "jsprit-mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsprit-mailing-...@googlegroups.com.
To post to this group, send email to jsprit-ma...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsprit-mailing-list.
For more options, visit https://groups.google.com/d/optout.

Stefan Schröder

unread,
Sep 10, 2014, 6:51:44 AM9/10/14
to jsprit-ma...@googlegroups.com
Great! With Tutorial ... Very Nice!
I will be testing it!

in...@opendoorlogistics.com

unread,
Sep 10, 2014, 6:56:55 AM9/10/14
to jsprit-ma...@googlegroups.com
Hi Peter,

thanks for that. I ran it on xubuntu ok (jsprit was ok too) but obviously I'm missing something here. Its developed in eclipse but just using Swing (not the eclipse UI framework stuff), but jsprit is loaded through a plugin system (https://code.google.com/p/jspf/). You need your working directory to be the same one as the jar, did you run it like that? It needs the Plugins directory as a subdirectory of the working one.

No bug tracker yet, just bu...@opendoorlogistics.com - I need to put the code up onto github (and learn github!) so I can get all that set-up. Github is the next biggish item on my list and so should happen within the next couple of weeks.

I agree that a bash script would be better - although the last time I wrote any script for linux was in 2002 so I'm a little rusty!

thanks

Phil
 
Philip Welch
Open Door Logistics Limited
Specialists in open source solutions for transport logistics.

Skype: opendoorlogistics



----- Original Message -----

To:
<jsprit-ma...@googlegroups.com>
Cc:

Sent:
Wed, 10 Sep 2014 12:33:01 +0200
Subject:
Re: [jsprit-mailing-list] first version of ODL Studio with jsprit integration

in...@opendoorlogistics.com

unread,
Sep 10, 2014, 6:58:14 AM9/10/14
to jsprit-ma...@googlegroups.com
thanks!

p.s. when you run it you need the working directory to be the same as the jar, because it needs the Plugins directory (containing jsprit) to be a subdirectory
 
Philip Welch
Open Door Logistics Limited
Specialists in open source solutions for transport logistics.

Skype: opendoorlogistics


----- Original Message -----

To:
<jsprit-ma...@googlegroups.com>
Cc:

Sent:
Wed, 10 Sep 2014 03:51:44 -0700 (PDT)
Subject:
[jsprit-mailing-list] Re: first version of ODL Studio with jsprit integration

Karussell

unread,
Sep 10, 2014, 7:43:27 AM9/10/14
to jsprit-ma...@googlegroups.com
Hi Phil,

I got it working - really impressive work!

The error: "WARNUNG: Supplied path does not exist. Unable to add plugins from there."
was a related to my problem. Renaming the folder 'Plugins' to 'plugins' helped! (linux is case sensitive!)

Maybe you include the actual path in this log message so that others can better understand what could be wrong the next time. Some minor unrelated issues both easy to fix ;)
 * the 'Scripts' folder is not there when unpacking the zip
 * I had to click save before running the optimizer otherwise it could not find the GraphHopper folder (maybe autosave before running a script?)

Here is the bash script**, still one has to make it executable before one can run it. Or you'll have to use a tar.gz to preserve the rights of the script (e.g. if you are on the xubuntu box).


> Its developed in eclipse but just using Swing (not the eclipse UI framework stuff), but jsprit is loaded through a plugin system (https://code.google.com/p/jspf/).

Ah, ok. Somehow it look like the eclipse UI stuff.

Regards,
Peter.

**
#!/bin/bash

SCRIPT_HOME=$(dirname "$0")
cd $SCRIPT_HOME
java -jar com.opendoorlogistics.studio.jar

in...@opendoorlogistics.com

unread,
Sep 10, 2014, 8:26:55 AM9/10/14
to jsprit-ma...@googlegroups.com
Thanks Peter,

I've replaced the zip on my website with one where the directory names are lower case and I'll integrate your suggestions with the next release. I was doing linux testing in an xubuntu virtual machine but with the jar file and other directories held on the windows host machine and accessible via a shared folder. It turns out if you do this, linux reads them as case insensitive - because its really windows doing the reading. Not so for proper linux directories - which is a nasty gotcha!

Phil

Philip Welch
Open Door Logistics Limited
Specialists in open source solutions for transport logistics.

Skype: opendoorlogistics



----- Original Message -----

To:
<jsprit-ma...@googlegroups.com>
Cc:

Sent:
Wed, 10 Sep 2014 13:43:24 +0200
Subject:
Re: [jsprit-mailing-list] Re: first version of ODL Studio with jsprit integration
> I've just released the first version of ODL Studio with jsprit integration. It's open source (LGPL) and provides a UI for jsprit! Only the multi-depot vehicle routing problem with time windows is supported through the UI in the first release, but development is on-going to support more jsprit models. There's a tutorial (mainly consisting of a video) here http://www.opendoorlogistics.com/tutorials/tutorial-v-vehicle-routing-scheduling/ and you can download it from my site http://www.opendoorlogisticscom. The source code is currently only available on my site but will be going onto github in the near future.

>
>
>
> Using ODL Studio with jsprit, you can:
> - View the routes in an interactive map.
> - Generate detailed route reports and export them to pdf or other formats
> - View tabular breakdowns of key statistics - e.g. total mileage and drivetime.
> - Model routes using real road networks, provided by the Graphhopper project.
> - Edit vehicle routes and see how your changes effect the route shape and key statistics.
> - Analyse time usage using a Gantt chart control.
>
>
> Best regards
>
>
> Phil
>
>
>
> p.s. Stefan - in my downloads http://www.opendoorlogistics.com/downloads/ I've got a zip with the runnable jar which I know works on Linux but haven't been able to test on a Mac. Is it possible for you (or anyone else with a Mac) to try running it? Needs Java 7 or higher.
>
> Philip Welch
> Open Door Logistics Limited
> Specialists in open source solutions for transport logistics.
>
>
> Email: in...@opendoorlogistics.com
> Linkedin: http://uk.linkedin.com/in/welchphilip
> Skype: opendoorlogistics
> Tel:  +44 (0) 20 8144 4009
> Website: http://www.opendoorlogistics.com

--
You received this message because you are subscribed to the Google Groups "jsprit-mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsprit-mailing-...@googlegroups.com
To post to this group, send email to jsprit-ma...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsprit-mailing-list.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "jsprit-mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsprit-mailing-...@googlegroups.com.
To post to this group, send email to jsprit-ma...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsprit-mailing-list.
For more options, visit https://groupsgoogle.com/d/optout.

Stefan Schröder

unread,
Sep 10, 2014, 3:27:27 PM9/10/14
to jsprit-ma...@googlegroups.com
It works on a Mac as well. It is really impressive and makes fun to play with.



On Wednesday, September 10, 2014 12:08:25 PM UTC+2, info wrote:
Hi all,

I've just released the first version of ODL Studio with jsprit integration. It's open source (LGPL) and provides a UI for jsprit! Only the multi-depot vehicle routing problem with time windows is supported through the UI in the first release, but development is on-going to support more jsprit models. There's a tutorial (mainly consisting of a video) here http://www.opendoorlogistics.com/tutorials/tutorial-v-vehicle-routing-scheduling/ and you can download it from my site http://www.opendoorlogistics.com. The source code is currently only available on my site but will be going onto github in the near future.

Using ODL Studio with jsprit, you can:
- View the routes in an interactive map.
- Generate detailed route reports and export them to pdf or other formats
- View tabular breakdowns of key statistics - e.g. total mileage and drivetime.
- Model routes using real road networks, provided by the Graphhopper project.
- Edit vehicle routes and see how your changes effect the route shape and key statistics.
- Analyse time usage using a Gantt chart control.

Best regards

Phil

p.s. Stefan - in my downloads http://www.opendoorlogistics.com/downloads/ I've got a zip with the runnable jar which I know works on Linux but haven't been able to test on a Mac. Is it possible for you (or anyone else with a Mac) to try running it? Needs Java 7 or higher.

Philip Welch
Open Door Logistics Limited
Specialists in open source solutions for transport logistics.

Philip Welch, Open Door Logistics

unread,
Sep 11, 2014, 2:46:03 AM9/11/14
to jsprit-ma...@googlegroups.com
That's great - Stefan and Peter, thanks for all your help. 


Reply all
Reply to author
Forward
0 new messages