Options in v2 API


#1

Hi,

Is it possible to use the Options like in the UI in the API version like Capacities to split rounds?

Thanks


#2

It might be supported in V2, but due to summer holidays we can not confirm that or the details at this moment. We’ll come back to that in a week or two.


#3

Hi,

Any update on this?

Thanks,


#4

It’s available in the API V2. That is you can set the parameters and the algorithm should work, but it is not fully tested yet. To help us testing, try this:

  1. Set the number of rounds in the parameters, and the capacities for each round as a string seperated by spaces, e.g.
    'parameters'=>'{"rounds":"3","capacities":"20 20 20"}'

  2. Set demand for each location, e.g.
    "restrictions":{"demand":"10"}