mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
407 lines
14 KiB
XML
407 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<problem xmlns="http://www.w3schools.com"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
|
<problemType>
|
|
<fleetSize>FINITE</fleetSize>
|
|
</problemType>
|
|
<vehicles>
|
|
<vehicle>
|
|
<id>vehicle0</id>
|
|
<typeId>vehicle_type_0</typeId>
|
|
<startLocation>
|
|
<id>v0_start</id>
|
|
<index>0</index>
|
|
</startLocation>
|
|
<endLocation>
|
|
<id>v0_start</id>
|
|
<index>0</index>
|
|
</endLocation>
|
|
<timeSchedule>
|
|
<start>60.0</start>
|
|
<end>18060.0</end>
|
|
</timeSchedule>
|
|
<returnToDepot>true</returnToDepot>
|
|
<skills>primemover</skills>
|
|
</vehicle>
|
|
<vehicle>
|
|
<id>vehicle1</id>
|
|
<typeId>vehicle_type_1</typeId>
|
|
<startLocation>
|
|
<id>v1_start</id>
|
|
<index>0</index>
|
|
</startLocation>
|
|
<endLocation>
|
|
<id>v1_start</id>
|
|
<index>0</index>
|
|
</endLocation>
|
|
<timeSchedule>
|
|
<start>60.0</start>
|
|
<end>18060.0</end>
|
|
</timeSchedule>
|
|
<returnToDepot>true</returnToDepot>
|
|
<skills>primemover</skills>
|
|
</vehicle>
|
|
<vehicle>
|
|
<id>vehicle2</id>
|
|
<typeId>vehicle_type_2</typeId>
|
|
<startLocation>
|
|
<id>v2_start</id>
|
|
<index>0</index>
|
|
</startLocation>
|
|
<endLocation>
|
|
<id>v2_start</id>
|
|
<index>0</index>
|
|
</endLocation>
|
|
<timeSchedule>
|
|
<start>7200.0</start>
|
|
<end>36060.0</end>
|
|
</timeSchedule>
|
|
<returnToDepot>true</returnToDepot>
|
|
<skills>primemover</skills>
|
|
</vehicle>
|
|
<vehicle>
|
|
<id>vehicle3</id>
|
|
<typeId>vehicle_type_3</typeId>
|
|
<startLocation>
|
|
<id>v3_start</id>
|
|
<index>0</index>
|
|
</startLocation>
|
|
<endLocation>
|
|
<id>v3_start</id>
|
|
<index>0</index>
|
|
</endLocation>
|
|
<timeSchedule>
|
|
<start>36000.0</start>
|
|
<end>54060.0</end>
|
|
</timeSchedule>
|
|
<returnToDepot>true</returnToDepot>
|
|
<skills>primemover</skills>
|
|
</vehicle>
|
|
<vehicle>
|
|
<id>vehicle4</id>
|
|
<typeId>vehicle_type_4</typeId>
|
|
<startLocation>
|
|
<id>v4_start</id>
|
|
<index>0</index>
|
|
</startLocation>
|
|
<endLocation>
|
|
<id>v4_start</id>
|
|
<index>0</index>
|
|
</endLocation>
|
|
<timeSchedule>
|
|
<start>36000.0</start>
|
|
<end>54060.0</end>
|
|
</timeSchedule>
|
|
<returnToDepot>true</returnToDepot>
|
|
<skills>primemover</skills>
|
|
</vehicle>
|
|
</vehicles>
|
|
<vehicleTypes>
|
|
<type>
|
|
<id>vehicle_type_0</id>
|
|
<capacity-dimensions>
|
|
<dimension index="0">20</dimension>
|
|
</capacity-dimensions>
|
|
<costs>
|
|
<fixed>0.0</fixed>
|
|
<distance>0.0</distance>
|
|
<time>1.0</time>
|
|
</costs>
|
|
</type>
|
|
<type>
|
|
<id>vehicle_type_1</id>
|
|
<capacity-dimensions>
|
|
<dimension index="0">20</dimension>
|
|
</capacity-dimensions>
|
|
<costs>
|
|
<fixed>0.0</fixed>
|
|
<distance>0.0</distance>
|
|
<time>1.0</time>
|
|
</costs>
|
|
</type>
|
|
<type>
|
|
<id>vehicle_type_2</id>
|
|
<capacity-dimensions>
|
|
<dimension index="0">20</dimension>
|
|
</capacity-dimensions>
|
|
<costs>
|
|
<fixed>0.0</fixed>
|
|
<distance>0.0</distance>
|
|
<time>1.0</time>
|
|
</costs>
|
|
</type>
|
|
<type>
|
|
<id>vehicle_type_3</id>
|
|
<capacity-dimensions>
|
|
<dimension index="0">20</dimension>
|
|
</capacity-dimensions>
|
|
<costs>
|
|
<fixed>0.0</fixed>
|
|
<distance>0.0</distance>
|
|
<time>1.0</time>
|
|
</costs>
|
|
</type>
|
|
<type>
|
|
<id>vehicle_type_4</id>
|
|
<capacity-dimensions>
|
|
<dimension index="0">20</dimension>
|
|
</capacity-dimensions>
|
|
<costs>
|
|
<fixed>0.0</fixed>
|
|
<distance>0.0</distance>
|
|
<time>1.0</time>
|
|
</costs>
|
|
</type>
|
|
</vehicleTypes>
|
|
<services>
|
|
<service id="1" type="service">
|
|
<location>
|
|
<id>js0</id>
|
|
<index>1</index>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">1</dimension>
|
|
</capacity-dimensions>
|
|
<duration>600.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1800.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
<name>Test</name>
|
|
</service>
|
|
<service id="2" type="service">
|
|
<location>
|
|
<id>js2</id>
|
|
<index>2</index>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">2</dimension>
|
|
</capacity-dimensions>
|
|
<duration>600.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>5400.0</start>
|
|
<end>7200.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
<name>Test</name>
|
|
</service>
|
|
<service id="3" type="service">
|
|
<location>
|
|
<id>js5</id>
|
|
<index>3</index>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">10</dimension>
|
|
</capacity-dimensions>
|
|
<duration>1800.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>17100.0</start>
|
|
<end>18000.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
<name>Test</name>
|
|
</service>
|
|
<service id="4" type="service">
|
|
<location>
|
|
<id>js6</id>
|
|
<index>4</index>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">2</dimension>
|
|
</capacity-dimensions>
|
|
<duration>900.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
<name>Test</name>
|
|
</service>
|
|
<service id="5" type="service">
|
|
<location>
|
|
<id>js8</id>
|
|
<index>5</index>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">4</dimension>
|
|
</capacity-dimensions>
|
|
<duration>600.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
<name>Test</name>
|
|
</service>
|
|
<service id="6" type="service">
|
|
<location>
|
|
<id>js10</id>
|
|
<index>6</index>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">10</dimension>
|
|
</capacity-dimensions>
|
|
<duration>1500.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>29700.0</start>
|
|
<end>32400.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
<name>Test</name>
|
|
</service>
|
|
<service id="7" type="service">
|
|
<location>
|
|
<id>jsp3</id>
|
|
<index>7</index>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">0</dimension>
|
|
</capacity-dimensions>
|
|
<duration>5594.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
<name>Test</name>
|
|
</service>
|
|
</services>
|
|
<shipments>
|
|
<shipment id="shipment1">
|
|
<pickup>
|
|
<location>
|
|
<id>jsp1</id>
|
|
<index>1</index>
|
|
</location>
|
|
<duration>900.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</pickup>
|
|
<delivery>
|
|
<location>
|
|
<id>jsd1</id>
|
|
<index>8</index>
|
|
</location>
|
|
<duration>900.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</delivery>
|
|
<capacity-dimensions>
|
|
<dimension index="0">0</dimension>
|
|
</capacity-dimensions>
|
|
<name>Test</name>
|
|
</shipment>
|
|
<shipment id="shipment2">
|
|
<pickup>
|
|
<location>
|
|
<id>jsp4</id>
|
|
<index>9</index>
|
|
</location>
|
|
<duration>1200.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>21600.0</start>
|
|
<end>23400.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</pickup>
|
|
<delivery>
|
|
<location>
|
|
<id>jsd4</id>
|
|
<index>8</index>
|
|
</location>
|
|
<duration>900.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>25200.0</start>
|
|
<end>27000.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</delivery>
|
|
<capacity-dimensions>
|
|
<dimension index="0">0</dimension>
|
|
</capacity-dimensions>
|
|
<name>Test</name>
|
|
</shipment>
|
|
<shipment id="shipment3">
|
|
<pickup>
|
|
<location>
|
|
<id>jsp7</id>
|
|
<index>9</index>
|
|
</location>
|
|
<duration>1200.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>37800.0</start>
|
|
<end>41400.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</pickup>
|
|
<delivery>
|
|
<location>
|
|
<id>jsd7</id>
|
|
<index>8</index>
|
|
</location>
|
|
<duration>1800.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>43200.0</start>
|
|
<end>45900.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</delivery>
|
|
<capacity-dimensions>
|
|
<dimension index="0">0</dimension>
|
|
</capacity-dimensions>
|
|
<name>Test</name>
|
|
</shipment>
|
|
<shipment id="shipment4">
|
|
<pickup>
|
|
<location>
|
|
<id>jsp9</id>
|
|
<index>10</index>
|
|
</location>
|
|
<duration>300.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>45000.0</start>
|
|
<end>48600.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</pickup>
|
|
<delivery>
|
|
<location>
|
|
<id>jsd9</id>
|
|
<index>8</index>
|
|
</location>
|
|
<duration>300.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>50400.0</start>
|
|
<end>52200.0</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</delivery>
|
|
<capacity-dimensions>
|
|
<dimension index="0">0</dimension>
|
|
</capacity-dimensions>
|
|
<name>Test</name>
|
|
</shipment>
|
|
</shipments>
|
|
</problem>
|