Using OptaPlanner, Python and REST`

1,434 views
Skip to first unread message

siriusb...@gmail.com

unread,
Nov 29, 2014, 2:41:49 AM11/29/14
to optapla...@googlegroups.com
Dear all, 

My name is Supritha, and I would like to use OptaPlanner for my college project.

I am currently working on the Vehicle Routing Problem.

I am using only Python as my primary programming language. 

These 2 websites act as a small guide, for this project of mine. 



I use the module named requests. ( http://docs.python-requests.org/en/latest/index.html )

In both of the sample code, which has been given, I have to pass, a URL, to get the appropriate json

For example,  response = requests.get(url) 

My question is, what is the URL, that I should be specifying, for the vehicle routing problem?

Are there any tutorials on how to call OptaPlanner using REST API from Python? Would you have any sample code on how to do it?

Hoping for  a good response,

Supritha

Geoffrey De Smet

unread,
Nov 29, 2014, 3:29:11 AM11/29/14
to optapla...@googlegroups.com
You still have to write some Java code to expose a specific use case as a REST service to solve with optaplanner.
Here's some code that exposes a REST service to solve a conference schedule with optaplanner:
  https://github.com/ge0ffrey/optaconf

With kind regards,
Geoffrey De Smet

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

Reply all
Reply to author
Forward
Message has been deleted
0 new messages