mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
107 lines
3.9 KiB
XML
107 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
~ Copyright (C) 2014 Stefan Schroeder
|
|
~
|
|
~ This library is free software; you can redistribute it and/or
|
|
~ modify it under the terms of the GNU Lesser General Public
|
|
~ License as published by the Free Software Foundation; either
|
|
~ version 3.0 of the License, or (at your option) any later version.
|
|
~
|
|
~ This library is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
~ Lesser General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU Lesser General Public
|
|
~ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
|
|
|
<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>INFINITE</fleetSize>
|
|
</problemType>
|
|
<vehicles>
|
|
<vehicle>
|
|
<id>v1</id>
|
|
<typeId>vehType</typeId>
|
|
<startLocation>
|
|
<id>loc</id>
|
|
</startLocation>
|
|
<endLocation>
|
|
<id>loc</id>
|
|
</endLocation>
|
|
<timeSchedule>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeSchedule>
|
|
<returnToDepot>true</returnToDepot>
|
|
</vehicle>
|
|
</vehicles>
|
|
<vehicleTypes>
|
|
<type>
|
|
<id>vehType</id>
|
|
<capacity-dimensions>
|
|
<dimension index="0">20</dimension>
|
|
</capacity-dimensions>
|
|
<costs>
|
|
<fixed>0.0</fixed>
|
|
<distance>1.0</distance>
|
|
<time>0.0</time>
|
|
</costs>
|
|
</type>
|
|
</vehicleTypes>
|
|
<services>
|
|
<service id="2" type="service">
|
|
<location>
|
|
<id>loc2</id>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">1</dimension>
|
|
</capacity-dimensions>
|
|
<duration>4.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</service>
|
|
<service id="1" type="service">
|
|
<location>
|
|
<id>loc</id>
|
|
</location>
|
|
<capacity-dimensions>
|
|
<dimension index="0">1</dimension>
|
|
</capacity-dimensions>
|
|
<duration>2.0</duration>
|
|
<timeWindows>
|
|
<timeWindow>
|
|
<start>0.0</start>
|
|
<end>1.7976931348623157E308</end>
|
|
</timeWindow>
|
|
</timeWindows>
|
|
</service>
|
|
</services>
|
|
<solutions>
|
|
<solution>
|
|
<cost>10.0</cost>
|
|
<routes>
|
|
<route>
|
|
<driverId>noDriver</driverId>
|
|
<vehicleId>v1</vehicleId>
|
|
<start>0.0</start>
|
|
<act type="service">
|
|
<serviceId>1</serviceId>
|
|
<arrTime>0.0</arrTime>
|
|
<endTime>0.0</endTime>
|
|
</act>
|
|
<end>0.0</end>
|
|
</route>
|
|
</routes>
|
|
<unassignedJobs>
|
|
<job id="2"/>
|
|
</unassignedJobs>
|
|
</solution>
|
|
</solutions>
|
|
</problem>
|