algorithm - Use Optaplanner to determine which parcel deliveries we ship ourselves and which we outsource -
i work large online retailer in uk. ship approaching 2000 orders each day , growing quickly.
we use multiple delivery firms handle our deliveries. we're planning launch our own fleet of delivery vans deliveries local our distribution centre.
we're looking solution determine parcels ship ourselves , outsource our delivery partners , solve vehicle routing problem (vrp) or capacitated vrp (cvrp). planning on using optaplanner real road times (based on osrm) cvrp. think use optaplanner work out issue of deliveries ourselves , outsource, don't know start.
can please point me in right direction using optaplanner determining deliveries made our own vans , made using 3rd party delivery firms?
you can assume know following parcels:
- lat/long each delivery point.
- the actual driving time , distance between 2 delivery points (and/or our distribution centre).
- the cost of using 3rd party make each delivery.
we can know other things if needed.
i have asked related question on programmers, regarding concept whole, whereas question on using optaplanner solve problem. i'd appreciate can offer. thank you.
i'd start different vehicle types , hard/soft scoring rules, measuring cost in money.
rules own fleet (regular cvrp):
- hard constraint: load cannot exceed vehicle capacity
- hard constraint: vehicle must return in time
- soft score in money: daily/hourly cost vehicle , driver
- soft score in money: cost of fuel distance traveled
rules outsourced delivery:
- hard constraint: limit number of packages delivered via 3rd party?
- soft score in money: cost per package
Comments
Post a Comment