by chime · 1y ago · 0 comments
Instead of explicit constraints, is there a way to provide a calculation that can be minmaxed? If every order has a due date, can I say +/- 3 days = 0, 7 early = 9999 (not allowed), 7+ days late = (days late)^2?
Please email me (in profile) if you want to discuss.
How do folks normally get the distance matrix? I ended up just using the Mapbox Optimization API instead of using a solver.
[1] https://wiki.openstreetmap.org/wiki/Routing/offline_routers
Our maps service does do a bunch of additional optimizations (caching, incremental requests, ...) to assist any solver model we run that request maps information.
And larger packages will furthermore include a volume discount.
Disclaimer: I'm one of the founders.
so an optimization problem can then be described with a set of those hard/soft contraints