Hi
My question is will optiFlow claculated always till the time budget is fully consumed? Since according to the description there are only two stop scenarios. User stops or the time runs out.
But what in case all possible combinations (search space) has been already evaluated earlier?
Will optFlow run till the time budget is totally used?
- Bernd Welter
- Site Admin
- Posts: 2822
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Will optFlow run till the time budget is totally used?
Hi CAPcargo,
sounds simple, but in fact the description does not completely explain the potential conditions:
What is a meaningful "budget duration" which we could derive from an optimization's characteristics? SUch as
Bernd
sounds simple, but in fact the description does not completely explain the potential conditions:
- manual interruption via stopOptimization : clear - termination is triggered and optimization comes to an end soon
- maximum duration expired : clear - termination is triggered and optimization comes to an end soon
- but what happens to a "small problem size" in combination with a "huge maximum duration value"?
What is a meaningful "budget duration" which we could derive from an optimization's characteristics? SUch as
- number of orders
- number of locations (and geographic variance)
- number of vehicles
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...

- Bernd Welter
- Site Admin
- Posts: 2822
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Will optFlow run till the time budget is totally used?
Here's some feedback I received from some Conundrian 
Bernd

So what I could imagine to do is to implement some logic on client side that enables a dispatcher (or an automted process) to decide about a stop:Optimization budget duration depends not only on those variables, but also on the number of constraints that would need to be checked. If there are a lot of things that need to be taken into account during the optimization, there would quickly be a huge explosion of the problem space if you add 10 inter-order constraints.
I don't think this can be put into a simple formula to give you the optimal optimization duration. Experience with customer cases and seeing where the drop in kpi's stabilizes is the main way to establish how useful it is to optimize longer.
Sometimes customers experiment with copies of their production plannings to see if there are savings left on the table.
Typically, in practice, there is an operational constraint even on how long the plan can optimize without exhausting the problem space because they need the output.
Again, I don't see any options or need to keep track of the problem space in where the focus of the size of optiflow optimizations typically is. These are not tiny plans, and they have many constraints.
It is only "strange" for theoretical cases like this, so a self-inflicted problem, not a real one.
- Are all orders scheduled? - for some parties this constraint is crucial and they immediately start to load vehicles once such a solution is available.
- How much did the result improve in the last xx minutes? - Though this does not exclude a significant progress in the future this might be sufficient if you are impatient. So if the solution looks stable you might think about stopping the optimization.
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...

- Bernd Welter
- Site Admin
- Posts: 2822
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Will optFlow run till the time budget is totally used?
at least important to know:
Concept: Optimization
Concept: Optimization
You can set a preferred calculation duration, allowing the algorithm to halt automatically after the specified time. If you have a sequencing request containing only one vehicle with up to 500 orders, the calculation duration is capped at 2 minutes as sequencing requests are faster to optimize.
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
