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.

Download and import the scenario

  1. Download the scenario. No internet connection is required, since the scenario is supplied with ALX.
  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 parameers:

  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 tab below the experiment view. The result contains 27 routes for 2 shipments. A route is an optimal combination of segments (paths), allowing a vehicle visit certain customers in an organized succession.

  2. Now click any record (we will click record #2) to display the route with customers on the map. You will see a route, which in our case comprises 4 customers: Lovech, Pleven, Svishtov, Ruse (this route may as well be in any other record of this table). We will further compare the routes in whcih the Lovech customer is visited.

    Note: Capacitated TO experiment considers actual roads. The GIS map, however, depicts the results with straight lines only.

  3. Now open the Generated Paths tab to observe:
  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 15 respectively:

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 requried.
  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.

  Capacitated TO with time windows TutorialPhase 2. Add operation hours and Compare Results