anyLogistix
Expand
Font size

Phase 1. Import Scenario and Run the Experiment

In the Capacitated TO Tutorial we created routes comprising a succession of customers that will be visited by our vehicle in a certain order. In this tutorial we will improve that scenario by adding the working hours of the stores and the DC that is supplying the stores with the products.

The aim of the Capacitated TO with time windows experiment is to optimize the existing routes to make the deliveries fit into the working hours of the customers.

Once you download and import the Lidl CTO with Time windows scenario, you may proceed to improving the experiment parameters (you might as well use the Lidl CTO scenario if you completed the Capacitated TO Tutorial.

The numbered lists in tutorials are actually checklists. Click the numbers to save your progress!

Download and import the scenario

  1. Download the scenario. No internet connection is required, since the scenario is supplied with anyLogistix.
  2. Import the downloaded scenario. The GIS map will appear showing the content of the imported scenario.
  3. Explore the connections by clicking the Show filters button to open the filter options, and then clicking the Show connections button.

The imported scenario contains a supply chain with 32 Lidl stores and one distribution center on the territory of Bulgaria.

Let us run the experiment and observe the statistics to have basic understanding about the supply chain.

Run the Capacitated TO experiment

  1. Navigate to the experiments section and click Capacitated TO experiment.

    You will be taken to the experiment's view with its predefined parameters:

    • Number of shipments — the number of shipments you would like to send within the Experiment duration period. The current value is 2, which means that we will have 2 shipments within 2 months, i.e., 1 shipment a month.
    • Vehicle types — the type of vehicle delivering the products. We will be using Vehicle type 2 in this tutorial.
    • Travel segment limit — the maximum remoteness of the network objects from each other in the specified Distance unit.
    • Returning segment limit — the maximum remoteness of the last customer of the route from the DC that the vehicle set off from.
    • Min vehicle load ratio for direct shipments — specifies the minimum amount of products a vehicle can carry as a direct shipment (shipment made to one customer only). In our case, a customer must order 76 m3 of products or more to have a direct shipment. The value is calculated as vehicle capacity (80 m3) multiplied by the parameter's value (0.95).

  2. Click Run in the toolbar of the CTO experiment.
    The results will be available in the Result sub-item of the CTO experiment tree branch.

Now observe the received data.

Observe the received results

  1. Navigate to the Optimization results page below the experiment view. The result contains 17 routes for 2 shipments. A route is an optimal combination of segments (paths), allowing a vehicle to visit certain customers in an organized succession.

  2. Now click any record (we will click record #1) to display the route with customers on the map. You will see a route, which in our case comprises 6 customers: Sofia, Pernik, Blagoevgrad, Pazardzhik, Plovdiv, Haskovo (in your results this route may as well be in any other record of this table). We will further compare the routes in which the Sofia customer is visited.

    Disable the toggle button in the Show Straight column to see actual routes instead of the straight lines.

  3. Now open the Generated Paths tab to observe:
    • Number of routes per shipment
    • The overall cost of each shipment
  4. Group the records by shipment by clicking and dragging the Shipment column title to the Grouping area. The summarized data on shipment 1 and shipment 2 will be available on lines 1 and 10 respectively:
    • The Destinations column shows the total number of routes in shipment
    • The Cost, USD shows the cost of this shipment (sum of costs for all routes)

To simplify the comparison of the received results, we will add the Generated Paths table to the Comparison dashboard.

  1. Resize the element window if required.
  2. Click the Add to comparison button.

    A dialog box will open prompting you to specify the name for this element that will be used in the comparison dashboard.

  3. Name it Result 1 and click OK. The element will be added to the Comparison dashboard.

That's it we have completed the first phase of this tutorial. We imported the scenario, ran the experiment, and analyzed the results. In the next phase we will try to fit the delivery times into the working hours of our customers.

How can we improve this article?