Phase 2. Add Operating Hours for Customers
In the previous phase we imported the scenario, ran the
Capacitated TO experiment, and observed results. In this phase we will
add operating hours for our customers (limiting the
delivery period) and compare the results.
We will assume that the Lidl stores can accept deliveries from
6 a.m. to 9 a.m., which means that the Gabrovo
DC is supposed to visit all customers within this time period.
- Click Data to
open the scenario input data.
- Click All to
see the full list of tables, then open the Operation
Click Add to
create a new record.
- Leave the default value of the Facility
column, since.it allows us to define operating hours for all customers.
- Click the Start Time
cell and set the time to 6:00
AM by either using the arrows on the right side or typing 6.
- In the same way define the end time in the End Time
- Set the time to 9:00
- Click the PM
button to switch it to AM
- The Operation
column defines if the specified Facility
is supposed to receive (in case of a customer) or ship (in case of a
site) the order. We will leave the default value of
the column, since it defines the working hours for the
Now we will set up the CTO experiment and run it. The
will consider the operating hours, which will affect the routes.
Set up the experiment and run it
- Navigate to the
properties, by clicking Capacitated
TO experiment in the experiment's section.
- Enable the Use time windows option by clicking
the toggle button. This will make the experiment consider the data from
the Operating Hours table.
Click Run to
run the experiment.
When the experiment is completed, proceed to analyze its
the received results
- Navigate to the Optimization
tab below the experiment view. This time the result contains 32 routes
for 2 shipments.
- Type Lovech
in the filter field of the Destination
column to see the list of routes in which it is used.
As you can see, there are two routes, one per shipment. The date of the
shipment is specified in the Aggregation
- Click the first record to have it displayed on the
The new route comprises three destinations (Lovech, Pleven, Gabrovo),
while the previous result comprised 4 destinations (see the
- Switch to the Generated Paths
tab, group data per Shipment,
then click the Add to
comparison button to add this element to the comparison
dashboard and name it Result
2. We will get back to it later.
- Finally switch to the Generated Path Segments tab
and group data per Shipment.
This table contains
details on each segment of every route. We are mostly interested in
the data from the following columns:
- Origin -
the point from which the vehicle sets off
- the point to which the vehicle arrives
- Distance, km
- the distance between the two points
- Cost, USD -
the transportation cost between the two points
- Arrival Time
- the time when the vehicle arrived at destination point
- Scroll down until you see the Lovech
customer in the Destination
Let us have a closer look at
this route (see screenshot below):
- The vehicle set off from Gabrovo
(our DC) and traveled 68.7
km to arrive at Lovech customer
at 6 a.m.
- From Lovech customer
the vehicle traveled to Pleven customer.
The Arrival Time
column shows that the vehicle arrived at 06:44 a.m., which means that
It took 44 minutes to cover the Distance
of 36.5 km.
- The last segment of this route is the returning
segment. You can define it by looking at the Amount
column cell on line 46, which shows that the vehicle did not carry any
load on this segment. The vehicle traveled 105.3
km from Pleven customer
back to Gabrovo, and
arrived at the
destination at 8:51 a.m.
Now we will compare the previous result with the current
- Navigate to the
dashboard by clicking Comparison below
the result tabs.
costs in the Cost, USD
column, and the number of routes in the Destinations
As you can see, the number of
routes has increased as well as the
transportation costs. Overall the supply chain has become more
expensive, but the good part is that we managed to visit all
customers within the customer's operating hours.
We have completed the second phase of this tutorial. We added
operating hours for our customers, ran the experiment and compared the
1. Import scenario and run the experiment
| Phase 3. Add operating hours for DC