mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
comply with .editorconfig
This commit is contained in:
parent
0df651c0dc
commit
58afc3590d
81 changed files with 43671 additions and 43544 deletions
13
.editorconfig
Normal file
13
.editorconfig
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
insert_final_newline = true
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
max_line_length = 120
|
||||||
|
|
||||||
|
[.travis.yml]
|
||||||
|
indent_size = 2
|
||||||
|
|
@ -1,74 +1,75 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<parent>
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<groupId>jsprit</groupId>
|
<parent>
|
||||||
<artifactId>jsprit</artifactId>
|
<groupId>jsprit</groupId>
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
<artifactId>jsprit</artifactId>
|
||||||
</parent>
|
<version>1.6.2-SNAPSHOT</version>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
</parent>
|
||||||
<artifactId>jsprit-analysis</artifactId>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<packaging>jar</packaging>
|
<artifactId>jsprit-analysis</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
<build>
|
|
||||||
<pluginManagement>
|
<build>
|
||||||
<plugins>
|
<pluginManagement>
|
||||||
<plugin>
|
<plugins>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<plugin>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
<version>1.0.0</version>
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
<configuration>
|
<version>1.0.0</version>
|
||||||
<lifecycleMappingMetadata>
|
<configuration>
|
||||||
<pluginExecutions>
|
<lifecycleMappingMetadata>
|
||||||
<pluginExecution>
|
<pluginExecutions>
|
||||||
<pluginExecutionFilter>
|
<pluginExecution>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<pluginExecutionFilter>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<versionRange>[1.0.0,)</versionRange>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<goals>
|
<versionRange>[1.0.0,)</versionRange>
|
||||||
<goal>enforce</goal>
|
<goals>
|
||||||
</goals>
|
<goal>enforce</goal>
|
||||||
</pluginExecutionFilter>
|
</goals>
|
||||||
<action>
|
</pluginExecutionFilter>
|
||||||
<ignore />
|
<action>
|
||||||
</action>
|
<ignore/>
|
||||||
</pluginExecution>
|
</action>
|
||||||
</pluginExecutions>
|
</pluginExecution>
|
||||||
</lifecycleMappingMetadata>
|
</pluginExecutions>
|
||||||
</configuration>
|
</lifecycleMappingMetadata>
|
||||||
</plugin>
|
</configuration>
|
||||||
</plugins>
|
</plugin>
|
||||||
</pluginManagement>
|
</plugins>
|
||||||
</build>
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
<dependencies>
|
||||||
<groupId>org.jfree</groupId>
|
<dependency>
|
||||||
<artifactId>jfreechart</artifactId>
|
<groupId>org.jfree</groupId>
|
||||||
<version>1.0.19</version>
|
<artifactId>jfreechart</artifactId>
|
||||||
<scope>compile</scope>
|
<version>1.0.19</version>
|
||||||
</dependency>
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>${project.groupId}</groupId>
|
<dependency>
|
||||||
<artifactId>jsprit-core</artifactId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<version>${project.version}</version>
|
<artifactId>jsprit-core</artifactId>
|
||||||
<type>jar</type>
|
<version>${project.version}</version>
|
||||||
<scope>provided</scope>
|
<type>jar</type>
|
||||||
</dependency>
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<artifactId>gs-core</artifactId>
|
<dependency>
|
||||||
<groupId>org.graphstream</groupId>
|
<artifactId>gs-core</artifactId>
|
||||||
<version>1.3</version>
|
<groupId>org.graphstream</groupId>
|
||||||
<optional>false</optional>
|
<version>1.3</version>
|
||||||
</dependency>
|
<optional>false</optional>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<artifactId>gs-ui</artifactId>
|
<dependency>
|
||||||
<groupId>org.graphstream</groupId>
|
<artifactId>gs-ui</artifactId>
|
||||||
<version>1.3</version>
|
<groupId>org.graphstream</groupId>
|
||||||
<optional>false</optional>
|
<version>1.3</version>
|
||||||
</dependency>
|
<optional>false</optional>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
~ Copyright (C) 2014 Stefan Schroeder
|
~ Copyright (C) 2014 Stefan Schroeder
|
||||||
~
|
~
|
||||||
|
|
@ -16,79 +15,80 @@
|
||||||
~ License along with this library. If not, see <http://www.gnu.org/licenses />.
|
~ License along with this library. If not, see <http://www.gnu.org/licenses />.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<parent>
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<groupId>jsprit</groupId>
|
<parent>
|
||||||
<artifactId>jsprit</artifactId>
|
<groupId>jsprit</groupId>
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
<artifactId>jsprit</artifactId>
|
||||||
</parent>
|
<version>1.6.2-SNAPSHOT</version>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
</parent>
|
||||||
<artifactId>jsprit-core</artifactId>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<name>jsprit-core</name>
|
<artifactId>jsprit-core</artifactId>
|
||||||
|
<name>jsprit-core</name>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<lifecycleMappingMetadata>
|
<lifecycleMappingMetadata>
|
||||||
<pluginExecutions>
|
<pluginExecutions>
|
||||||
<pluginExecution>
|
<pluginExecution>
|
||||||
<pluginExecutionFilter>
|
<pluginExecutionFilter>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<versionRange>[1.0.0,)</versionRange>
|
<versionRange>[1.0.0,)</versionRange>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>enforce</goal>
|
<goal>enforce</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</pluginExecutionFilter>
|
</pluginExecutionFilter>
|
||||||
<action>
|
<action>
|
||||||
<ignore />
|
<ignore/>
|
||||||
</action>
|
</action>
|
||||||
</pluginExecution>
|
</pluginExecution>
|
||||||
</pluginExecutions>
|
</pluginExecutions>
|
||||||
</lifecycleMappingMetadata>
|
</lifecycleMappingMetadata>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.commons</groupId>
|
|
||||||
<artifactId>commons-math</artifactId>
|
|
||||||
<version>2.2</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>commons-configuration</groupId>
|
|
||||||
<artifactId>commons-configuration</artifactId>
|
|
||||||
<version>1.9</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>xerces</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>xercesImpl</artifactId>
|
<artifactId>commons-math</artifactId>
|
||||||
<version>2.11.0</version>
|
<version>2.2</version>
|
||||||
<scope>compile</scope>
|
<type>jar</type>
|
||||||
</dependency>
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-configuration</groupId>
|
||||||
|
<artifactId>commons-configuration</artifactId>
|
||||||
|
<version>1.9</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>xerces</groupId>
|
||||||
|
<artifactId>xercesImpl</artifactId>
|
||||||
|
<version>2.11.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-math3</artifactId>
|
||||||
|
<version>3.4</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.commons</groupId>
|
|
||||||
<artifactId>commons-math3</artifactId>
|
|
||||||
<version>3.4</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -17,259 +17,259 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com"
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com"
|
||||||
xmlns="http://www.w3schools.com" elementFormDefault="qualified">
|
xmlns="http://www.w3schools.com" elementFormDefault="qualified">
|
||||||
|
|
||||||
<xs:element name="algorithm">
|
<xs:element name="algorithm">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:choice>
|
<xs:choice>
|
||||||
<xs:element name="iterations" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="iterations" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="maxIterations" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="maxIterations" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
||||||
</xs:choice>
|
</xs:choice>
|
||||||
|
|
||||||
<xs:choice>
|
<xs:choice>
|
||||||
<xs:element name="prematureBreak" type="prematureBreakType" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="prematureBreak" type="prematureBreakType" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="terminationCriteria">
|
<xs:element name="terminationCriteria">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="termination" type="prematureBreakType" minOccurs="0"
|
||||||
|
maxOccurs="unbounded"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
</xs:element>
|
||||||
|
</xs:choice>
|
||||||
|
|
||||||
|
|
||||||
|
<xs:element name="construction" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="termination" type="prematureBreakType" minOccurs="0" maxOccurs="unbounded"/>
|
<xs:element name="insertion" type="insertionType" minOccurs="1" maxOccurs="1"/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:element name="strategy">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="memory" type="xs:integer" minOccurs="0" maxOccurs="1" default="1"/>
|
||||||
|
<xs:element name="searchStrategies" minOccurs="1" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="searchStrategy" type="searchStrategyType" minOccurs="1"
|
||||||
|
maxOccurs="unbounded"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:complexType name="searchStrategyType">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="selector" type="selectorType"/>
|
||||||
|
<xs:element name="acceptor" type="acceptorType"/>
|
||||||
|
<xs:element name="modules" minOccurs="1" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="module" type="moduleType" minOccurs="1" maxOccurs="unbounded"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="probability">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:double">
|
||||||
|
<xs:minInclusive value="0.0"/>
|
||||||
|
<xs:maxInclusive value="1.0"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name="name" type="xs:string"/>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="selectorType">
|
||||||
|
<xs:attribute name="name">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="selectBest"/>
|
||||||
|
<xs:enumeration value="selectRandomly"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="acceptorType">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="alpha" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:choice>
|
||||||
|
<xs:element name="warmup" type="xs:int" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="initialThreshold" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
</xs:choice>
|
</xs:choice>
|
||||||
|
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name="name">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="acceptNewRemoveWorst"/>
|
||||||
|
<xs:enumeration value="schrimpfAcceptance"/>
|
||||||
|
<xs:enumeration value="experimentalSchrimpfAcceptance"/>
|
||||||
|
<xs:enumeration value="acceptNewRemoveFirst"/>
|
||||||
|
<xs:enumeration value="greedyAcceptance"/>
|
||||||
|
<xs:enumeration value="greedyAcceptance_minVehFirst"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="prematureBreakType">
|
||||||
|
<xs:choice>
|
||||||
|
<xs:group ref="pBreak_iteration_group"/>
|
||||||
|
<xs:group ref="pBreak_time_group"/>
|
||||||
|
<xs:group ref="pBreak_variationCoefficient_group"/>
|
||||||
|
</xs:choice>
|
||||||
|
<xs:attribute name="basedOn">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="time"/>
|
||||||
|
<xs:enumeration value="iterations"/>
|
||||||
|
<xs:enumeration value="variationCoefficient"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:group name="pBreak_iteration_group">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="iterations" type="xs:integer" minOccurs="1" maxOccurs="1"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:group>
|
||||||
|
|
||||||
|
<xs:group name="pBreak_time_group">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="time" type="xs:long" minOccurs="1" maxOccurs="1"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:group>
|
||||||
|
|
||||||
|
<xs:group name="pBreak_variationCoefficient_group">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="threshold" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="iterations" type="xs:integer" minOccurs="1" maxOccurs="1"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:group>
|
||||||
|
|
||||||
|
<xs:complexType name="moduleType">
|
||||||
|
<xs:choice>
|
||||||
|
<xs:group ref="ruin_and_recreate_group"/>
|
||||||
|
<xs:group ref="gendreau_group"/>
|
||||||
|
</xs:choice>
|
||||||
|
<xs:attribute name="name">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="ruin_and_recreate"/>
|
||||||
|
<xs:enumeration value="gendreau"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:group name="ruin_and_recreate_group">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="ruin" type="ruinType"/>
|
||||||
|
<xs:element name="insertion" type="insertionType"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:group>
|
||||||
|
|
||||||
|
<xs:group name="gendreau_group">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="iterations" type="xs:integer"/>
|
||||||
|
<xs:element name="share" type="xs:double"/>
|
||||||
|
<xs:element name="ruin" type="ruinType"/>
|
||||||
|
<xs:element name="insertion" type="insertionType"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:group>
|
||||||
|
|
||||||
|
<xs:complexType name="ruinType">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="share" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:double">
|
||||||
|
<xs:minInclusive value="0.0"/>
|
||||||
|
<xs:maxInclusive value="1.0"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="distance" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="euclidean"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name="name" use="required">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="randomRuin"/>
|
||||||
|
<xs:enumeration value="radialRuin"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
<xs:attribute name="id" type="xs:string"/>
|
||||||
|
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
|
||||||
<xs:element name="construction" minOccurs="0" maxOccurs="1">
|
<xs:complexType name="insertionType">
|
||||||
<xs:complexType>
|
<xs:all>
|
||||||
<xs:sequence>
|
<xs:element name="level" minOccurs="0" maxOccurs="1">
|
||||||
<xs:element name="insertion" type="insertionType" minOccurs="1" maxOccurs="1"/>
|
<xs:complexType>
|
||||||
</xs:sequence>
|
<xs:simpleContent>
|
||||||
</xs:complexType>
|
<xs:extension base="xs:string">
|
||||||
</xs:element>
|
<xs:attribute name="forwardLooking" type="xs:string"/>
|
||||||
|
<xs:attribute name="memory" type="xs:string"/>
|
||||||
<xs:element name="strategy">
|
</xs:extension>
|
||||||
<xs:complexType>
|
</xs:simpleContent>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="memory" type="xs:integer" minOccurs="0" maxOccurs="1" default="1"/>
|
</xs:element>
|
||||||
<xs:element name="searchStrategies" minOccurs="1" maxOccurs="1">
|
<xs:element name="considerFixedCosts" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:simpleContent>
|
||||||
<xs:element name="searchStrategy" type="searchStrategyType" minOccurs="1" maxOccurs="unbounded"/>
|
<xs:extension base="xs:string">
|
||||||
</xs:sequence>
|
<xs:attribute name="weight" type="xs:double"/>
|
||||||
</xs:complexType>
|
</xs:extension>
|
||||||
</xs:element>
|
</xs:simpleContent>
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
</xs:element>
|
||||||
</xs:element>
|
<xs:element name="allowVehicleSwitch" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="experimental" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:any minOccurs="0"/>
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name="timeSlice" type="xs:string"/>
|
||||||
|
<xs:attribute name="neighboringSlices" type="xs:string"/>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="searchStrategyType">
|
</xs:element>
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="selector" type="selectorType"/>
|
|
||||||
<xs:element name="acceptor" type="acceptorType"/>
|
|
||||||
<xs:element name="modules" minOccurs="1" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="module" type="moduleType" minOccurs="1" maxOccurs="unbounded"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="probability">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:double">
|
|
||||||
<xs:minInclusive value="0.0"/>
|
|
||||||
<xs:maxInclusive value="1.0"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="name" type="xs:string"/>
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
<xs:complexType name="selectorType">
|
</xs:all>
|
||||||
<xs:attribute name="name">
|
<xs:attribute name="name" use="required">
|
||||||
<xs:simpleType>
|
<xs:simpleType>
|
||||||
<xs:restriction base="xs:string">
|
<xs:restriction base="xs:string">
|
||||||
<xs:enumeration value="selectBest"/>
|
<xs:enumeration value="bestInsertion"/>
|
||||||
<xs:enumeration value="selectRandomly"/>
|
<xs:enumeration value="regretInsertion"/>
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
</xs:attribute>
|
</xs:attribute>
|
||||||
</xs:complexType>
|
<xs:attribute name="id" type="xs:string"/>
|
||||||
|
|
||||||
<xs:complexType name="acceptorType">
|
</xs:complexType>
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="alpha" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:choice>
|
|
||||||
<xs:element name="warmup" type="xs:int" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="initialThreshold" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
|
||||||
</xs:choice>
|
|
||||||
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="name">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value="acceptNewRemoveWorst"/>
|
|
||||||
<xs:enumeration value="schrimpfAcceptance"/>
|
|
||||||
<xs:enumeration value="experimentalSchrimpfAcceptance"/>
|
|
||||||
<xs:enumeration value="acceptNewRemoveFirst"/>
|
|
||||||
<xs:enumeration value="greedyAcceptance"/>
|
|
||||||
<xs:enumeration value="greedyAcceptance_minVehFirst"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
<xs:complexType name="prematureBreakType">
|
|
||||||
<xs:choice>
|
|
||||||
<xs:group ref="pBreak_iteration_group"/>
|
|
||||||
<xs:group ref="pBreak_time_group"/>
|
|
||||||
<xs:group ref="pBreak_variationCoefficient_group"/>
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="basedOn">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value="time"/>
|
|
||||||
<xs:enumeration value="iterations"/>
|
|
||||||
<xs:enumeration value="variationCoefficient"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
<xs:group name="pBreak_iteration_group">
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="iterations" type="xs:integer" minOccurs="1" maxOccurs="1"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:group>
|
|
||||||
|
|
||||||
<xs:group name="pBreak_time_group">
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="time" type="xs:long" minOccurs="1" maxOccurs="1"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:group>
|
|
||||||
|
|
||||||
<xs:group name="pBreak_variationCoefficient_group">
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="threshold" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="iterations" type="xs:integer" minOccurs="1" maxOccurs="1"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:group>
|
|
||||||
|
|
||||||
<xs:complexType name="moduleType">
|
|
||||||
<xs:choice>
|
|
||||||
<xs:group ref="ruin_and_recreate_group"/>
|
|
||||||
<xs:group ref="gendreau_group"/>
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="name">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value="ruin_and_recreate"/>
|
|
||||||
<xs:enumeration value="gendreau"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
<xs:group name="ruin_and_recreate_group">
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="ruin" type="ruinType"/>
|
|
||||||
<xs:element name="insertion" type="insertionType"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:group>
|
|
||||||
|
|
||||||
<xs:group name="gendreau_group">
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="iterations" type="xs:integer"/>
|
|
||||||
<xs:element name="share" type="xs:double"/>
|
|
||||||
<xs:element name="ruin" type="ruinType"/>
|
|
||||||
<xs:element name="insertion" type="insertionType"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:group>
|
|
||||||
|
|
||||||
<xs:complexType name="ruinType">
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="share" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:double">
|
|
||||||
<xs:minInclusive value="0.0"/>
|
|
||||||
<xs:maxInclusive value="1.0"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="distance" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value="euclidean"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="name" use="required">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value="randomRuin"/>
|
|
||||||
<xs:enumeration value="radialRuin"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="id" type="xs:string"/>
|
|
||||||
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<xs:complexType name="insertionType">
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="level" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:attribute name="forwardLooking" type="xs:string"/>
|
|
||||||
<xs:attribute name="memory" type="xs:string"/>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="considerFixedCosts" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:attribute name="weight" type="xs:double"/>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="allowVehicleSwitch" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="experimental" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:any minOccurs="0"/>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="timeSlice" type="xs:string"/>
|
|
||||||
<xs:attribute name="neighboringSlices" type="xs:string"/>
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
</xs:all>
|
|
||||||
<xs:attribute name="name" use="required">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value="bestInsertion" />
|
|
||||||
<xs:enumeration value="regretInsertion" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="id" type="xs:string"/>
|
|
||||||
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
</xs:schema>
|
</xs:schema>
|
||||||
|
|
|
||||||
|
|
@ -1,67 +1,67 @@
|
||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<config>
|
<config>
|
||||||
|
|
||||||
<controler>
|
<controler>
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
</controler>
|
</controler>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>3</memory>
|
<memory>3</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
|
|
||||||
<searchStrategy id="randomRuinAndRecreate">
|
<searchStrategy id="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<!-- <acceptor id="1" name="schrimpfAcceptance">
|
<!-- <acceptor id="1" name="schrimpfAcceptance">
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<iterations>10</iterations>
|
<iterations>10</iterations>
|
||||||
</acceptor> -->
|
</acceptor> -->
|
||||||
<modules>
|
<modules>
|
||||||
<module name="randomRuin">
|
<module name="randomRuin">
|
||||||
<share>0.5</share>
|
<share>0.5</share>
|
||||||
</module>
|
</module>
|
||||||
<module name="bestInsertion"></module>
|
<module name="bestInsertion"></module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy id="radialRuinAndRecreate">
|
<searchStrategy id="radialRuinAndRecreate">
|
||||||
<selector id="1" name="selectBest"/>
|
<selector id="1" name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<!-- <acceptor id="1" name="schrimpfAcceptance">
|
<!-- <acceptor id="1" name="schrimpfAcceptance">
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<iterations>10</iterations>
|
<iterations>10</iterations>
|
||||||
</acceptor> -->
|
</acceptor> -->
|
||||||
<modules>
|
<modules>
|
||||||
<module name="radialRuin">
|
<module name="radialRuin">
|
||||||
<share>0.3</share>
|
<share>0.3</share>
|
||||||
<distanceMeasure>euclid</distanceMeasure>
|
<distanceMeasure>euclid</distanceMeasure>
|
||||||
</module>
|
</module>
|
||||||
<module name="bestInsertion"></module>
|
<module name="bestInsertion"></module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
||||||
<!-- <modules> -->
|
<!-- <modules> -->
|
||||||
<!-- <module name="gendreauPostOpt"> -->
|
<!-- <module name="gendreauPostOpt"> -->
|
||||||
<!-- <iterations>200</iterations> -->
|
<!-- <iterations>200</iterations> -->
|
||||||
<!-- <share>0.2</share> -->
|
<!-- <share>0.2</share> -->
|
||||||
<!-- </module> -->
|
<!-- </module> -->
|
||||||
<!-- </modules> -->
|
<!-- </modules> -->
|
||||||
<!-- <probability>0.1</probability> -->
|
<!-- <probability>0.1</probability> -->
|
||||||
<!-- </searchStrategy> --> -->
|
<!-- </searchStrategy> --> -->
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
|
|
||||||
<before></before>
|
<before></before>
|
||||||
|
|
||||||
<after></after>
|
<after></after>
|
||||||
|
|
||||||
</strategy>
|
</strategy>
|
||||||
|
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
||||||
|
|
@ -1,48 +1,49 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,46 +1,47 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveFirst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveFirst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveFirst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveFirst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,51 +1,52 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance">
|
||||||
|
<alpha>0.4</alpha>
|
||||||
|
<warmup>100</warmup>
|
||||||
|
</acceptor>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance">
|
|
||||||
<alpha>0.4</alpha>
|
|
||||||
<warmup>100</warmup>
|
|
||||||
</acceptor>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -18,330 +18,359 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com"
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com"
|
||||||
xmlns="http://www.w3schools.com" elementFormDefault="qualified">
|
xmlns="http://www.w3schools.com" elementFormDefault="qualified">
|
||||||
|
|
||||||
<xs:element name="problem">
|
<xs:element name="problem">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="problemType" minOccurs="0" maxOccurs="1">
|
<xs:element name="problemType" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="fleetSize">
|
<xs:element name="fleetSize">
|
||||||
<xs:simpleType>
|
<xs:simpleType>
|
||||||
<xs:restriction base="xs:string">
|
<xs:restriction base="xs:string">
|
||||||
<xs:enumeration value="INFINITE" />
|
<xs:enumeration value="INFINITE"/>
|
||||||
<xs:enumeration value="FINITE" />
|
<xs:enumeration value="FINITE"/>
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="fleetComposition" minOccurs="0" maxOccurs="1">
|
<xs:element name="fleetComposition" minOccurs="0" maxOccurs="1">
|
||||||
<xs:simpleType>
|
<xs:simpleType>
|
||||||
<xs:restriction base="xs:string">
|
<xs:restriction base="xs:string">
|
||||||
<xs:enumeration value="HOMOGENEOUS" />
|
<xs:enumeration value="HOMOGENEOUS"/>
|
||||||
<xs:enumeration value="HETEROGENEOUS" />
|
<xs:enumeration value="HETEROGENEOUS"/>
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="vehicles" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="vehicle" minOccurs="1" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="startLocation" type="locationType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="endLocation" type="locationType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="typeId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="timeSchedule" type="timeWindowType"/>
|
|
||||||
<xs:element name="returnToDepot" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="skills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
</xs:all>
|
|
||||||
<xs:attribute name="type" type="xs:string" use="optional" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="vehicleTypes" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="type" minOccurs="1" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="capacity" type="xs:integer" minOccurs="0" maxOccurs="1" default="0"/>
|
|
||||||
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:integer">
|
|
||||||
<xs:attribute name="index" type="xs:integer" use="required"/>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="costs">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="fixed" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
|
||||||
<xs:element name="distance" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
|
||||||
<xs:element name="time" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
|
||||||
</xs:all>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:all>
|
|
||||||
<xs:attribute name="type" type="xs:string" use="optional" />
|
|
||||||
<xs:attribute name="penaltyFactor" type="xs:string" use="optional" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="services" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="service" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="locationId" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="capacity-demand" type="xs:integer" minOccurs="0" maxOccurs="1" default="0"/>
|
|
||||||
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:integer">
|
|
||||||
<xs:attribute name="index" type="xs:integer" use="required"/>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
|
||||||
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1" maxOccurs="unbounded"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="requiredSkills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
</xs:all>
|
|
||||||
<xs:attribute name="id" type="xs:string" use="required" />
|
|
||||||
<xs:attribute name="type" type="xs:string"/>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="shipments" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="shipment" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="pickup" minOccurs="1" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="locationId" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
|
||||||
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1" maxOccurs="unbounded"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:all>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="delivery" minOccurs="1" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:all>
|
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="locationId" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
|
||||||
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1" maxOccurs="unbounded"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:all>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="capacity-demand" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:integer">
|
|
||||||
<xs:attribute name="index" type="xs:integer" use="required"/>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="requiredSkills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
||||||
</xs:all>
|
|
||||||
<xs:attribute name="id" type="xs:string" use="required" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="initialRoutes" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="driverId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="vehicleId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="start" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="act" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice>
|
|
||||||
<xs:group ref="serviceActGroup"/>
|
|
||||||
<xs:group ref="shipmentActGroup"/>
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="end" type="xs:anySimpleType" minOccurs="1" maxOccurs="1"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="solutions" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="solution" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="cost" type="xs:decimal"/>
|
|
||||||
<xs:element name="routes" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="cost" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
|
||||||
<xs:element name="driverId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="vehicleId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="start" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
||||||
<xs:element name="act" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice>
|
|
||||||
<xs:group ref="serviceActGroup"/>
|
|
||||||
<xs:group ref="shipmentActGroup"/>
|
|
||||||
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="end" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="unassignedJobs" minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="job" minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="id" type="xs:string" use="required"/>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
</xs:sequence>
|
|
||||||
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:group name="serviceActGroup">
|
</xs:element>
|
||||||
<xs:sequence>
|
</xs:sequence>
|
||||||
<xs:element name="serviceId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
</xs:complexType>
|
||||||
<xs:element name="arrTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
</xs:element>
|
||||||
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:group>
|
|
||||||
|
|
||||||
<xs:group name="shipmentActGroup">
|
<xs:element name="vehicles" minOccurs="0" maxOccurs="1">
|
||||||
<xs:sequence>
|
<xs:complexType>
|
||||||
<xs:element name="shipmentId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
<xs:sequence>
|
||||||
<xs:element name="arrTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="vehicle" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
<xs:complexType>
|
||||||
</xs:sequence>
|
<xs:all>
|
||||||
</xs:group>
|
<xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="startLocation" type="locationType" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="endLocation" type="locationType" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="typeId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="timeSchedule" type="timeWindowType"/>
|
||||||
|
<xs:element name="returnToDepot" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="skills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xs:all>
|
||||||
|
<xs:attribute name="type" type="xs:string" use="optional"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
<xs:complexType name="timeWindowType">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="start" type="xs:double"/>
|
</xs:element>
|
||||||
<xs:element name="end" type="xs:double"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
<xs:complexType name="locationType">
|
<xs:element name="vehicleTypes" minOccurs="0" maxOccurs="1">
|
||||||
<xs:all>
|
<xs:complexType>
|
||||||
<xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
<xs:sequence>
|
||||||
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="type" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:element name="index" type="xs:int" minOccurs="0" maxOccurs="1"/>
|
<xs:complexType>
|
||||||
</xs:all>
|
<xs:all>
|
||||||
</xs:complexType>
|
<xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="capacity" type="xs:integer" minOccurs="0" maxOccurs="1"
|
||||||
|
default="0"/>
|
||||||
|
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:integer">
|
||||||
|
<xs:attribute name="index" type="xs:integer"
|
||||||
|
use="required"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="costs">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:all>
|
||||||
|
<xs:element name="fixed" type="xs:decimal" minOccurs="0"
|
||||||
|
maxOccurs="1" default="0.0"/>
|
||||||
|
<xs:element name="distance" type="xs:decimal" minOccurs="0"
|
||||||
|
maxOccurs="1" default="0.0"/>
|
||||||
|
<xs:element name="time" type="xs:decimal" minOccurs="0"
|
||||||
|
maxOccurs="1" default="0.0"/>
|
||||||
|
</xs:all>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:all>
|
||||||
|
<xs:attribute name="type" type="xs:string" use="optional"/>
|
||||||
|
<xs:attribute name="penaltyFactor" type="xs:string" use="optional"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
<xs:complexType name="coordType">
|
<xs:element name="services" minOccurs="0" maxOccurs="1">
|
||||||
<xs:attribute name="x" type="xs:double" use="required" />
|
<xs:complexType>
|
||||||
<xs:attribute name="y" type="xs:double" use="required" />
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element name="service" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:all>
|
||||||
|
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="locationId" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="capacity-demand" type="xs:integer" minOccurs="0" maxOccurs="1"
|
||||||
|
default="0"/>
|
||||||
|
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:integer">
|
||||||
|
<xs:attribute name="index" type="xs:integer"
|
||||||
|
use="required"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1"
|
||||||
|
default="0.0"/>
|
||||||
|
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1"
|
||||||
|
maxOccurs="unbounded"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="requiredSkills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xs:all>
|
||||||
|
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||||
|
<xs:attribute name="type" type="xs:string"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:element name="shipments" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="shipment" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:all>
|
||||||
|
<xs:element name="pickup" minOccurs="1" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:all>
|
||||||
|
<xs:element name="location" type="locationType" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="locationId" type="xs:string" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="coord" type="coordType" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="duration" type="xs:decimal" minOccurs="0"
|
||||||
|
maxOccurs="1" default="0.0"/>
|
||||||
|
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="timeWindow" type="timeWindowType"
|
||||||
|
minOccurs="1" maxOccurs="unbounded"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:all>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="delivery" minOccurs="1" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:all>
|
||||||
|
<xs:element name="location" type="locationType" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="locationId" type="xs:string" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="coord" type="coordType" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="duration" type="xs:decimal" minOccurs="0"
|
||||||
|
maxOccurs="1" default="0.0"/>
|
||||||
|
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="timeWindow" type="timeWindowType"
|
||||||
|
minOccurs="1" maxOccurs="unbounded"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:all>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="capacity-demand" type="xs:integer" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:integer">
|
||||||
|
<xs:attribute name="index" type="xs:integer"
|
||||||
|
use="required"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="requiredSkills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xs:all>
|
||||||
|
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:element name="initialRoutes" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="driverId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="vehicleId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="start" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="act" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:choice>
|
||||||
|
<xs:group ref="serviceActGroup"/>
|
||||||
|
<xs:group ref="shipmentActGroup"/>
|
||||||
|
</xs:choice>
|
||||||
|
<xs:attribute name="type" type="xs:string" use="required"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="end" type="xs:anySimpleType" minOccurs="1" maxOccurs="1"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:element name="solutions" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="solution" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="cost" type="xs:decimal"/>
|
||||||
|
<xs:element name="routes" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="cost" type="xs:double" minOccurs="0"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="driverId" type="xs:string"
|
||||||
|
minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="vehicleId" type="xs:string"
|
||||||
|
minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="start" type="xs:double" minOccurs="1"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xs:element name="act" minOccurs="0"
|
||||||
|
maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:choice>
|
||||||
|
<xs:group ref="serviceActGroup"/>
|
||||||
|
<xs:group ref="shipmentActGroup"/>
|
||||||
|
|
||||||
|
</xs:choice>
|
||||||
|
<xs:attribute name="type" type="xs:string"
|
||||||
|
use="required"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="end" type="xs:double" minOccurs="1"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="unassignedJobs" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="job" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
</xs:sequence>
|
||||||
|
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:group name="serviceActGroup">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="serviceId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="arrTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:group>
|
||||||
|
|
||||||
|
<xs:group name="shipmentActGroup">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="shipmentId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="arrTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:group>
|
||||||
|
|
||||||
|
<xs:complexType name="timeWindowType">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="start" type="xs:double"/>
|
||||||
|
<xs:element name="end" type="xs:double"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="locationType">
|
||||||
|
<xs:all>
|
||||||
|
<xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="index" type="xs:int" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xs:all>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="coordType">
|
||||||
|
<xs:attribute name="x" type="xs:double" use="required"/>
|
||||||
|
<xs:attribute name="y" type="xs:double" use="required"/>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
</xs:schema>
|
</xs:schema>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,47 +1,48 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,10 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<maxIterations>2000</maxIterations>
|
|
||||||
|
<maxIterations>2000</maxIterations>
|
||||||
|
|
||||||
<terminationCriteria>
|
<terminationCriteria>
|
||||||
<termination basedOn="iterations">
|
<termination basedOn="iterations">
|
||||||
|
|
@ -30,44 +31,44 @@
|
||||||
</termination>
|
</termination>
|
||||||
</terminationCriteria>
|
</terminationCriteria>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="randomRuin">
|
<ruin name="randomRuin">
|
||||||
<share>0.5</share>
|
<share>0.5</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="radialRuin">
|
<ruin name="radialRuin">
|
||||||
<share>0.3</share>
|
<share>0.3</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</strategy>
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -17,53 +17,54 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<maxIterations>2000</maxIterations>
|
|
||||||
|
<maxIterations>2000</maxIterations>
|
||||||
|
|
||||||
<prematureBreak basedOn="iterations">
|
<prematureBreak basedOn="iterations">
|
||||||
<iterations>100</iterations>
|
<iterations>100</iterations>
|
||||||
</prematureBreak>
|
</prematureBreak>
|
||||||
|
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="randomRuin">
|
<ruin name="randomRuin">
|
||||||
<share>0.5</share>
|
<share>0.5</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="radialRuin">
|
<ruin name="radialRuin">
|
||||||
<share>0.3</share>
|
<share>0.3</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</strategy>
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,65 +1,66 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="1" name="radialRuin">
|
||||||
|
<share>0.1</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion id="1" name="bestInsertion">
|
||||||
|
<experimental timeSlice="10" neighboringSlices="3"/>
|
||||||
|
</insertion>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.2</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="1" name="radialRuin">
|
|
||||||
<share>0.1</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion id="1" name="bestInsertion">
|
|
||||||
<experimental timeSlice="10" neighboringSlices="3"/>
|
|
||||||
</insertion>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.2</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -18,49 +18,50 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="regretInsertion">
|
<insertion name="regretInsertion">
|
||||||
|
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -18,49 +18,50 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="regretInsertion">
|
<insertion name="regretInsertion">
|
||||||
|
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="regretInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="regretInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,34 +1,34 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
|
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
|
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="selectRandomlyRandomRuinAndRecreate">
|
<searchStrategy name="selectRandomlyRandomRuinAndRecreate">
|
||||||
<selector name="selectRandomly"/>
|
<selector name="selectRandomly"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="randomRuin">
|
<ruin name="randomRuin">
|
||||||
<share>0.5</share>
|
<share>0.5</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>1</probability>
|
<probability>1</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
|
|
||||||
</strategy>
|
</strategy>
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,47 +1,48 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
<construction>
|
||||||
</construction>
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
<strategy>
|
||||||
<searchStrategies>
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,43 +1,44 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,72 +1,73 @@
|
||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
|
<iterations>10</iterations>
|
||||||
|
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinSmall">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.1</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="regretInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion" id="1"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.2</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
||||||
|
<!-- <modules number="1"> -->
|
||||||
|
<!-- <module name="gendreau"> -->
|
||||||
|
<!-- <iterations>200</iterations> -->
|
||||||
|
<!-- <share>0.2</share> -->
|
||||||
|
<!-- </module> -->
|
||||||
|
<!-- </modules> -->
|
||||||
|
<!-- <probability>0.1</probability> -->
|
||||||
|
<!-- </searchStrategy> -->
|
||||||
|
</searchStrategies>
|
||||||
|
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<iterations>10</iterations>
|
|
||||||
|
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="randomRuinSmall">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.1</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="regretInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion" id="1"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.2</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
|
||||||
<!-- <modules number="1"> -->
|
|
||||||
<!-- <module name="gendreau"> -->
|
|
||||||
<!-- <iterations>200</iterations> -->
|
|
||||||
<!-- <share>0.2</share> -->
|
|
||||||
<!-- </module> -->
|
|
||||||
<!-- </modules> -->
|
|
||||||
<!-- <probability>0.1</probability> -->
|
|
||||||
<!-- </searchStrategy> -->
|
|
||||||
</searchStrategies>
|
|
||||||
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,89 +1,88 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<problem xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<problemType>
|
<problemType>
|
||||||
<fleetSize>FINITE</fleetSize>
|
<fleetSize>FINITE</fleetSize>
|
||||||
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
||||||
</problemType>
|
</problemType>
|
||||||
|
|
||||||
<vehicles>
|
<vehicles>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v1</id>
|
<id>v1</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc2</id>
|
<id>depotLoc2</id>
|
||||||
<coord x="100.0" y="100.0"/>
|
<coord x="100.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<typeId>vehType</typeId>
|
<typeId>vehType</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v2</id>
|
||||||
|
<location>
|
||||||
|
<id>depotLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
</vehicles>
|
||||||
|
<vehicleTypes>
|
||||||
|
<type>
|
||||||
|
<id>vehType</id>
|
||||||
|
<capacity>20</capacity>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType2</id>
|
||||||
|
<capacity>200</capacity>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
</vehicleTypes>
|
||||||
|
|
||||||
|
<services>
|
||||||
|
<service id="1" type="service">
|
||||||
|
<locationId>j(1,5)</locationId>
|
||||||
|
<coord x="10.0" y="10.0"/>
|
||||||
|
<capacity-demand>1</capacity-demand>
|
||||||
|
<duration>0.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
<vehicle>
|
</service>
|
||||||
<id>v2</id>
|
|
||||||
<location>
|
<service id="2" type="service">
|
||||||
<id>depotLoc</id>
|
<locationId>i(3,9)</locationId>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
</location>
|
<capacity-demand>1</capacity-demand>
|
||||||
<typeId>vehType2</typeId>
|
<duration>0.0</duration>
|
||||||
<timeSchedule>
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
</vehicles>
|
</service>
|
||||||
<vehicleTypes>
|
|
||||||
<type>
|
</services>
|
||||||
<id>vehType</id>
|
|
||||||
<capacity>20</capacity>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType2</id>
|
|
||||||
<capacity>200</capacity>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
</vehicleTypes>
|
|
||||||
|
|
||||||
<services>
|
|
||||||
<service id="1" type="service">
|
|
||||||
<locationId>j(1,5)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<capacity-demand>1</capacity-demand>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</service>
|
|
||||||
|
|
||||||
<service id="2" type="service">
|
|
||||||
<locationId>i(3,9)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<capacity-demand>1</capacity-demand>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</service>
|
|
||||||
|
|
||||||
</services>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</problem>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -18,220 +18,220 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<problem xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<problemType>
|
<problemType>
|
||||||
<fleetSize>FINITE</fleetSize>
|
<fleetSize>FINITE</fleetSize>
|
||||||
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
||||||
</problemType>
|
</problemType>
|
||||||
|
|
||||||
<vehicles>
|
<vehicles>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v1</id>
|
<id>v1</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc2</id>
|
<id>depotLoc2</id>
|
||||||
<coord x="100.0" y="100.0"/>
|
<coord x="100.0" y="100.0"/>
|
||||||
<index>1</index>
|
<index>1</index>
|
||||||
</location>
|
</location>
|
||||||
<typeId>vehType</typeId>
|
<typeId>vehType</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
<skills>skill1; SKill2</skills>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v2</id>
|
||||||
|
<location>
|
||||||
|
<id>depotLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
<index>2</index>
|
||||||
|
</location>
|
||||||
|
<returnToDepot>false</returnToDepot>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v3</id>
|
||||||
|
<startLocation>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
<index>3</index>
|
||||||
|
</startLocation>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
<index>4</index>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v4</id>
|
||||||
|
<location>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v5</id>
|
||||||
|
<location>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType3</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
</vehicles>
|
||||||
|
<vehicleTypes>
|
||||||
|
<type>
|
||||||
|
<id>vehType</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">20</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType2</id>
|
||||||
|
<capacity>200</capacity>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType3</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">100</dimension>
|
||||||
|
<dimension index="1">1000</dimension>
|
||||||
|
<dimension index="2">10000</dimension>
|
||||||
|
<dimension index="10">100000</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
</vehicleTypes>
|
||||||
|
|
||||||
|
<services>
|
||||||
|
<service id="1" type="service">
|
||||||
|
<locationId>j(1,5)</locationId>
|
||||||
|
<name>cleaning</name>
|
||||||
|
<coord x="10.0" y="10.0"/>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">1</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<duration>10.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
<skills>skill1; SKill2</skills>
|
</timeWindows>
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v2</id>
|
|
||||||
<location>
|
|
||||||
<id>depotLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
<index>2</index>
|
|
||||||
</location>
|
|
||||||
<returnToDepot>false</returnToDepot>
|
|
||||||
<typeId>vehType2</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v3</id>
|
|
||||||
<startLocation>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
<index>3</index>
|
|
||||||
</startLocation>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
<index>4</index>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType2</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v4</id>
|
|
||||||
<location>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</location>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType2</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v5</id>
|
|
||||||
<location>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</location>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType3</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
</vehicles>
|
|
||||||
<vehicleTypes>
|
|
||||||
<type>
|
|
||||||
<id>vehType</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">20</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType2</id>
|
|
||||||
<capacity>200</capacity>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType3</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">100</dimension>
|
|
||||||
<dimension index="1">1000</dimension>
|
|
||||||
<dimension index="2">10000</dimension>
|
|
||||||
<dimension index="10">100000</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
</vehicleTypes>
|
|
||||||
|
|
||||||
<services>
|
|
||||||
<service id="1" type="service">
|
|
||||||
<locationId>j(1,5)</locationId>
|
|
||||||
<name>cleaning</name>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">1</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<duration>10.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
<requiredSkills>skill1, Skill2</requiredSkills>
|
|
||||||
</service>
|
|
||||||
|
|
||||||
<service id="2" type="service">
|
|
||||||
<locationId>i(3,9)</locationId>
|
|
||||||
<name>cleaning</name>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<capacity-demand>1</capacity-demand>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</service>
|
|
||||||
|
|
||||||
</services>
|
|
||||||
|
|
||||||
<shipments>
|
|
||||||
<shipment id="3">
|
|
||||||
<name>deliver-smth</name>
|
|
||||||
<pickup>
|
|
||||||
<locationId>i(3,9)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<duration>10.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>1000.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</pickup>
|
|
||||||
<delivery>
|
|
||||||
<locationId>i(9,9)</locationId>
|
|
||||||
<coord x="10.0" y="0.0"/>
|
|
||||||
<duration>100.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>6000.0</start>
|
|
||||||
<end>10000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</delivery>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">10</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<requiredSkills>skill1, Skill2</requiredSkills>
|
<requiredSkills>skill1, Skill2</requiredSkills>
|
||||||
</shipment>
|
</service>
|
||||||
|
|
||||||
<shipment id="4">
|
<service id="2" type="service">
|
||||||
<pickup>
|
<locationId>i(3,9)</locationId>
|
||||||
<coord x="10.0" y="10.0"/>
|
<name>cleaning</name>
|
||||||
<timeWindows>
|
<coord x="10.0" y="10.0"/>
|
||||||
<timeWindow>
|
<capacity-demand>1</capacity-demand>
|
||||||
<start>1000.0</start>
|
<duration>0.0</duration>
|
||||||
<end>4000.0</end>
|
<timeWindows>
|
||||||
</timeWindow>
|
<timeWindow>
|
||||||
</timeWindows>
|
<start>0.0</start>
|
||||||
</pickup>
|
<end>4000.0</end>
|
||||||
<delivery>
|
</timeWindow>
|
||||||
<coord x="10.0" y="0.0"/>
|
</timeWindows>
|
||||||
<duration>100.0</duration>
|
</service>
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
</services>
|
||||||
<start>6000.0</start>
|
|
||||||
<end>10000.0</end>
|
<shipments>
|
||||||
</timeWindow>
|
<shipment id="3">
|
||||||
</timeWindows>
|
|
||||||
</delivery>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">10</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<name>deliver-smth</name>
|
<name>deliver-smth</name>
|
||||||
</shipment>
|
<pickup>
|
||||||
|
<locationId>i(3,9)</locationId>
|
||||||
</shipments>
|
<coord x="10.0" y="10.0"/>
|
||||||
|
<duration>10.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
|
<start>1000.0</start>
|
||||||
|
<end>4000.0</end>
|
||||||
|
</timeWindow>
|
||||||
|
</timeWindows>
|
||||||
|
</pickup>
|
||||||
|
<delivery>
|
||||||
|
<locationId>i(9,9)</locationId>
|
||||||
|
<coord x="10.0" y="0.0"/>
|
||||||
|
<duration>100.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
|
<start>6000.0</start>
|
||||||
|
<end>10000.0</end>
|
||||||
|
</timeWindow>
|
||||||
|
</timeWindows>
|
||||||
|
</delivery>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">10</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<requiredSkills>skill1, Skill2</requiredSkills>
|
||||||
|
</shipment>
|
||||||
|
|
||||||
|
<shipment id="4">
|
||||||
|
<pickup>
|
||||||
|
<coord x="10.0" y="10.0"/>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
|
<start>1000.0</start>
|
||||||
|
<end>4000.0</end>
|
||||||
|
</timeWindow>
|
||||||
|
</timeWindows>
|
||||||
|
</pickup>
|
||||||
|
<delivery>
|
||||||
|
<coord x="10.0" y="0.0"/>
|
||||||
|
<duration>100.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
|
<start>6000.0</start>
|
||||||
|
<end>10000.0</end>
|
||||||
|
</timeWindow>
|
||||||
|
</timeWindows>
|
||||||
|
</delivery>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">10</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<name>deliver-smth</name>
|
||||||
|
</shipment>
|
||||||
|
|
||||||
|
</shipments>
|
||||||
</problem>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -1,223 +1,223 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<problem xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<problemType>
|
<problemType>
|
||||||
<fleetSize>FINITE</fleetSize>
|
<fleetSize>FINITE</fleetSize>
|
||||||
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
||||||
</problemType>
|
</problemType>
|
||||||
|
|
||||||
<vehicles>
|
<vehicles>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v1</id>
|
<id>v1</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc2</id>
|
<id>depotLoc2</id>
|
||||||
<coord x="100.0" y="100.0"/>
|
<coord x="100.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<typeId>vehType</typeId>
|
<typeId>vehType</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v2</id>
|
||||||
|
<location>
|
||||||
|
<id>depotLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<returnToDepot>false</returnToDepot>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v3</id>
|
||||||
|
<startLocation>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</startLocation>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v4</id>
|
||||||
|
<location>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v5</id>
|
||||||
|
<location>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType3</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
</vehicles>
|
||||||
|
<vehicleTypes>
|
||||||
|
<type>
|
||||||
|
<id>vehType</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">20</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType2</id>
|
||||||
|
<capacity>200</capacity>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType3</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">100</dimension>
|
||||||
|
<dimension index="1">1000</dimension>
|
||||||
|
<dimension index="2">10000</dimension>
|
||||||
|
<dimension index="10">100000</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
</vehicleTypes>
|
||||||
|
|
||||||
|
<services>
|
||||||
|
<service id="1" type="service">
|
||||||
|
<locationId>j(1,5)</locationId>
|
||||||
|
<coord x="10.0" y="10.0"/>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">1</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<duration>10.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
<vehicle>
|
</service>
|
||||||
<id>v2</id>
|
|
||||||
<location>
|
<service id="2" type="service">
|
||||||
<id>depotLoc</id>
|
<locationId>i(3,9)</locationId>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
</location>
|
<capacity-demand>1</capacity-demand>
|
||||||
<returnToDepot>false</returnToDepot>
|
<duration>0.0</duration>
|
||||||
<typeId>vehType2</typeId>
|
<timeWindows>
|
||||||
<timeSchedule>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
<vehicle>
|
</service>
|
||||||
<id>v3</id>
|
|
||||||
<startLocation>
|
</services>
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
<shipments>
|
||||||
</startLocation>
|
<shipment id="3">
|
||||||
<endLocation>
|
<pickup>
|
||||||
<id>endLoc</id>
|
<locationId>i(3,9)</locationId>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType2</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v4</id>
|
|
||||||
<location>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</location>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType2</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v5</id>
|
|
||||||
<location>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</location>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType3</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
</vehicles>
|
|
||||||
<vehicleTypes>
|
|
||||||
<type>
|
|
||||||
<id>vehType</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">20</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType2</id>
|
|
||||||
<capacity>200</capacity>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType3</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">100</dimension>
|
|
||||||
<dimension index="1">1000</dimension>
|
|
||||||
<dimension index="2">10000</dimension>
|
|
||||||
<dimension index="10">100000</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
</vehicleTypes>
|
|
||||||
|
|
||||||
<services>
|
|
||||||
<service id="1" type="service">
|
|
||||||
<locationId>j(1,5)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
<capacity-dimensions>
|
<duration>10.0</duration>
|
||||||
<dimension index="0">1</dimension>
|
<timeWindows>
|
||||||
</capacity-dimensions>
|
|
||||||
<duration>10.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>1000.0</start>
|
||||||
<end>4000.0</end>
|
<end>4000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</service>
|
</pickup>
|
||||||
|
<delivery>
|
||||||
<service id="2" type="service">
|
<locationId>i(9,9)</locationId>
|
||||||
<locationId>i(3,9)</locationId>
|
<coord x="10.0" y="0.0"/>
|
||||||
<coord x="10.0" y="10.0"/>
|
<duration>100.0</duration>
|
||||||
<capacity-demand>1</capacity-demand>
|
<timeWindows>
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>6000.0</start>
|
||||||
<end>4000.0</end>
|
<end>10000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</service>
|
</delivery>
|
||||||
|
<capacity-demand>10</capacity-demand>
|
||||||
</services>
|
</shipment>
|
||||||
|
|
||||||
<shipments>
|
<shipment id="4">
|
||||||
<shipment id="3">
|
<pickup>
|
||||||
<pickup>
|
<coord x="10.0" y="10.0"/>
|
||||||
<locationId>i(3,9)</locationId>
|
<timeWindows>
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<duration>10.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>1000.0</start>
|
<start>1000.0</start>
|
||||||
<end>4000.0</end>
|
<end>4000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</pickup>
|
</pickup>
|
||||||
<delivery>
|
<delivery>
|
||||||
<locationId>i(9,9)</locationId>
|
<coord x="10.0" y="0.0"/>
|
||||||
<coord x="10.0" y="0.0"/>
|
<duration>100.0</duration>
|
||||||
<duration>100.0</duration>
|
<timeWindows>
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>6000.0</start>
|
<start>6000.0</start>
|
||||||
<end>10000.0</end>
|
<end>10000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</delivery>
|
</delivery>
|
||||||
<capacity-demand>10</capacity-demand>
|
<capacity-dimensions>
|
||||||
</shipment>
|
<dimension index="0">10</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
<shipment id="4">
|
</shipment>
|
||||||
<pickup>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
</shipments>
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<initialRoutes>
|
||||||
<start>1000.0</start>
|
<route>
|
||||||
<end>4000.0</end>
|
<driverId>noDriver</driverId>
|
||||||
</timeWindow>
|
<vehicleId>v1</vehicleId>
|
||||||
</timeWindows>
|
<start>10.</start>
|
||||||
</pickup>
|
<act type="pickupShipment">
|
||||||
<delivery>
|
<shipmentId>4</shipmentId>
|
||||||
<coord x="10.0" y="0.0"/>
|
</act>
|
||||||
<duration>100.0</duration>
|
<act type="deliverShipment">
|
||||||
<timeWindows>
|
<shipmentId>4</shipmentId>
|
||||||
<timeWindow>
|
</act>
|
||||||
<start>6000.0</start>
|
<end/>
|
||||||
<end>10000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</delivery>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">10</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
</shipment>
|
|
||||||
|
|
||||||
</shipments>
|
|
||||||
|
|
||||||
<initialRoutes>
|
|
||||||
<route>
|
|
||||||
<driverId>noDriver</driverId>
|
|
||||||
<vehicleId>v1</vehicleId>
|
|
||||||
<start>10.</start>
|
|
||||||
<act type="pickupShipment">
|
|
||||||
<shipmentId>4</shipmentId>
|
|
||||||
</act>
|
|
||||||
<act type="deliverShipment">
|
|
||||||
<shipmentId>4</shipmentId>
|
|
||||||
</act>
|
|
||||||
<end/>
|
|
||||||
</route>
|
</route>
|
||||||
</initialRoutes>
|
</initialRoutes>
|
||||||
|
|
||||||
</problem>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -1,255 +1,256 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<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">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<problemType>
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<fleetSize>FINITE</fleetSize>
|
<problemType>
|
||||||
</problemType>
|
<fleetSize>FINITE</fleetSize>
|
||||||
<vehicles>
|
</problemType>
|
||||||
<vehicle>
|
<vehicles>
|
||||||
<id>v3</id>
|
<vehicle>
|
||||||
<typeId>vehType2</typeId>
|
<id>v3</id>
|
||||||
<startLocation>
|
<typeId>vehType2</typeId>
|
||||||
<id>startLoc</id>
|
<startLocation>
|
||||||
<coord x="10.0" y="100.0"/>
|
<id>startLoc</id>
|
||||||
</startLocation>
|
<coord x="10.0" y="100.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>endLoc</id>
|
<endLocation>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<id>endLoc</id>
|
||||||
</endLocation>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
<returnToDepot>true</returnToDepot>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v2</id>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<startLocation>
|
||||||
|
<id>depotLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</startLocation>
|
||||||
|
<endLocation>
|
||||||
|
<id>depotLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
<returnToDepot>false</returnToDepot>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v4</id>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<startLocation>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</startLocation>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
<returnToDepot>true</returnToDepot>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v5</id>
|
||||||
|
<typeId>vehType3</typeId>
|
||||||
|
<startLocation>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</startLocation>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
<returnToDepot>true</returnToDepot>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v1</id>
|
||||||
|
<typeId>vehType</typeId>
|
||||||
|
<startLocation>
|
||||||
|
<id>depotLoc2</id>
|
||||||
|
<coord x="100.0" y="100.0"/>
|
||||||
|
</startLocation>
|
||||||
|
<endLocation>
|
||||||
|
<id>depotLoc2</id>
|
||||||
|
<coord x="100.0" y="100.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</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>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType2</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">200</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType3</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">100</dimension>
|
||||||
|
<dimension index="1">1000</dimension>
|
||||||
|
<dimension index="2">10000</dimension>
|
||||||
|
<dimension index="3">0</dimension>
|
||||||
|
<dimension index="4">0</dimension>
|
||||||
|
<dimension index="5">0</dimension>
|
||||||
|
<dimension index="6">0</dimension>
|
||||||
|
<dimension index="7">0</dimension>
|
||||||
|
<dimension index="8">0</dimension>
|
||||||
|
<dimension index="9">0</dimension>
|
||||||
|
<dimension index="10">100000</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
</vehicleTypes>
|
||||||
|
<services>
|
||||||
|
<service id="1" type="service">
|
||||||
|
<location>
|
||||||
|
<id>j(1,5)</id>
|
||||||
|
<coord x="10.0" y="10.0"/>
|
||||||
|
</location>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">1</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<duration>10.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeWindows>
|
||||||
</vehicle>
|
</service>
|
||||||
<vehicle>
|
<service id="2" type="service">
|
||||||
<id>v2</id>
|
<location>
|
||||||
<typeId>vehType2</typeId>
|
<id>i(3,9)</id>
|
||||||
<startLocation>
|
<coord x="10.0" y="10.0"/>
|
||||||
<id>depotLoc</id>
|
</location>
|
||||||
<coord x="10.0" y="100.0"/>
|
<capacity-dimensions>
|
||||||
</startLocation>
|
<dimension index="0">1</dimension>
|
||||||
<endLocation>
|
</capacity-dimensions>
|
||||||
<id>depotLoc</id>
|
<duration>0.0</duration>
|
||||||
<coord x="10.0" y="100.0"/>
|
<timeWindows>
|
||||||
</endLocation>
|
<timeWindow>
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
<returnToDepot>false</returnToDepot>
|
</timeWindows>
|
||||||
</vehicle>
|
</service>
|
||||||
<vehicle>
|
</services>
|
||||||
<id>v4</id>
|
<shipments>
|
||||||
<typeId>vehType2</typeId>
|
<shipment id="3">
|
||||||
<startLocation>
|
<pickup>
|
||||||
<id>startLoc</id>
|
<location>
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</startLocation>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
<returnToDepot>true</returnToDepot>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v5</id>
|
|
||||||
<typeId>vehType3</typeId>
|
|
||||||
<startLocation>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</startLocation>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
<returnToDepot>true</returnToDepot>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v1</id>
|
|
||||||
<typeId>vehType</typeId>
|
|
||||||
<startLocation>
|
|
||||||
<id>depotLoc2</id>
|
|
||||||
<coord x="100.0" y="100.0"/>
|
|
||||||
</startLocation>
|
|
||||||
<endLocation>
|
|
||||||
<id>depotLoc2</id>
|
|
||||||
<coord x="100.0" y="100.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</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>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType2</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">200</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType3</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">100</dimension>
|
|
||||||
<dimension index="1">1000</dimension>
|
|
||||||
<dimension index="2">10000</dimension>
|
|
||||||
<dimension index="3">0</dimension>
|
|
||||||
<dimension index="4">0</dimension>
|
|
||||||
<dimension index="5">0</dimension>
|
|
||||||
<dimension index="6">0</dimension>
|
|
||||||
<dimension index="7">0</dimension>
|
|
||||||
<dimension index="8">0</dimension>
|
|
||||||
<dimension index="9">0</dimension>
|
|
||||||
<dimension index="10">100000</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
</vehicleTypes>
|
|
||||||
<services>
|
|
||||||
<service id="1" type="service">
|
|
||||||
<location>
|
|
||||||
<id>j(1,5)</id>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
</location>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">1</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<duration>10.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</service>
|
|
||||||
<service id="2" type="service">
|
|
||||||
<location>
|
|
||||||
<id>i(3,9)</id>
|
<id>i(3,9)</id>
|
||||||
<coord x="10.0" y="10.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
</location>
|
</location>
|
||||||
<capacity-dimensions>
|
<duration>10.0</duration>
|
||||||
<dimension index="0">1</dimension>
|
<timeWindows>
|
||||||
</capacity-dimensions>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>1000.0</start>
|
||||||
<end>4000.0</end>
|
<end>4000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</service>
|
</pickup>
|
||||||
</services>
|
<delivery>
|
||||||
<shipments>
|
<location>
|
||||||
<shipment id="3">
|
<id>i(9,9)</id>
|
||||||
<pickup>
|
<coord x="10.0" y="0.0"/>
|
||||||
<location>
|
</location>
|
||||||
<id>i(3,9)</id>
|
<duration>100.0</duration>
|
||||||
<coord x="10.0" y="10.0"/>
|
<timeWindows>
|
||||||
</location>
|
<timeWindow>
|
||||||
<duration>10.0</duration>
|
<start>6000.0</start>
|
||||||
<timeWindows>
|
<end>10000.0</end>
|
||||||
<timeWindow>
|
</timeWindow>
|
||||||
<start>1000.0</start>
|
</timeWindows>
|
||||||
<end>4000.0</end>
|
</delivery>
|
||||||
</timeWindow>
|
<capacity-dimensions>
|
||||||
</timeWindows>
|
<dimension index="0">10</dimension>
|
||||||
</pickup>
|
</capacity-dimensions>
|
||||||
<delivery>
|
</shipment>
|
||||||
<location>
|
<shipment id="4">
|
||||||
<id>i(9,9)</id>
|
<pickup>
|
||||||
<coord x="10.0" y="0.0"/>
|
<location>
|
||||||
</location>
|
<id>[x=10.0][y=10.0]</id>
|
||||||
<duration>100.0</duration>
|
<coord x="10.0" y="10.0"/>
|
||||||
<timeWindows>
|
</location>
|
||||||
<timeWindow>
|
<duration>0.0</duration>
|
||||||
<start>6000.0</start>
|
<timeWindows>
|
||||||
<end>10000.0</end>
|
<timeWindow>
|
||||||
</timeWindow>
|
<start>1000.0</start>
|
||||||
</timeWindows>
|
<end>4000.0</end>
|
||||||
</delivery>
|
</timeWindow>
|
||||||
<capacity-dimensions>
|
</timeWindows>
|
||||||
<dimension index="0">10</dimension>
|
</pickup>
|
||||||
</capacity-dimensions>
|
<delivery>
|
||||||
</shipment>
|
<location>
|
||||||
<shipment id="4">
|
<id>[x=10.0][y=0.0]</id>
|
||||||
<pickup>
|
<coord x="10.0" y="0.0"/>
|
||||||
<location>
|
</location>
|
||||||
<id>[x=10.0][y=10.0]</id>
|
<duration>100.0</duration>
|
||||||
<coord x="10.0" y="10.0"/>
|
<timeWindows>
|
||||||
</location>
|
<timeWindow>
|
||||||
<duration>0.0</duration>
|
<start>6000.0</start>
|
||||||
<timeWindows>
|
<end>10000.0</end>
|
||||||
<timeWindow>
|
</timeWindow>
|
||||||
<start>1000.0</start>
|
</timeWindows>
|
||||||
<end>4000.0</end>
|
</delivery>
|
||||||
</timeWindow>
|
<capacity-dimensions>
|
||||||
</timeWindows>
|
<dimension index="0">10</dimension>
|
||||||
</pickup>
|
</capacity-dimensions>
|
||||||
<delivery>
|
</shipment>
|
||||||
<location>
|
</shipments>
|
||||||
<id>[x=10.0][y=0.0]</id>
|
<initialRoutes>
|
||||||
<coord x="10.0" y="0.0"/>
|
<route>
|
||||||
</location>
|
<driverId>noDriver</driverId>
|
||||||
<duration>100.0</duration>
|
<vehicleId>v1</vehicleId>
|
||||||
<timeWindows>
|
<start>10.0</start>
|
||||||
<timeWindow>
|
<act type="pickupShipment">
|
||||||
<start>6000.0</start>
|
<shipmentId>4</shipmentId>
|
||||||
<end>10000.0</end>
|
<arrTime>0.0</arrTime>
|
||||||
</timeWindow>
|
<endTime>0.0</endTime>
|
||||||
</timeWindows>
|
</act>
|
||||||
</delivery>
|
<act type="deliverShipment">
|
||||||
<capacity-dimensions>
|
<shipmentId>4</shipmentId>
|
||||||
<dimension index="0">10</dimension>
|
<arrTime>0.0</arrTime>
|
||||||
</capacity-dimensions>
|
<endTime>0.0</endTime>
|
||||||
</shipment>
|
</act>
|
||||||
</shipments>
|
<end>0.0</end>
|
||||||
<initialRoutes>
|
</route>
|
||||||
<route>
|
</initialRoutes>
|
||||||
<driverId>noDriver</driverId>
|
|
||||||
<vehicleId>v1</vehicleId>
|
|
||||||
<start>10.0</start>
|
|
||||||
<act type="pickupShipment">
|
|
||||||
<shipmentId>4</shipmentId>
|
|
||||||
<arrTime>0.0</arrTime>
|
|
||||||
<endTime>0.0</endTime>
|
|
||||||
</act>
|
|
||||||
<act type="deliverShipment">
|
|
||||||
<shipmentId>4</shipmentId>
|
|
||||||
<arrTime>0.0</arrTime>
|
|
||||||
<endTime>0.0</endTime>
|
|
||||||
</act>
|
|
||||||
<end>0.0</end>
|
|
||||||
</route>
|
|
||||||
</initialRoutes>
|
|
||||||
</problem>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -1,165 +1,165 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<problem xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<problemType>
|
<problemType>
|
||||||
<fleetSize>FINITE</fleetSize>
|
<fleetSize>FINITE</fleetSize>
|
||||||
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
||||||
</problemType>
|
</problemType>
|
||||||
|
|
||||||
<vehicles>
|
<vehicles>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v1</id>
|
<id>v1</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc2</id>
|
<id>depotLoc2</id>
|
||||||
<coord x="100.0" y="100.0"/>
|
<coord x="100.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<typeId>vehType</typeId>
|
<typeId>vehType</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v2</id>
|
||||||
|
<location>
|
||||||
|
<id>depotLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
</vehicles>
|
||||||
|
<vehicleTypes>
|
||||||
|
<type>
|
||||||
|
<id>vehType</id>
|
||||||
|
<capacity>20</capacity>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType2</id>
|
||||||
|
<capacity>200</capacity>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
</vehicleTypes>
|
||||||
|
|
||||||
|
<services>
|
||||||
|
<service id="1" type="service">
|
||||||
|
<locationId>j(1,5)</locationId>
|
||||||
|
<coord x="10.0" y="10.0"/>
|
||||||
|
<capacity-demand>1</capacity-demand>
|
||||||
|
<duration>0.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
<vehicle>
|
</service>
|
||||||
<id>v2</id>
|
|
||||||
<location>
|
<service id="2" type="service">
|
||||||
<id>depotLoc</id>
|
<locationId>i(3,9)</locationId>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
</location>
|
<capacity-demand>1</capacity-demand>
|
||||||
<typeId>vehType2</typeId>
|
<duration>0.0</duration>
|
||||||
<timeSchedule>
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
</vehicles>
|
</service>
|
||||||
<vehicleTypes>
|
|
||||||
<type>
|
<service id="4" type="service">
|
||||||
<id>vehType</id>
|
<locationId>i(3,9)</locationId>
|
||||||
<capacity>20</capacity>
|
<coord x="10.0" y="10.0"/>
|
||||||
<costs>
|
<capacity-demand>1</capacity-demand>
|
||||||
<fixed>0.0</fixed>
|
<duration>0.0</duration>
|
||||||
<distance>0.0</distance>
|
<timeWindows>
|
||||||
<time>0.0</time>
|
<timeWindow>
|
||||||
</costs>
|
<start>0.0</start>
|
||||||
</type>
|
<end>4000.0</end>
|
||||||
<type>
|
</timeWindow>
|
||||||
<id>vehType2</id>
|
</timeWindows>
|
||||||
<capacity>200</capacity>
|
</service>
|
||||||
<costs>
|
</services>
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
<shipments>
|
||||||
<time>0.0</time>
|
<shipment id="3">
|
||||||
</costs>
|
<pickup>
|
||||||
</type>
|
<locationId>i(3,9)</locationId>
|
||||||
</vehicleTypes>
|
|
||||||
|
|
||||||
<services>
|
|
||||||
<service id="1" type="service">
|
|
||||||
<locationId>j(1,5)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
<capacity-demand>1</capacity-demand>
|
<duration>0.0</duration>
|
||||||
<duration>0.0</duration>
|
<timeWindows>
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>4000.0</end>
|
<end>4000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</service>
|
</pickup>
|
||||||
|
<delivery>
|
||||||
<service id="2" type="service">
|
<locationId>i(9,9)</locationId>
|
||||||
<locationId>i(3,9)</locationId>
|
<coord x="10.0" y="0.0"/>
|
||||||
<coord x="10.0" y="10.0"/>
|
<duration>0.0</duration>
|
||||||
<capacity-demand>1</capacity-demand>
|
<timeWindows>
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>4000.0</end>
|
<end>4000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</service>
|
</delivery>
|
||||||
|
<capacity-demand>1</capacity-demand>
|
||||||
|
</shipment>
|
||||||
|
</shipments>
|
||||||
|
|
||||||
|
<solutions>
|
||||||
|
<solution>
|
||||||
|
<cost>100.0</cost>
|
||||||
|
<routes>
|
||||||
|
<route>
|
||||||
|
<cost>0.0</cost>
|
||||||
|
<driverId>noDriver</driverId>
|
||||||
|
<vehicleId>v1</vehicleId>
|
||||||
|
<start>10.0</start>
|
||||||
|
<act type="service">
|
||||||
|
<serviceId>1</serviceId>
|
||||||
|
<arrTime>20.0</arrTime>
|
||||||
|
<endTime>30.0</endTime>
|
||||||
|
</act>
|
||||||
|
<act type="service">
|
||||||
|
<serviceId>2</serviceId>
|
||||||
|
<arrTime>40.0</arrTime>
|
||||||
|
<endTime>80.0</endTime>
|
||||||
|
</act>
|
||||||
|
<act type="pickupShipment">
|
||||||
|
<shipmentId>3</shipmentId>
|
||||||
|
<arrTime>40.0</arrTime>
|
||||||
|
<endTime>80.0</endTime>
|
||||||
|
</act>
|
||||||
|
<act type="deliverShipment">
|
||||||
|
<shipmentId>3</shipmentId>
|
||||||
|
<arrTime>40.0</arrTime>
|
||||||
|
<endTime>80.0</endTime>
|
||||||
|
</act>
|
||||||
|
<end>100.0</end>
|
||||||
|
</route>
|
||||||
|
</routes>
|
||||||
|
<unassignedJobs>
|
||||||
|
<job id="4"/>
|
||||||
|
</unassignedJobs>
|
||||||
|
</solution>
|
||||||
|
</solutions>
|
||||||
|
|
||||||
<service id="4" type="service">
|
|
||||||
<locationId>i(3,9)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<capacity-demand>1</capacity-demand>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</service>
|
|
||||||
</services>
|
|
||||||
|
|
||||||
<shipments>
|
|
||||||
<shipment id="3">
|
|
||||||
<pickup>
|
|
||||||
<locationId>i(3,9)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</pickup>
|
|
||||||
<delivery>
|
|
||||||
<locationId>i(9,9)</locationId>
|
|
||||||
<coord x="10.0" y="0.0"/>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</delivery>
|
|
||||||
<capacity-demand>1</capacity-demand>
|
|
||||||
</shipment>
|
|
||||||
</shipments>
|
|
||||||
|
|
||||||
<solutions>
|
|
||||||
<solution>
|
|
||||||
<cost>100.0</cost>
|
|
||||||
<routes>
|
|
||||||
<route>
|
|
||||||
<cost>0.0</cost>
|
|
||||||
<driverId>noDriver</driverId>
|
|
||||||
<vehicleId>v1</vehicleId>
|
|
||||||
<start>10.0</start>
|
|
||||||
<act type="service">
|
|
||||||
<serviceId>1</serviceId>
|
|
||||||
<arrTime>20.0</arrTime>
|
|
||||||
<endTime>30.0</endTime>
|
|
||||||
</act>
|
|
||||||
<act type="service">
|
|
||||||
<serviceId>2</serviceId>
|
|
||||||
<arrTime>40.0</arrTime>
|
|
||||||
<endTime>80.0</endTime>
|
|
||||||
</act>
|
|
||||||
<act type="pickupShipment">
|
|
||||||
<shipmentId>3</shipmentId>
|
|
||||||
<arrTime>40.0</arrTime>
|
|
||||||
<endTime>80.0</endTime>
|
|
||||||
</act>
|
|
||||||
<act type="deliverShipment">
|
|
||||||
<shipmentId>3</shipmentId>
|
|
||||||
<arrTime>40.0</arrTime>
|
|
||||||
<endTime>80.0</endTime>
|
|
||||||
</act>
|
|
||||||
<end>100.0</end>
|
|
||||||
</route>
|
|
||||||
</routes>
|
|
||||||
<unassignedJobs>
|
|
||||||
<job id="4"/>
|
|
||||||
</unassignedJobs>
|
|
||||||
</solution>
|
|
||||||
</solutions>
|
|
||||||
|
|
||||||
</problem>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -1,207 +1,207 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<problem xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<problemType>
|
<problemType>
|
||||||
<fleetSize>FINITE</fleetSize>
|
<fleetSize>FINITE</fleetSize>
|
||||||
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
<fleetComposition>HETEROGENEOUS</fleetComposition>
|
||||||
</problemType>
|
</problemType>
|
||||||
|
|
||||||
<vehicles>
|
<vehicles>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v1</id>
|
<id>v1</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc2</id>
|
<id>depotLoc2</id>
|
||||||
<coord x="100.0" y="100.0"/>
|
<coord x="100.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<typeId>vehType</typeId>
|
<typeId>vehType</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v2</id>
|
||||||
|
<location>
|
||||||
|
<id>depotLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<returnToDepot>false</returnToDepot>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v3</id>
|
||||||
|
<startLocation>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</startLocation>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v4</id>
|
||||||
|
<location>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType2</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
<vehicle>
|
||||||
|
<id>v5</id>
|
||||||
|
<location>
|
||||||
|
<id>startLoc</id>
|
||||||
|
<coord x="10.0" y="100.0"/>
|
||||||
|
</location>
|
||||||
|
<endLocation>
|
||||||
|
<id>endLoc</id>
|
||||||
|
<coord x="1000.0" y="2000.0"/>
|
||||||
|
</endLocation>
|
||||||
|
<typeId>vehType3</typeId>
|
||||||
|
<timeSchedule>
|
||||||
|
<start>0.0</start>
|
||||||
|
<end>1000.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
</vehicle>
|
||||||
|
</vehicles>
|
||||||
|
<vehicleTypes>
|
||||||
|
<type>
|
||||||
|
<id>vehType</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">20</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType2</id>
|
||||||
|
<capacity>200</capacity>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>vehType3</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">100</dimension>
|
||||||
|
<dimension index="1">1000</dimension>
|
||||||
|
<dimension index="2">10000</dimension>
|
||||||
|
<dimension index="10">100000</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>0.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
</vehicleTypes>
|
||||||
|
|
||||||
|
<services>
|
||||||
|
<service id="1" type="service">
|
||||||
|
<locationId>j(1,5)</locationId>
|
||||||
|
<coord x="10.0" y="10.0"/>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">1</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<duration>10.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
<vehicle>
|
</service>
|
||||||
<id>v2</id>
|
|
||||||
<location>
|
<service id="2" type="service">
|
||||||
<id>depotLoc</id>
|
<locationId>i(3,9)</locationId>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
</location>
|
<capacity-demand>1</capacity-demand>
|
||||||
<returnToDepot>false</returnToDepot>
|
<duration>0.0</duration>
|
||||||
<typeId>vehType2</typeId>
|
<timeWindows>
|
||||||
<timeSchedule>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>4000.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
</vehicle>
|
</timeWindows>
|
||||||
<vehicle>
|
</service>
|
||||||
<id>v3</id>
|
|
||||||
<startLocation>
|
</services>
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
<shipments>
|
||||||
</startLocation>
|
<shipment id="3">
|
||||||
<endLocation>
|
<pickup>
|
||||||
<id>endLoc</id>
|
<locationId>i(3,9)</locationId>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType2</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v4</id>
|
|
||||||
<location>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</location>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType2</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
<vehicle>
|
|
||||||
<id>v5</id>
|
|
||||||
<location>
|
|
||||||
<id>startLoc</id>
|
|
||||||
<coord x="10.0" y="100.0"/>
|
|
||||||
</location>
|
|
||||||
<endLocation>
|
|
||||||
<id>endLoc</id>
|
|
||||||
<coord x="1000.0" y="2000.0"/>
|
|
||||||
</endLocation>
|
|
||||||
<typeId>vehType3</typeId>
|
|
||||||
<timeSchedule>
|
|
||||||
<start>0.0</start>
|
|
||||||
<end>1000.0</end>
|
|
||||||
</timeSchedule>
|
|
||||||
</vehicle>
|
|
||||||
</vehicles>
|
|
||||||
<vehicleTypes>
|
|
||||||
<type>
|
|
||||||
<id>vehType</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">20</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType2</id>
|
|
||||||
<capacity>200</capacity>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
<type>
|
|
||||||
<id>vehType3</id>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">100</dimension>
|
|
||||||
<dimension index="1">1000</dimension>
|
|
||||||
<dimension index="2">10000</dimension>
|
|
||||||
<dimension index="10">100000</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<costs>
|
|
||||||
<fixed>0.0</fixed>
|
|
||||||
<distance>0.0</distance>
|
|
||||||
<time>0.0</time>
|
|
||||||
</costs>
|
|
||||||
</type>
|
|
||||||
</vehicleTypes>
|
|
||||||
|
|
||||||
<services>
|
|
||||||
<service id="1" type="service">
|
|
||||||
<locationId>j(1,5)</locationId>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
<capacity-dimensions>
|
<duration>10.0</duration>
|
||||||
<dimension index="0">1</dimension>
|
<timeWindows>
|
||||||
</capacity-dimensions>
|
|
||||||
<duration>10.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>1000.0</start>
|
||||||
<end>4000.0</end>
|
<end>4000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</service>
|
</pickup>
|
||||||
|
<delivery>
|
||||||
<service id="2" type="service">
|
<locationId>i(9,9)</locationId>
|
||||||
<locationId>i(3,9)</locationId>
|
<coord x="10.0" y="0.0"/>
|
||||||
<coord x="10.0" y="10.0"/>
|
<duration>100.0</duration>
|
||||||
<capacity-demand>1</capacity-demand>
|
<timeWindows>
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>0.0</start>
|
<start>6000.0</start>
|
||||||
<end>4000.0</end>
|
<end>10000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</service>
|
</delivery>
|
||||||
|
<capacity-demand>10</capacity-demand>
|
||||||
</services>
|
</shipment>
|
||||||
|
|
||||||
<shipments>
|
<shipment id="4">
|
||||||
<shipment id="3">
|
<pickup>
|
||||||
<pickup>
|
<coord x="10.0" y="10.0"/>
|
||||||
<locationId>i(3,9)</locationId>
|
<timeWindows>
|
||||||
<coord x="10.0" y="10.0"/>
|
|
||||||
<duration>10.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>1000.0</start>
|
<start>1000.0</start>
|
||||||
<end>4000.0</end>
|
<end>4000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</pickup>
|
</pickup>
|
||||||
<delivery>
|
<delivery>
|
||||||
<locationId>i(9,9)</locationId>
|
<coord x="10.0" y="0.0"/>
|
||||||
<coord x="10.0" y="0.0"/>
|
<duration>100.0</duration>
|
||||||
<duration>100.0</duration>
|
<timeWindows>
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
<timeWindow>
|
||||||
<start>6000.0</start>
|
<start>6000.0</start>
|
||||||
<end>10000.0</end>
|
<end>10000.0</end>
|
||||||
</timeWindow>
|
</timeWindow>
|
||||||
</timeWindows>
|
</timeWindows>
|
||||||
</delivery>
|
</delivery>
|
||||||
<capacity-demand>10</capacity-demand>
|
<capacity-dimensions>
|
||||||
</shipment>
|
<dimension index="0">10</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
<shipment id="4">
|
</shipment>
|
||||||
<pickup>
|
|
||||||
<coord x="10.0" y="10.0"/>
|
</shipments>
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>1000.0</start>
|
|
||||||
<end>4000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</pickup>
|
|
||||||
<delivery>
|
|
||||||
<coord x="10.0" y="0.0"/>
|
|
||||||
<duration>100.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>6000.0</start>
|
|
||||||
<end>10000.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</delivery>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">10</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
</shipment>
|
|
||||||
|
|
||||||
</shipments>
|
|
||||||
</problem>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -1,90 +1,91 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<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">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<problemType>
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<fleetSize>INFINITE</fleetSize>
|
<problemType>
|
||||||
</problemType>
|
<fleetSize>INFINITE</fleetSize>
|
||||||
<vehicles>
|
</problemType>
|
||||||
<vehicle>
|
<vehicles>
|
||||||
<id>v1</id>
|
<vehicle>
|
||||||
<typeId>vehType</typeId>
|
<id>v1</id>
|
||||||
<startLocation>
|
<typeId>vehType</typeId>
|
||||||
<id>loc</id>
|
<startLocation>
|
||||||
</startLocation>
|
<id>loc</id>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>loc</id>
|
<endLocation>
|
||||||
</endLocation>
|
<id>loc</id>
|
||||||
<timeSchedule>
|
</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="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>
|
<start>0.0</start>
|
||||||
<end>1.7976931348623157E308</end>
|
<end>1.7976931348623157E308</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeWindows>
|
||||||
</vehicle>
|
</service>
|
||||||
</vehicles>
|
<service id="2" type="service">
|
||||||
<vehicleTypes>
|
<location>
|
||||||
<type>
|
<id>loc2</id>
|
||||||
<id>vehType</id>
|
</location>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">20</dimension>
|
<dimension index="0">1</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<costs>
|
<duration>4.0</duration>
|
||||||
<fixed>0.0</fixed>
|
<timeWindows>
|
||||||
<distance>1.0</distance>
|
<timeWindow>
|
||||||
<time>0.0</time>
|
<start>0.0</start>
|
||||||
</costs>
|
<end>1.7976931348623157E308</end>
|
||||||
</type>
|
</timeWindow>
|
||||||
</vehicleTypes>
|
</timeWindows>
|
||||||
<services>
|
</service>
|
||||||
<service id="1" type="service">
|
</services>
|
||||||
<location>
|
<solutions>
|
||||||
<id>loc</id>
|
<solution>
|
||||||
</location>
|
<cost>10.0</cost>
|
||||||
<capacity-dimensions>
|
<routes>
|
||||||
<dimension index="0">1</dimension>
|
<route>
|
||||||
</capacity-dimensions>
|
<driverId>noDriver</driverId>
|
||||||
<duration>2.0</duration>
|
<vehicleId>v1</vehicleId>
|
||||||
<timeWindows>
|
<start>0.0</start>
|
||||||
<timeWindow>
|
<act type="service">
|
||||||
<start>0.0</start>
|
<serviceId>1</serviceId>
|
||||||
<end>1.7976931348623157E308</end>
|
<arrTime>0.0</arrTime>
|
||||||
</timeWindow>
|
<endTime>0.0</endTime>
|
||||||
</timeWindows>
|
</act>
|
||||||
</service>
|
<end>0.0</end>
|
||||||
<service id="2" type="service">
|
</route>
|
||||||
<location>
|
</routes>
|
||||||
<id>loc2</id>
|
<unassignedJobs>
|
||||||
</location>
|
<job id="2"/>
|
||||||
<capacity-dimensions>
|
</unassignedJobs>
|
||||||
<dimension index="0">1</dimension>
|
</solution>
|
||||||
</capacity-dimensions>
|
</solutions>
|
||||||
<duration>4.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>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -18,54 +18,55 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion">
|
<insertion name="bestInsertion">
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="randomStrategy">
|
<searchStrategy name="randomStrategy">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<warmup>20</warmup>
|
<warmup>20</warmup>
|
||||||
</acceptor>
|
</acceptor>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="randomRuin">
|
<ruin name="randomRuin">
|
||||||
<share>0.4</share>
|
<share>0.4</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radialStrategy">
|
<searchStrategy name="radialStrategy">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="radialRuin">
|
<ruin name="radialRuin">
|
||||||
<share>0.3</share>
|
<share>0.3</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>.5</probability>
|
<probability>.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</strategy>
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -18,55 +18,56 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion">
|
<insertion name="bestInsertion">
|
||||||
<allowVehicleSwitch>false</allowVehicleSwitch>
|
<allowVehicleSwitch>false</allowVehicleSwitch>
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="randomStrategy">
|
<searchStrategy name="randomStrategy">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<warmup>20</warmup>
|
<warmup>20</warmup>
|
||||||
</acceptor>
|
</acceptor>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="randomRuin">
|
<ruin name="randomRuin">
|
||||||
<share>0.3</share>
|
<share>0.3</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radialStrategy">
|
<searchStrategy name="radialStrategy">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="radialRuin">
|
<ruin name="radialRuin">
|
||||||
<share>0.1</share>
|
<share>0.1</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>.5</probability>
|
<probability>.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</strategy>
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,98 +1,99 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<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">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<problemType>
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<fleetSize>FINITE</fleetSize>
|
<problemType>
|
||||||
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
<fleetSize>FINITE</fleetSize>
|
||||||
</problemType>
|
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
||||||
<vehicles>
|
</problemType>
|
||||||
<vehicle>
|
<vehicles>
|
||||||
<id>21</id>
|
<vehicle>
|
||||||
<typeId>5</typeId>
|
<id>21</id>
|
||||||
<startLocation>
|
<typeId>5</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<endLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</endLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
<start>14400.0</start>
|
<timeSchedule>
|
||||||
<end>46800.0</end>
|
<start>14400.0</start>
|
||||||
</timeSchedule>
|
<end>46800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
<vehicle>
|
</vehicle>
|
||||||
<id>19</id>
|
<vehicle>
|
||||||
<typeId>3.5</typeId>
|
<id>19</id>
|
||||||
<startLocation>
|
<typeId>3.5</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<endLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</endLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
<start>39600.0</start>
|
<timeSchedule>
|
||||||
|
<start>39600.0</start>
|
||||||
|
<end>64800.0</end>
|
||||||
|
</timeSchedule>
|
||||||
|
<returnToDepot>true</returnToDepot>
|
||||||
|
</vehicle>
|
||||||
|
</vehicles>
|
||||||
|
<vehicleTypes>
|
||||||
|
<type>
|
||||||
|
<id>5</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">0</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<costs>
|
||||||
|
<fixed>0.0</fixed>
|
||||||
|
<distance>1.0</distance>
|
||||||
|
<time>0.0</time>
|
||||||
|
</costs>
|
||||||
|
</type>
|
||||||
|
<type>
|
||||||
|
<id>3.5</id>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">0</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">
|
||||||
|
<locationId>[x=2000.0][y=0.0]</locationId>
|
||||||
|
<coord x="2000.0" y="0.0"/>
|
||||||
|
<capacity-dimensions>
|
||||||
|
<dimension index="0">0</dimension>
|
||||||
|
</capacity-dimensions>
|
||||||
|
<duration>0.0</duration>
|
||||||
|
<timeWindows>
|
||||||
|
<timeWindow>
|
||||||
|
<start>54000.0</start>
|
||||||
<end>64800.0</end>
|
<end>64800.0</end>
|
||||||
</timeSchedule>
|
</timeWindow>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeWindows>
|
||||||
</vehicle>
|
</service>
|
||||||
</vehicles>
|
<service id="1" type="service">
|
||||||
<vehicleTypes>
|
<locationId>[x=1000.0][y=1000.0]</locationId>
|
||||||
<type>
|
<coord x="1000.0" y="1000.0"/>
|
||||||
<id>5</id>
|
<capacity-dimensions>
|
||||||
<capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<dimension index="0">0</dimension>
|
</capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<duration>0.0</duration>
|
||||||
<costs>
|
<timeWindows>
|
||||||
<fixed>0.0</fixed>
|
<timeWindow>
|
||||||
<distance>1.0</distance>
|
<start>19800.0</start>
|
||||||
<time>0.0</time>
|
<end>21600.0</end>
|
||||||
</costs>
|
</timeWindow>
|
||||||
</type>
|
</timeWindows>
|
||||||
<type>
|
</service>
|
||||||
<id>3.5</id>
|
</services>
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">0</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">
|
|
||||||
<locationId>[x=2000.0][y=0.0]</locationId>
|
|
||||||
<coord x="2000.0" y="0.0"/>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">0</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>54000.0</start>
|
|
||||||
<end>64800.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</service>
|
|
||||||
<service id="1" type="service">
|
|
||||||
<locationId>[x=1000.0][y=1000.0]</locationId>
|
|
||||||
<coord x="1000.0" y="1000.0"/>
|
|
||||||
<capacity-dimensions>
|
|
||||||
<dimension index="0">0</dimension>
|
|
||||||
</capacity-dimensions>
|
|
||||||
<duration>0.0</duration>
|
|
||||||
<timeWindows>
|
|
||||||
<timeWindow>
|
|
||||||
<start>19800.0</start>
|
|
||||||
<end>21600.0</end>
|
|
||||||
</timeWindow>
|
|
||||||
</timeWindows>
|
|
||||||
</service>
|
|
||||||
</services>
|
|
||||||
</problem>
|
</problem>
|
||||||
|
|
|
||||||
|
|
@ -1,77 +1,78 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<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">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<problemType>
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<fleetSize>FINITE</fleetSize>
|
<problemType>
|
||||||
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
<fleetSize>FINITE</fleetSize>
|
||||||
</problemType>
|
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
||||||
<vehicles>
|
</problemType>
|
||||||
<vehicle>
|
<vehicles>
|
||||||
<id>veh1</id>
|
<vehicle>
|
||||||
<typeId>type1</typeId>
|
<id>veh1</id>
|
||||||
<startLocation>
|
<typeId>type1</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<endLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</endLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
<start>0.0</start>
|
<timeSchedule>
|
||||||
<end>46800.0</end>
|
<start>0.0</start>
|
||||||
</timeSchedule>
|
<end>46800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
<vehicle>
|
</vehicle>
|
||||||
<id>veh2</id>
|
<vehicle>
|
||||||
<typeId>type1</typeId>
|
<id>veh2</id>
|
||||||
<startLocation>
|
<typeId>type1</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<endLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</endLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
<start>0.0</start>
|
<timeSchedule>
|
||||||
<end>64800.0</end>
|
<start>0.0</start>
|
||||||
</timeSchedule>
|
<end>64800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
</vehicles>
|
</vehicle>
|
||||||
<vehicleTypes>
|
</vehicles>
|
||||||
<type>
|
<vehicleTypes>
|
||||||
<id>type1</id>
|
<type>
|
||||||
<capacity-dimensions>
|
<id>type1</id>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<costs>
|
</capacity-dimensions>
|
||||||
<fixed>0.0</fixed>
|
<costs>
|
||||||
<distance>1.0</distance>
|
<fixed>0.0</fixed>
|
||||||
<time>0.0</time>
|
<distance>1.0</distance>
|
||||||
</costs>
|
<time>0.0</time>
|
||||||
</type>
|
</costs>
|
||||||
</vehicleTypes>
|
</type>
|
||||||
<services>
|
</vehicleTypes>
|
||||||
<service id="2" type="service">
|
<services>
|
||||||
<locationId>loc_s2</locationId>
|
<service id="2" type="service">
|
||||||
<coord x="10.0" y="0.0"/>
|
<locationId>loc_s2</locationId>
|
||||||
<capacity-dimensions>
|
<coord x="10.0" y="0.0"/>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<duration>0.0</duration>
|
</capacity-dimensions>
|
||||||
</service>
|
<duration>0.0</duration>
|
||||||
<service id="1" type="service">
|
</service>
|
||||||
<locationId>loc_s1</locationId>
|
<service id="1" type="service">
|
||||||
<coord x="20.0" y="0.0"/>
|
<locationId>loc_s1</locationId>
|
||||||
<capacity-dimensions>
|
<coord x="20.0" y="0.0"/>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<duration>0.0</duration>
|
</capacity-dimensions>
|
||||||
</service>
|
<duration>0.0</duration>
|
||||||
</services>
|
</service>
|
||||||
|
</services>
|
||||||
|
|
||||||
<shipments>
|
<shipments>
|
||||||
<shipment id="3">
|
<shipment id="3">
|
||||||
|
|
|
||||||
|
|
@ -1,77 +1,78 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<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">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<problemType>
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<fleetSize>FINITE</fleetSize>
|
<problemType>
|
||||||
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
<fleetSize>FINITE</fleetSize>
|
||||||
</problemType>
|
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
||||||
<vehicles>
|
</problemType>
|
||||||
<vehicle>
|
<vehicles>
|
||||||
<id>veh1</id>
|
<vehicle>
|
||||||
<typeId>type1</typeId>
|
<id>veh1</id>
|
||||||
<startLocation>
|
<typeId>type1</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<endLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</endLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
<start>0.0</start>
|
<timeSchedule>
|
||||||
<end>46800.0</end>
|
<start>0.0</start>
|
||||||
</timeSchedule>
|
<end>46800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
<vehicle>
|
</vehicle>
|
||||||
<id>2</id>
|
<vehicle>
|
||||||
<typeId>type1</typeId>
|
<id>2</id>
|
||||||
<startLocation>
|
<typeId>type1</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<endLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</endLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
<start>0.0</start>
|
<timeSchedule>
|
||||||
<end>64800.0</end>
|
<start>0.0</start>
|
||||||
</timeSchedule>
|
<end>64800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
</vehicles>
|
</vehicle>
|
||||||
<vehicleTypes>
|
</vehicles>
|
||||||
<type>
|
<vehicleTypes>
|
||||||
<id>type1</id>
|
<type>
|
||||||
<capacity-dimensions>
|
<id>type1</id>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<costs>
|
</capacity-dimensions>
|
||||||
<fixed>0.0</fixed>
|
<costs>
|
||||||
<distance>1.0</distance>
|
<fixed>0.0</fixed>
|
||||||
<time>0.0</time>
|
<distance>1.0</distance>
|
||||||
</costs>
|
<time>0.0</time>
|
||||||
</type>
|
</costs>
|
||||||
</vehicleTypes>
|
</type>
|
||||||
<services>
|
</vehicleTypes>
|
||||||
<service id="2" type="service">
|
<services>
|
||||||
<locationId>loc_s2</locationId>
|
<service id="2" type="service">
|
||||||
<coord x="1000.0" y="0.0"/>
|
<locationId>loc_s2</locationId>
|
||||||
<capacity-dimensions>
|
<coord x="1000.0" y="0.0"/>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<duration>0.0</duration>
|
</capacity-dimensions>
|
||||||
</service>
|
<duration>0.0</duration>
|
||||||
<service id="1" type="service">
|
</service>
|
||||||
<locationId>loc_s3</locationId>
|
<service id="1" type="service">
|
||||||
<coord x="1000.0" y="1000.0"/>
|
<locationId>loc_s3</locationId>
|
||||||
<capacity-dimensions>
|
<coord x="1000.0" y="1000.0"/>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<duration>0.0</duration>
|
</capacity-dimensions>
|
||||||
</service>
|
<duration>0.0</duration>
|
||||||
</services>
|
</service>
|
||||||
|
</services>
|
||||||
<initialRoutes>
|
<initialRoutes>
|
||||||
<route>
|
<route>
|
||||||
<driverId>noDriver</driverId>
|
<driverId>noDriver</driverId>
|
||||||
|
|
|
||||||
|
|
@ -1,42 +1,43 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<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">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<problemType>
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<fleetSize>FINITE</fleetSize>
|
<problemType>
|
||||||
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
<fleetSize>FINITE</fleetSize>
|
||||||
</problemType>
|
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
||||||
<vehicles>
|
</problemType>
|
||||||
<vehicle>
|
<vehicles>
|
||||||
<id>veh1</id>
|
<vehicle>
|
||||||
<typeId>type1</typeId>
|
<id>veh1</id>
|
||||||
<startLocation>
|
<typeId>type1</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<endLocation>
|
</startLocation>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<endLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</endLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</endLocation>
|
||||||
<start>0.0</start>
|
<timeSchedule>
|
||||||
<end>46800.0</end>
|
<start>0.0</start>
|
||||||
</timeSchedule>
|
<end>46800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
</vehicles>
|
</vehicle>
|
||||||
<vehicleTypes>
|
</vehicles>
|
||||||
<type>
|
<vehicleTypes>
|
||||||
<id>type1</id>
|
<type>
|
||||||
<capacity-dimensions>
|
<id>type1</id>
|
||||||
<dimension index="0">100</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">100</dimension>
|
||||||
<costs>
|
</capacity-dimensions>
|
||||||
<fixed>0.0</fixed>
|
<costs>
|
||||||
<distance>1.0</distance>
|
<fixed>0.0</fixed>
|
||||||
<time>0.0</time>
|
<distance>1.0</distance>
|
||||||
</costs>
|
<time>0.0</time>
|
||||||
</type>
|
</costs>
|
||||||
</vehicleTypes>
|
</type>
|
||||||
|
</vehicleTypes>
|
||||||
|
|
||||||
<shipments>
|
<shipments>
|
||||||
<shipment id="3">
|
<shipment id="3">
|
||||||
|
|
|
||||||
|
|
@ -1,69 +1,70 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<problem xmlns="http://www.w3schools.com"
|
<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">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<problemType>
|
xsi:schemaLocation="http://www.w3schools.com vrp_xml_schema.xsd">
|
||||||
<fleetSize>FINITE</fleetSize>
|
<problemType>
|
||||||
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
<fleetSize>FINITE</fleetSize>
|
||||||
</problemType>
|
<fleetComposition>HOMOGENEOUS</fleetComposition>
|
||||||
<vehicles>
|
</problemType>
|
||||||
<vehicle>
|
<vehicles>
|
||||||
<id>veh1</id>
|
<vehicle>
|
||||||
<typeId>type1</typeId>
|
<id>veh1</id>
|
||||||
<startLocation>
|
<typeId>type1</typeId>
|
||||||
<id>[x=5000.0][y=5000.0]</id>
|
<startLocation>
|
||||||
<coord x="5000.0" y="5000.0"/>
|
<id>[x=5000.0][y=5000.0]</id>
|
||||||
</startLocation>
|
<coord x="5000.0" y="5000.0"/>
|
||||||
<timeSchedule>
|
</startLocation>
|
||||||
<start>0.0</start>
|
<timeSchedule>
|
||||||
<end>46800.0</end>
|
<start>0.0</start>
|
||||||
</timeSchedule>
|
<end>46800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
<vehicle>
|
</vehicle>
|
||||||
<id>veh2</id>
|
<vehicle>
|
||||||
<typeId>type1</typeId>
|
<id>veh2</id>
|
||||||
<startLocation>
|
<typeId>type1</typeId>
|
||||||
<id>[x=0.0][y=0.0]</id>
|
<startLocation>
|
||||||
<coord x="0.0" y="0.0"/>
|
<id>[x=0.0][y=0.0]</id>
|
||||||
</startLocation>
|
<coord x="0.0" y="0.0"/>
|
||||||
<timeSchedule>
|
</startLocation>
|
||||||
<start>0.0</start>
|
<timeSchedule>
|
||||||
<end>64800.0</end>
|
<start>0.0</start>
|
||||||
</timeSchedule>
|
<end>64800.0</end>
|
||||||
<returnToDepot>true</returnToDepot>
|
</timeSchedule>
|
||||||
</vehicle>
|
<returnToDepot>true</returnToDepot>
|
||||||
</vehicles>
|
</vehicle>
|
||||||
<vehicleTypes>
|
</vehicles>
|
||||||
<type>
|
<vehicleTypes>
|
||||||
<id>type1</id>
|
<type>
|
||||||
<capacity-dimensions>
|
<id>type1</id>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<costs>
|
</capacity-dimensions>
|
||||||
<fixed>0.0</fixed>
|
<costs>
|
||||||
<distance>1.0</distance>
|
<fixed>0.0</fixed>
|
||||||
<time>0.0</time>
|
<distance>1.0</distance>
|
||||||
</costs>
|
<time>0.0</time>
|
||||||
</type>
|
</costs>
|
||||||
</vehicleTypes>
|
</type>
|
||||||
<services>
|
</vehicleTypes>
|
||||||
<service id="2" type="service">
|
<services>
|
||||||
<locationId>loc_s2</locationId>
|
<service id="2" type="service">
|
||||||
<coord x="1000.0" y="0.0"/>
|
<locationId>loc_s2</locationId>
|
||||||
<capacity-dimensions>
|
<coord x="1000.0" y="0.0"/>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<duration>0.0</duration>
|
</capacity-dimensions>
|
||||||
</service>
|
<duration>0.0</duration>
|
||||||
<service id="1" type="service">
|
</service>
|
||||||
<locationId>loc_s3</locationId>
|
<service id="1" type="service">
|
||||||
<coord x="1000.0" y="1000.0"/>
|
<locationId>loc_s3</locationId>
|
||||||
<capacity-dimensions>
|
<coord x="1000.0" y="1000.0"/>
|
||||||
<dimension index="0">0</dimension>
|
<capacity-dimensions>
|
||||||
</capacity-dimensions>
|
<dimension index="0">0</dimension>
|
||||||
<duration>0.0</duration>
|
</capacity-dimensions>
|
||||||
</service>
|
<duration>0.0</duration>
|
||||||
</services>
|
</service>
|
||||||
|
</services>
|
||||||
<initialRoutes>
|
<initialRoutes>
|
||||||
<route>
|
<route>
|
||||||
<driverId>noDriver</driverId>
|
<driverId>noDriver</driverId>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -2,69 +2,69 @@
|
||||||
|
|
||||||
<config>
|
<config>
|
||||||
|
|
||||||
<iterations>10</iterations>
|
<iterations>10</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinSmall">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.1</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion" id="1"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.2</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
||||||
|
<!-- <modules number="1"> -->
|
||||||
|
<!-- <module name="gendreau"> -->
|
||||||
|
<!-- <iterations>200</iterations> -->
|
||||||
|
<!-- <share>0.2</share> -->
|
||||||
|
<!-- </module> -->
|
||||||
|
<!-- </modules> -->
|
||||||
|
<!-- <probability>0.1</probability> -->
|
||||||
|
<!-- </searchStrategy> -->
|
||||||
|
</searchStrategies>
|
||||||
|
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="randomRuinSmall">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.1</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion" id="1"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.2</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
|
||||||
<!-- <modules number="1"> -->
|
|
||||||
<!-- <module name="gendreau"> -->
|
|
||||||
<!-- <iterations>200</iterations> -->
|
|
||||||
<!-- <share>0.2</share> -->
|
|
||||||
<!-- </module> -->
|
|
||||||
<!-- </modules> -->
|
|
||||||
<!-- <probability>0.1</probability> -->
|
|
||||||
<!-- </searchStrategy> -->
|
|
||||||
</searchStrategies>
|
|
||||||
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
||||||
|
|
@ -2,65 +2,65 @@
|
||||||
|
|
||||||
<config>
|
<config>
|
||||||
|
|
||||||
<iterations>10</iterations>
|
<iterations>10</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="randomRuin">
|
<module name="randomRuin">
|
||||||
<share>0.5</share>
|
<share>0.5</share>
|
||||||
</module>
|
</module>
|
||||||
<module name="bestInsertion">
|
<module name="bestInsertion">
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.4</probability>
|
<probability>0.4</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRuinSmall">
|
<searchStrategy name="randomRuinSmall">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="randomRuin">
|
<module name="randomRuin">
|
||||||
<share>0.1</share>
|
<share>0.1</share>
|
||||||
</module>
|
</module>
|
||||||
<module name="bestInsertion"></module>
|
<module name="bestInsertion"></module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.4</probability>
|
<probability>0.4</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
<modules>
|
<modules>
|
||||||
<module name="radialRuin">
|
<module name="radialRuin">
|
||||||
<share>0.3</share>
|
<share>0.3</share>
|
||||||
<distanceMeasure>euclid</distanceMeasure>
|
<distanceMeasure>euclid</distanceMeasure>
|
||||||
</module>
|
</module>
|
||||||
<module name="bestInsertion" id="1"></module>
|
<module name="bestInsertion" id="1"></module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.2</probability>
|
<probability>0.2</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
<!-- <searchStrategy id="gendreauPostOpt"> -->
|
||||||
<!-- <modules number="1"> -->
|
<!-- <modules number="1"> -->
|
||||||
<!-- <module name="gendreau"> -->
|
<!-- <module name="gendreau"> -->
|
||||||
<!-- <iterations>200</iterations> -->
|
<!-- <iterations>200</iterations> -->
|
||||||
<!-- <share>0.2</share> -->
|
<!-- <share>0.2</share> -->
|
||||||
<!-- </module> -->
|
<!-- </module> -->
|
||||||
<!-- </modules> -->
|
<!-- </modules> -->
|
||||||
<!-- <probability>0.1</probability> -->
|
<!-- <probability>0.1</probability> -->
|
||||||
<!-- </searchStrategy> -->
|
<!-- </searchStrategy> -->
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
|
|
||||||
</strategy>
|
</strategy>
|
||||||
|
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,27 @@
|
||||||
{
|
{
|
||||||
"solution" : {
|
"solution": {
|
||||||
"costs" : 84.7213595499958,
|
"costs": 84.7213595499958,
|
||||||
"fixed_costs" : 0.0,
|
"fixed_costs": 0.0,
|
||||||
"variable_costs" : 84.7213595499958,
|
"variable_costs": 84.7213595499958,
|
||||||
"distance" : 84.7213595499958,
|
"distance": 84.7213595499958,
|
||||||
"time" : 84.7213595499958,
|
"time": 84.7213595499958,
|
||||||
"no_routes" : 1,
|
"no_routes": 1,
|
||||||
"no_unassigned_jobs" : 0,
|
"no_unassigned_jobs": 0,
|
||||||
"routes" : [ {
|
"routes": [
|
||||||
"fixed_costs" : 0.0,
|
{
|
||||||
"variable_costs" : 84.7213595499958,
|
"fixed_costs": 0.0,
|
||||||
"no_activities" : 1,
|
"variable_costs": 84.7213595499958,
|
||||||
"start_time" : 0.0,
|
"no_activities": 1,
|
||||||
"act" : {
|
"start_time": 0.0,
|
||||||
"type" : "service",
|
"act": {
|
||||||
"job_id" : "s",
|
"type": "service",
|
||||||
"arr_time" : 44.721359549995796,
|
"job_id": "s",
|
||||||
"end_time" : 44.721359549995796
|
"arr_time": 44.721359549995796,
|
||||||
},
|
"end_time": 44.721359549995796
|
||||||
"end_time" : 84.7213595499958
|
},
|
||||||
} ],
|
"end_time": 84.7213595499958
|
||||||
"unassigned_jobs" : [ ]
|
}
|
||||||
}
|
],
|
||||||
}
|
"unassigned_jobs": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,85 +1,106 @@
|
||||||
{
|
{
|
||||||
"meta-info" : {
|
"meta-info": {
|
||||||
"distance-unit" : "m",
|
"distance-unit": "m",
|
||||||
"time-unit" : "sec"
|
"time-unit": "sec"
|
||||||
},
|
},
|
||||||
"vrp" : {
|
"vrp": {
|
||||||
"fleet_size" : "FINITE",
|
"fleet_size": "FINITE",
|
||||||
"vehicles" : [ {
|
"vehicles": [
|
||||||
"id" : "v1",
|
{
|
||||||
"start_address" : {
|
"id": "v1",
|
||||||
"id" : "startLoc",
|
"start_address": {
|
||||||
"lon" : 0.0,
|
"id": "startLoc",
|
||||||
"lat" : 0.0
|
"lon": 0.0,
|
||||||
},
|
"lat": 0.0
|
||||||
"return_to_depot" : true,
|
},
|
||||||
"end_address" : {
|
"return_to_depot": true,
|
||||||
"id" : "endLoc",
|
"end_address": {
|
||||||
"lon" : 12.0,
|
"id": "endLoc",
|
||||||
"lat" : 13.0
|
"lon": 12.0,
|
||||||
},
|
"lat": 13.0
|
||||||
"earliest_start" : 0.0,
|
},
|
||||||
"latest_end" : 1000.0,
|
"earliest_start": 0.0,
|
||||||
"type_id" : "small",
|
"latest_end": 1000.0,
|
||||||
"skills" : [ "screw-driver" ]
|
"type_id": "small",
|
||||||
}, {
|
"skills": ["screw-driver"]
|
||||||
"id" : "v2",
|
},
|
||||||
"start_address" : {
|
{
|
||||||
"id" : "startLoc",
|
"id": "v2",
|
||||||
"lon" : 0.0,
|
"start_address": {
|
||||||
"lat" : 0.0
|
"id": "startLoc",
|
||||||
},
|
"lon": 0.0,
|
||||||
"return_to_depot" : false,
|
"lat": 0.0
|
||||||
"earliest_start" : 0.0,
|
},
|
||||||
"latest_end" : 1.7976931348623157E308,
|
"return_to_depot": false,
|
||||||
"type_id" : "medium",
|
"earliest_start": 0.0,
|
||||||
"skills" : [ "joo" ]
|
"latest_end": 1.7976931348623157E308,
|
||||||
} ],
|
"type_id": "medium",
|
||||||
"vehicle_types" : [ {
|
"skills": ["joo"]
|
||||||
"id" : "medium",
|
}
|
||||||
"capacity" : [ 1000, 4000 ],
|
],
|
||||||
"fixed_costs" : 1000.0,
|
"vehicle_types": [
|
||||||
"distance_dependent_costs" : 1.0,
|
{
|
||||||
"time_dependent_costs" : 200.0
|
"id": "medium",
|
||||||
}, {
|
"capacity": [
|
||||||
"id" : "small",
|
1000,
|
||||||
"capacity" : [ 100, 400 ],
|
4000
|
||||||
"fixed_costs" : 0.0,
|
],
|
||||||
"distance_dependent_costs" : 1.0,
|
"fixed_costs": 1000.0,
|
||||||
"time_dependent_costs" : 20.0
|
"distance_dependent_costs": 1.0,
|
||||||
} ],
|
"time_dependent_costs": 200.0
|
||||||
"services" : [ {
|
},
|
||||||
"id" : "s1",
|
{
|
||||||
"type" : "service",
|
"id": "small",
|
||||||
"name" : "no-name",
|
"capacity": [
|
||||||
"address" : {
|
100,
|
||||||
"id" : "s1_loc",
|
400
|
||||||
"lon" : 40.0,
|
],
|
||||||
"lat" : 10.0
|
"fixed_costs": 0.0,
|
||||||
},
|
"distance_dependent_costs": 1.0,
|
||||||
"service_duration" : 1.0,
|
"time_dependent_costs": 20.0
|
||||||
"time_window" : {
|
}
|
||||||
"start" : 0.0,
|
],
|
||||||
"end" : 1.7976931348623157E308
|
"services": [
|
||||||
},
|
{
|
||||||
"size" : [ 20, 40 ],
|
"id": "s1",
|
||||||
"required_skills" : [ "joo-foo" ]
|
"type": "service",
|
||||||
}, {
|
"name": "no-name",
|
||||||
"id" : "pickup2",
|
"address": {
|
||||||
"type" : "pickup",
|
"id": "s1_loc",
|
||||||
"name" : "no-name",
|
"lon": 40.0,
|
||||||
"address" : {
|
"lat": 10.0
|
||||||
"id" : "s2_loc",
|
},
|
||||||
"lon" : 40.0,
|
"service_duration": 1.0,
|
||||||
"lat" : 10.0
|
"time_window": {
|
||||||
},
|
"start": 0.0,
|
||||||
"service_duration" : 2.0,
|
"end": 1.7976931348623157E308
|
||||||
"time_window" : {
|
},
|
||||||
"start" : 10.0,
|
"size": [
|
||||||
"end" : 200.0
|
20,
|
||||||
},
|
40
|
||||||
"size" : [ 10, 30 ],
|
],
|
||||||
"required_skills" : [ "screw-driver" ]
|
"required_skills": ["joo-foo"]
|
||||||
} ]
|
},
|
||||||
}
|
{
|
||||||
}
|
"id": "pickup2",
|
||||||
|
"type": "pickup",
|
||||||
|
"name": "no-name",
|
||||||
|
"address": {
|
||||||
|
"id": "s2_loc",
|
||||||
|
"lon": 40.0,
|
||||||
|
"lat": 10.0
|
||||||
|
},
|
||||||
|
"service_duration": 2.0,
|
||||||
|
"time_window": {
|
||||||
|
"start": 10.0,
|
||||||
|
"end": 200.0
|
||||||
|
},
|
||||||
|
"size": [
|
||||||
|
10,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"required_skills": ["screw-driver"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -18,70 +18,71 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="regretInsertion">
|
||||||
|
|
||||||
|
</insertion>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRR">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance">
|
||||||
|
<alpha>0.2</alpha>
|
||||||
|
<warmup>20</warmup>
|
||||||
|
</acceptor>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="regretInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRR">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="1" name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="regretInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.4</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="smallRadialRR">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="2" name="radialRuin">
|
||||||
|
<share>0.05</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="regretInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.2</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="regretInsertion">
|
|
||||||
|
|
||||||
</insertion>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRR">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance">
|
|
||||||
<alpha>0.2</alpha>
|
|
||||||
<warmup>20</warmup>
|
|
||||||
</acceptor>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="regretInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRR">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="1" name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="regretInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.4</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="smallRadialRR">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="2" name="radialRuin">
|
|
||||||
<share>0.05</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="regretInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.2</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -18,54 +18,55 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<maxIterations>2000</maxIterations>
|
|
||||||
|
<maxIterations>2000</maxIterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance">
|
||||||
|
<alpha>0.1</alpha>
|
||||||
|
<warmup>20</warmup>
|
||||||
|
</acceptor>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="1" name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance">
|
|
||||||
<alpha>0.1</alpha>
|
|
||||||
<warmup>20</warmup>
|
|
||||||
</acceptor>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="1" name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,56 +1,57 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion">
|
||||||
|
<considerFixedCosts weight="1.0">true</considerFixedCosts>
|
||||||
|
</insertion>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance">
|
||||||
|
<alpha>0.05</alpha>
|
||||||
|
<warmup>20</warmup>
|
||||||
|
</acceptor>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="1" name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion">
|
|
||||||
<considerFixedCosts weight="1.0">true</considerFixedCosts>
|
|
||||||
</insertion>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance">
|
|
||||||
<alpha>0.05</alpha>
|
|
||||||
<warmup>20</warmup>
|
|
||||||
</acceptor>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="1" name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,57 +1,58 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion">
|
||||||
|
<level forwardLooking="3" memory="2">route</level>
|
||||||
|
<considerFixedCosts weight="1.0">true</considerFixedCosts>
|
||||||
|
</insertion>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance">
|
||||||
|
<alpha>0.05</alpha>
|
||||||
|
<warmup>20</warmup>
|
||||||
|
</acceptor>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="1" name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion">
|
|
||||||
<level forwardLooking="3" memory="2">route</level>
|
|
||||||
<considerFixedCosts weight="1.0">true</considerFixedCosts>
|
|
||||||
</insertion>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance">
|
|
||||||
<alpha>0.05</alpha>
|
|
||||||
<warmup>20</warmup>
|
|
||||||
</acceptor>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="1" name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,49 +1,50 @@
|
||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion">
|
<insertion name="bestInsertion">
|
||||||
<considerFixedCosts weight="1.0">true</considerFixedCosts>
|
<considerFixedCosts weight="1.0">true</considerFixedCosts>
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,52 +1,53 @@
|
||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion">
|
<insertion name="bestInsertion">
|
||||||
<considerFixedCosts weight="0.5">true</considerFixedCosts>
|
<considerFixedCosts weight="0.5">true</considerFixedCosts>
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance">
|
||||||
|
<alpha>0.05</alpha>
|
||||||
|
<warmup>20</warmup>
|
||||||
|
</acceptor>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance">
|
|
||||||
<alpha>0.05</alpha>
|
|
||||||
<warmup>20</warmup>
|
|
||||||
</acceptor>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -18,49 +18,50 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="regretInsertion">
|
<insertion name="regretInsertion">
|
||||||
|
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRR">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="regretInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRR">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="regretInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRR">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="regretInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRR">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="regretInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,68 +1,69 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion">
|
||||||
|
<allowVehicleSwitch>false</allowVehicleSwitch>
|
||||||
|
</insertion>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="random_best">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.2</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radial_best">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="1" name="radialRuin">
|
||||||
|
<share>0.15</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.2</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="small_radial_best">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin id="2" name="radialRuin">
|
||||||
|
<share>0.05</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.6</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion">
|
|
||||||
<allowVehicleSwitch>false</allowVehicleSwitch>
|
|
||||||
</insertion>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="random_best">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.2</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radial_best">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="1" name="radialRuin">
|
|
||||||
<share>0.15</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.2</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="small_radial_best">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin id="2" name="radialRuin">
|
|
||||||
<share>0.05</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.6</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -18,53 +18,54 @@
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>20000</iterations>
|
|
||||||
|
<iterations>20000</iterations>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion">
|
||||||
|
<allowVehicleSwitch>true</allowVehicleSwitch>
|
||||||
|
</insertion>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="randomRR">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance">
|
||||||
|
<alpha>0.2</alpha>
|
||||||
|
<warmup>20</warmup>
|
||||||
|
</acceptor>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRR">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion">
|
|
||||||
<allowVehicleSwitch>true</allowVehicleSwitch>
|
|
||||||
</insertion>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="randomRR">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance">
|
|
||||||
<alpha>0.2</alpha>
|
|
||||||
<warmup>20</warmup>
|
|
||||||
</acceptor>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRR">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="schrimpfAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
|
|
@ -1,49 +1,50 @@
|
||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
|
|
||||||
<iterations>2000</iterations>
|
<iterations>2000</iterations>
|
||||||
|
|
||||||
<construction>
|
<construction>
|
||||||
<insertion name="bestInsertion">
|
<insertion name="bestInsertion">
|
||||||
|
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
|
|
||||||
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.5</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="greedyAcceptance"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<searchStrategy name="randomRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.5</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="greedyAcceptance"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,55 +1,56 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<algorithm xmlns="http://www.w3schools.com"
|
<algorithm xmlns="http://www.w3schools.com"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3schools.com algorithm_schema.xsd">
|
||||||
<iterations>2000</iterations>
|
|
||||||
<prematureBreak basedOn="variationCoefficient">
|
<iterations>2000</iterations>
|
||||||
<threshold>0.01</threshold>
|
<prematureBreak basedOn="variationCoefficient">
|
||||||
<iterations>50</iterations>
|
<threshold>0.01</threshold>
|
||||||
</prematureBreak>
|
<iterations>50</iterations>
|
||||||
|
</prematureBreak>
|
||||||
|
|
||||||
|
<construction>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</construction>
|
||||||
|
|
||||||
|
<strategy>
|
||||||
|
<memory>1</memory>
|
||||||
|
<searchStrategies>
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="randomRuin">
|
||||||
|
<share>0.3</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
|
<selector name="selectBest"/>
|
||||||
|
<acceptor name="acceptNewRemoveWorst"/>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module name="ruin_and_recreate">
|
||||||
|
<ruin name="radialRuin">
|
||||||
|
<share>0.15</share>
|
||||||
|
</ruin>
|
||||||
|
<insertion name="bestInsertion"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<probability>0.5</probability>
|
||||||
|
</searchStrategy>
|
||||||
|
|
||||||
|
|
||||||
|
</searchStrategies>
|
||||||
|
</strategy>
|
||||||
|
|
||||||
<construction>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</construction>
|
|
||||||
|
|
||||||
<strategy>
|
|
||||||
<memory>1</memory>
|
|
||||||
<searchStrategies>
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="randomRuin">
|
|
||||||
<share>0.3</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
|
||||||
<selector name="selectBest"/>
|
|
||||||
<acceptor name="acceptNewRemoveWorst"/>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module name="ruin_and_recreate">
|
|
||||||
<ruin name="radialRuin">
|
|
||||||
<share>0.15</share>
|
|
||||||
</ruin>
|
|
||||||
<insertion name="bestInsertion"/>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
</modules>
|
|
||||||
<probability>0.5</probability>
|
|
||||||
</searchStrategy>
|
|
||||||
|
|
||||||
|
|
||||||
</searchStrategies>
|
|
||||||
</strategy>
|
|
||||||
|
|
||||||
|
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,62 +1,62 @@
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<parent>
|
||||||
|
<groupId>jsprit</groupId>
|
||||||
|
<artifactId>jsprit</artifactId>
|
||||||
|
<version>1.6.2-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<artifactId>jsprit-examples</artifactId>
|
||||||
<parent>
|
|
||||||
<groupId>jsprit</groupId>
|
<build>
|
||||||
<artifactId>jsprit</artifactId>
|
<pluginManagement>
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
<plugins>
|
||||||
</parent>
|
<plugin>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
<artifactId>jsprit-examples</artifactId>
|
<version>1.0.0</version>
|
||||||
|
<configuration>
|
||||||
<build>
|
<lifecycleMappingMetadata>
|
||||||
<pluginManagement>
|
<pluginExecutions>
|
||||||
<plugins>
|
<pluginExecution>
|
||||||
<plugin>
|
<pluginExecutionFilter>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>1.0.0</version>
|
<versionRange>[1.0.0,)</versionRange>
|
||||||
<configuration>
|
<goals>
|
||||||
<lifecycleMappingMetadata>
|
<goal>enforce</goal>
|
||||||
<pluginExecutions>
|
</goals>
|
||||||
<pluginExecution>
|
</pluginExecutionFilter>
|
||||||
<pluginExecutionFilter>
|
<action>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<ignore/>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
</action>
|
||||||
<versionRange>[1.0.0,)</versionRange>
|
</pluginExecution>
|
||||||
<goals>
|
</pluginExecutions>
|
||||||
<goal>enforce</goal>
|
</lifecycleMappingMetadata>
|
||||||
</goals>
|
</configuration>
|
||||||
</pluginExecutionFilter>
|
</plugin>
|
||||||
<action>
|
</plugins>
|
||||||
<ignore />
|
</pluginManagement>
|
||||||
</action>
|
</build>
|
||||||
</pluginExecution>
|
|
||||||
</pluginExecutions>
|
<dependencies>
|
||||||
</lifecycleMappingMetadata>
|
<dependency>
|
||||||
</configuration>
|
<groupId>${project.groupId}</groupId>
|
||||||
</plugin>
|
<artifactId>jsprit-instances</artifactId>
|
||||||
</plugins>
|
<version>${project.version}</version>
|
||||||
</pluginManagement>
|
</dependency>
|
||||||
</build>
|
|
||||||
|
<dependency>
|
||||||
<dependencies>
|
<groupId>${project.groupId}</groupId>
|
||||||
<dependency>
|
<artifactId>jsprit-core</artifactId>
|
||||||
<groupId>${project.groupId}</groupId>
|
<version>${project.version}</version>
|
||||||
<artifactId>jsprit-instances</artifactId>
|
</dependency>
|
||||||
<version>${project.version}</version>
|
<dependency>
|
||||||
</dependency>
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>jsprit-analysis</artifactId>
|
||||||
<dependency>
|
<version>${project.version}</version>
|
||||||
<groupId>${project.groupId}</groupId>
|
</dependency>
|
||||||
<artifactId>jsprit-core</artifactId>
|
</dependencies>
|
||||||
<version>${project.version}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>${project.groupId}</groupId>
|
|
||||||
<artifactId>jsprit-analysis</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -1,54 +1,54 @@
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<parent>
|
||||||
|
<groupId>jsprit</groupId>
|
||||||
|
<artifactId>jsprit</artifactId>
|
||||||
|
<version>1.6.2-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<artifactId>jsprit-instances</artifactId>
|
||||||
<parent>
|
<name>jsprit-instances</name>
|
||||||
<groupId>jsprit</groupId>
|
|
||||||
<artifactId>jsprit</artifactId>
|
<packaging>jar</packaging>
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
|
||||||
</parent>
|
<build>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
<artifactId>jsprit-instances</artifactId>
|
<plugin>
|
||||||
<name>jsprit-instances</name>
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
<packaging>jar</packaging>
|
<version>1.0.0</version>
|
||||||
|
<configuration>
|
||||||
<build>
|
<lifecycleMappingMetadata>
|
||||||
<pluginManagement>
|
<pluginExecutions>
|
||||||
<plugins>
|
<pluginExecution>
|
||||||
<plugin>
|
<pluginExecutionFilter>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>1.0.0</version>
|
<versionRange>[1.0.0,)</versionRange>
|
||||||
<configuration>
|
<goals>
|
||||||
<lifecycleMappingMetadata>
|
<goal>enforce</goal>
|
||||||
<pluginExecutions>
|
</goals>
|
||||||
<pluginExecution>
|
</pluginExecutionFilter>
|
||||||
<pluginExecutionFilter>
|
<action>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<ignore/>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
</action>
|
||||||
<versionRange>[1.0.0,)</versionRange>
|
</pluginExecution>
|
||||||
<goals>
|
</pluginExecutions>
|
||||||
<goal>enforce</goal>
|
</lifecycleMappingMetadata>
|
||||||
</goals>
|
</configuration>
|
||||||
</pluginExecutionFilter>
|
</plugin>
|
||||||
<action>
|
</plugins>
|
||||||
<ignore />
|
</pluginManagement>
|
||||||
</action>
|
</build>
|
||||||
</pluginExecution>
|
|
||||||
</pluginExecutions>
|
<dependencies>
|
||||||
</lifecycleMappingMetadata>
|
<dependency>
|
||||||
</configuration>
|
<groupId>${project.groupId}</groupId>
|
||||||
</plugin>
|
<artifactId>jsprit-core</artifactId>
|
||||||
</plugins>
|
<version>${project.version}</version>
|
||||||
</pluginManagement>
|
</dependency>
|
||||||
</build>
|
</dependencies>
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>${project.groupId}</groupId>
|
|
||||||
<artifactId>jsprit-core</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
614
pom.xml
614
pom.xml
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
~ Copyright (C) 2014 Stefan Schroeder
|
~ Copyright (C) 2014 Stefan Schroeder
|
||||||
~
|
~
|
||||||
|
|
@ -16,320 +15,321 @@
|
||||||
~ License along with this library. If not, see <http://www.gnu.org/licenses />.
|
~ License along with this library. If not, see <http://www.gnu.org/licenses />.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<modelVersion>4.0.0</modelVersion>
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>jsprit</groupId>
|
|
||||||
<artifactId>jsprit</artifactId>
|
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
|
||||||
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
|
|
||||||
<name>jsprit</name>
|
|
||||||
<description>A toolkit to solve vehicle routing problems.</description>
|
|
||||||
<url>https://github.com/jsprit/jsprit</url>
|
|
||||||
<inceptionYear>2013</inceptionYear>
|
|
||||||
|
|
||||||
<licenses>
|
|
||||||
<license>
|
|
||||||
<name>GNU Lesser General Public Licence, version 3.0</name>
|
|
||||||
<url>http://opensource.org/licenses/LGPL-3.0</url>
|
|
||||||
</license>
|
|
||||||
</licenses>
|
|
||||||
|
|
||||||
<developers>
|
|
||||||
<developer>
|
|
||||||
<name>Stefan Schroeder</name>
|
|
||||||
<email>stefan.schroeder@jspr.it</email>
|
|
||||||
</developer>
|
|
||||||
</developers>
|
|
||||||
|
|
||||||
<prerequisites>
|
|
||||||
<maven>3.0.4</maven>
|
|
||||||
</prerequisites>
|
|
||||||
|
|
||||||
<scm>
|
|
||||||
<connection>scm:git:git@github.com:jsprit/jsprit.git</connection>
|
|
||||||
<developerConnection>scm:git:https://github.com/jsprit/jsprit.git</developerConnection>
|
|
||||||
<url>http://github.com/jsprit/jsprit/tree/master</url>
|
|
||||||
<tag>HEAD</tag>
|
|
||||||
</scm>
|
|
||||||
|
|
||||||
<issueManagement>
|
|
||||||
<system>github</system>
|
|
||||||
<url>https://github.com/jsprit/jsprit/issues</url>
|
|
||||||
</issueManagement>
|
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<snapshotRepository>
|
|
||||||
<id>jsprit-snapshots</id>
|
|
||||||
<url>https://github.com/jsprit/mvn-rep/raw/master/snapshots</url>
|
|
||||||
</snapshotRepository>
|
|
||||||
|
|
||||||
<repository>
|
|
||||||
<id>jsprit-releases</id>
|
|
||||||
<url>https://github.com/jsprit/mvn-rep/raw/master/releases</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
|
|
||||||
<modules>
|
<groupId>jsprit</groupId>
|
||||||
<module>jsprit-core</module>
|
<artifactId>jsprit</artifactId>
|
||||||
<module>jsprit-analysis</module>
|
<version>1.6.2-SNAPSHOT</version>
|
||||||
<module>jsprit-examples</module>
|
|
||||||
<module>jsprit-instances</module>
|
|
||||||
</modules>
|
|
||||||
|
|
||||||
<properties>
|
|
||||||
<jdkVersion>1.6</jdkVersion>
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
||||||
<junit.version>4.10</junit.version>
|
|
||||||
<mockito.version>1.9.5</mockito.version>
|
|
||||||
<logger.version>2.0</logger.version>
|
|
||||||
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
|
|
||||||
|
|
||||||
</properties>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<build>
|
<name>jsprit</name>
|
||||||
<sourceDirectory>src/main/java</sourceDirectory>
|
<description>A toolkit to solve vehicle routing problems.</description>
|
||||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
<url>https://github.com/jsprit/jsprit</url>
|
||||||
<directory>target</directory>
|
<inceptionYear>2013</inceptionYear>
|
||||||
<outputDirectory>target/classes</outputDirectory>
|
|
||||||
<testOutputDirectory>target/test-classes</testOutputDirectory>
|
<licenses>
|
||||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
<license>
|
||||||
<resources>
|
<name>GNU Lesser General Public Licence, version 3.0</name>
|
||||||
<resource>
|
<url>http://opensource.org/licenses/LGPL-3.0</url>
|
||||||
<directory>src/main/resources</directory>
|
</license>
|
||||||
</resource>
|
</licenses>
|
||||||
</resources>
|
|
||||||
<testResources>
|
<developers>
|
||||||
<testResource>
|
<developer>
|
||||||
<directory>src/test/resources</directory>
|
<name>Stefan Schroeder</name>
|
||||||
</testResource>
|
<email>stefan.schroeder@jspr.it</email>
|
||||||
</testResources>
|
</developer>
|
||||||
|
</developers>
|
||||||
<pluginManagement>
|
|
||||||
<plugins>
|
<prerequisites>
|
||||||
<plugin>
|
<maven>3.0.4</maven>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
</prerequisites>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
|
||||||
<version>1.0.0</version>
|
<scm>
|
||||||
<configuration>
|
<connection>scm:git:git@github.com:jsprit/jsprit.git</connection>
|
||||||
<lifecycleMappingMetadata>
|
<developerConnection>scm:git:https://github.com/jsprit/jsprit.git</developerConnection>
|
||||||
<pluginExecutions>
|
<url>http://github.com/jsprit/jsprit/tree/master</url>
|
||||||
<pluginExecution>
|
<tag>HEAD</tag>
|
||||||
<pluginExecutionFilter>
|
</scm>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<issueManagement>
|
||||||
<versionRange>[1.0.0,)</versionRange>
|
<system>github</system>
|
||||||
<goals>
|
<url>https://github.com/jsprit/jsprit/issues</url>
|
||||||
<goal>enforce</goal>
|
</issueManagement>
|
||||||
</goals>
|
|
||||||
</pluginExecutionFilter>
|
<distributionManagement>
|
||||||
<action>
|
<snapshotRepository>
|
||||||
<ignore />
|
<id>jsprit-snapshots</id>
|
||||||
</action>
|
<url>https://github.com/jsprit/mvn-rep/raw/master/snapshots</url>
|
||||||
</pluginExecution>
|
</snapshotRepository>
|
||||||
</pluginExecutions>
|
|
||||||
</lifecycleMappingMetadata>
|
<repository>
|
||||||
</configuration>
|
<id>jsprit-releases</id>
|
||||||
</plugin>
|
<url>https://github.com/jsprit/mvn-rep/raw/master/releases</url>
|
||||||
</plugins>
|
</repository>
|
||||||
</pluginManagement>
|
</distributionManagement>
|
||||||
<plugins>
|
|
||||||
<!-- <plugin> -->
|
<modules>
|
||||||
<!-- <groupId>org.eclipse.m2e</groupId> -->
|
<module>jsprit-core</module>
|
||||||
<!-- <artifactId>lifecycle-mapping</artifactId> -->
|
<module>jsprit-analysis</module>
|
||||||
<!-- <version>1.0.0</version> -->
|
<module>jsprit-examples</module>
|
||||||
<!-- <configuration> -->
|
<module>jsprit-instances</module>
|
||||||
<!-- <lifecycleMappingMetadata> -->
|
</modules>
|
||||||
<!-- <pluginExecutions> -->
|
|
||||||
<!-- <pluginExecution> -->
|
<properties>
|
||||||
<!-- <pluginExecutionFilter> -->
|
<jdkVersion>1.6</jdkVersion>
|
||||||
<!-- <groupId>org.apache.maven.plugins</groupId> -->
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<!-- <artifactId>maven-enforcer-plugin</artifactId> -->
|
<junit.version>4.10</junit.version>
|
||||||
<!-- <versionRange>[1.0.0,)</versionRange> -->
|
<mockito.version>1.9.5</mockito.version>
|
||||||
<!-- <goals> -->
|
<logger.version>2.0</logger.version>
|
||||||
<!-- <goal>enforce</goal> -->
|
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
|
||||||
<!-- </goals> -->
|
|
||||||
<!-- </pluginExecutionFilter> -->
|
</properties>
|
||||||
<!-- <action> -->
|
|
||||||
<!-- <ignore /> -->
|
<build>
|
||||||
<!-- </action> -->
|
<sourceDirectory>src/main/java</sourceDirectory>
|
||||||
<!-- </pluginExecution> -->
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||||
<!-- </pluginExecutions> -->
|
<directory>target</directory>
|
||||||
<!-- </lifecycleMappingMetadata> -->
|
<outputDirectory>target/classes</outputDirectory>
|
||||||
<!-- </configuration> -->
|
<testOutputDirectory>target/test-classes</testOutputDirectory>
|
||||||
<!-- </plugin> -->
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
<plugin>
|
<resources>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<resource>
|
||||||
<version>1.1.1</version>
|
<directory>src/main/resources</directory>
|
||||||
<executions>
|
</resource>
|
||||||
<execution>
|
</resources>
|
||||||
<id>enforce-versions</id>
|
<testResources>
|
||||||
<phase>initialize</phase>
|
<testResource>
|
||||||
<goals>
|
<directory>src/test/resources</directory>
|
||||||
<goal>enforce</goal>
|
</testResource>
|
||||||
</goals>
|
</testResources>
|
||||||
<configuration>
|
|
||||||
<fail>true</fail>
|
<pluginManagement>
|
||||||
<rules>
|
<plugins>
|
||||||
<requireMavenVersion>
|
<plugin>
|
||||||
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
<configuration>
|
||||||
|
<lifecycleMappingMetadata>
|
||||||
|
<pluginExecutions>
|
||||||
|
<pluginExecution>
|
||||||
|
<pluginExecutionFilter>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<versionRange>[1.0.0,)</versionRange>
|
||||||
|
<goals>
|
||||||
|
<goal>enforce</goal>
|
||||||
|
</goals>
|
||||||
|
</pluginExecutionFilter>
|
||||||
|
<action>
|
||||||
|
<ignore/>
|
||||||
|
</action>
|
||||||
|
</pluginExecution>
|
||||||
|
</pluginExecutions>
|
||||||
|
</lifecycleMappingMetadata>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<!-- <plugin> -->
|
||||||
|
<!-- <groupId>org.eclipse.m2e</groupId> -->
|
||||||
|
<!-- <artifactId>lifecycle-mapping</artifactId> -->
|
||||||
|
<!-- <version>1.0.0</version> -->
|
||||||
|
<!-- <configuration> -->
|
||||||
|
<!-- <lifecycleMappingMetadata> -->
|
||||||
|
<!-- <pluginExecutions> -->
|
||||||
|
<!-- <pluginExecution> -->
|
||||||
|
<!-- <pluginExecutionFilter> -->
|
||||||
|
<!-- <groupId>org.apache.maven.plugins</groupId> -->
|
||||||
|
<!-- <artifactId>maven-enforcer-plugin</artifactId> -->
|
||||||
|
<!-- <versionRange>[1.0.0,)</versionRange> -->
|
||||||
|
<!-- <goals> -->
|
||||||
|
<!-- <goal>enforce</goal> -->
|
||||||
|
<!-- </goals> -->
|
||||||
|
<!-- </pluginExecutionFilter> -->
|
||||||
|
<!-- <action> -->
|
||||||
|
<!-- <ignore /> -->
|
||||||
|
<!-- </action> -->
|
||||||
|
<!-- </pluginExecution> -->
|
||||||
|
<!-- </pluginExecutions> -->
|
||||||
|
<!-- </lifecycleMappingMetadata> -->
|
||||||
|
<!-- </configuration> -->
|
||||||
|
<!-- </plugin> -->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>1.1.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>enforce-versions</id>
|
||||||
|
<phase>initialize</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>enforce</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<fail>true</fail>
|
||||||
|
<rules>
|
||||||
|
<requireMavenVersion>
|
||||||
Some plugin features require a recent Maven runtime to work properly
|
Some plugin features require a recent Maven runtime to work properly
|
||||||
<message>Current version of Maven ${maven.version} required to build the project should be ${project.prerequisites.maven}, or higher!</message>
|
<message>Current version of Maven ${maven.version} required to build the project
|
||||||
<version>[${project.prerequisites.maven},)</version>
|
should be ${project.prerequisites.maven}, or higher!
|
||||||
</requireMavenVersion>
|
</message>
|
||||||
<requireJavaVersion>
|
<version>[${project.prerequisites.maven},)</version>
|
||||||
<message>Current JDK version ${java.version} should be ${jdkVersion}, or higher!</message>
|
</requireMavenVersion>
|
||||||
<version>${jdkVersion}</version>
|
<requireJavaVersion>
|
||||||
</requireJavaVersion>
|
<message>Current JDK version ${java.version} should be ${jdkVersion}, or higher!
|
||||||
</rules>
|
</message>
|
||||||
</configuration>
|
<version>${jdkVersion}</version>
|
||||||
</execution>
|
</requireJavaVersion>
|
||||||
</executions>
|
</rules>
|
||||||
</plugin>
|
</configuration>
|
||||||
<plugin>
|
</execution>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</executions>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
</plugin>
|
||||||
<version>3.1</version>
|
<plugin>
|
||||||
<configuration>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<source>${jdkVersion}</source>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<target>${jdkVersion}</target>
|
<version>3.1</version>
|
||||||
<showWarnings>true</showWarnings>
|
<configuration>
|
||||||
<showDeprecation>true</showDeprecation>
|
<source>${jdkVersion}</source>
|
||||||
<encoding>${project.build.sourceEncoding}</encoding>
|
<target>${jdkVersion}</target>
|
||||||
<!-- configure initial and maximal memory for compiling -->
|
<showWarnings>true</showWarnings>
|
||||||
<fork>true</fork>
|
<showDeprecation>true</showDeprecation>
|
||||||
<meminitial>128m</meminitial>
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||||||
<maxmem>512m</maxmem>
|
<!-- configure initial and maximal memory for compiling -->
|
||||||
<compilerArguments>
|
<fork>true</fork>
|
||||||
<Xmaxwarns>4000</Xmaxwarns>
|
<meminitial>128m</meminitial>
|
||||||
<Xmaxerrs>100</Xmaxerrs>
|
<maxmem>512m</maxmem>
|
||||||
</compilerArguments>
|
<compilerArguments>
|
||||||
</configuration>
|
<Xmaxwarns>4000</Xmaxwarns>
|
||||||
</plugin>
|
<Xmaxerrs>100</Xmaxerrs>
|
||||||
|
</compilerArguments>
|
||||||
<plugin>
|
</configuration>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</plugin>
|
||||||
<artifactId>maven-eclipse-plugin</artifactId>
|
|
||||||
<version>2.8</version>
|
<plugin>
|
||||||
<configuration>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<classpathContainers>
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||||||
<classpathContainer>
|
<version>2.8</version>
|
||||||
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6
|
<configuration>
|
||||||
</classpathContainer>
|
<classpathContainers>
|
||||||
</classpathContainers>
|
<classpathContainer>
|
||||||
</configuration>
|
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6
|
||||||
</plugin>
|
</classpathContainer>
|
||||||
|
</classpathContainers>
|
||||||
<plugin>
|
</configuration>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</plugin>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
|
||||||
<version>2.2.1</version>
|
<plugin>
|
||||||
<executions>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<execution>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<id>attach-sources</id>
|
<version>2.2.1</version>
|
||||||
<goals>
|
<executions>
|
||||||
<goal>jar</goal>
|
<execution>
|
||||||
</goals>
|
<id>attach-sources</id>
|
||||||
</execution>
|
<goals>
|
||||||
</executions>
|
<goal>jar</goal>
|
||||||
</plugin>
|
</goals>
|
||||||
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</plugin>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<version>2.9.1</version>
|
<plugin>
|
||||||
<executions>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<execution>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<id>attach-javadocs</id>
|
<version>2.9.1</version>
|
||||||
<goals>
|
<executions>
|
||||||
<goal>jar</goal>
|
<execution>
|
||||||
</goals>
|
<id>attach-javadocs</id>
|
||||||
</execution>
|
<goals>
|
||||||
</executions>
|
<goal>jar</goal>
|
||||||
</plugin>
|
</goals>
|
||||||
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</plugin>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
|
||||||
<version>2.5</version>
|
<plugin>
|
||||||
<configuration>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<tagNameFormat>v@{project.version}</tagNameFormat>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
</configuration>
|
<version>2.5</version>
|
||||||
</plugin>
|
<configuration>
|
||||||
|
<tagNameFormat>v@{project.version}</tagNameFormat>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
||||||
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<reporting>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<version>2.9.1</version>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<version>${junit.version}</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.mockito</groupId>
|
|
||||||
<artifactId>mockito-all</artifactId>
|
|
||||||
<version>${mockito.version}</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
|
||||||
<artifactId>log4j-api</artifactId>
|
|
||||||
<version>${logger.version}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
|
||||||
<artifactId>log4j-core</artifactId>
|
|
||||||
<version>${logger.version}</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
|
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<reporting>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>2.9.1</version>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
</plugins>
|
||||||
|
</reporting>
|
||||||
|
|
||||||
|
|
||||||
<!--<dependency>-->
|
<dependencies>
|
||||||
<!--<groupId>log4j</groupId>-->
|
<dependency>
|
||||||
<!--<artifactId>log4j</artifactId>-->
|
<groupId>junit</groupId>
|
||||||
<!--<version>${logger.version}</version>-->
|
<artifactId>junit</artifactId>
|
||||||
<!--<exclusions>-->
|
<version>${junit.version}</version>
|
||||||
<!--<exclusion>-->
|
<scope>test</scope>
|
||||||
<!--<groupId>javax.mail</groupId>-->
|
</dependency>
|
||||||
<!--<artifactId>mail</artifactId>-->
|
|
||||||
<!--</exclusion>-->
|
<dependency>
|
||||||
<!--<exclusion>-->
|
<groupId>org.mockito</groupId>
|
||||||
<!--<groupId>javax.jms</groupId>-->
|
<artifactId>mockito-all</artifactId>
|
||||||
<!--<artifactId>jms</artifactId>-->
|
<version>${mockito.version}</version>
|
||||||
<!--</exclusion>-->
|
<scope>test</scope>
|
||||||
<!--<exclusion>-->
|
</dependency>
|
||||||
<!--<groupId>com.sun.jdmk</groupId>-->
|
|
||||||
<!--<artifactId>jmxtools</artifactId>-->
|
<dependency>
|
||||||
<!--</exclusion>-->
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<!--<exclusion>-->
|
<artifactId>log4j-api</artifactId>
|
||||||
<!--<groupId>com.sun.jmx</groupId>-->
|
<version>${logger.version}</version>
|
||||||
<!--<artifactId>jmxri</artifactId>-->
|
</dependency>
|
||||||
<!--</exclusion>-->
|
<dependency>
|
||||||
<!--</exclusions>-->
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<!--</dependency> -->
|
<artifactId>log4j-core</artifactId>
|
||||||
</dependencies>
|
<version>${logger.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
<!--<dependency>-->
|
||||||
|
<!--<groupId>log4j</groupId>-->
|
||||||
|
<!--<artifactId>log4j</artifactId>-->
|
||||||
|
<!--<version>${logger.version}</version>-->
|
||||||
|
<!--<exclusions>-->
|
||||||
|
<!--<exclusion>-->
|
||||||
|
<!--<groupId>javax.mail</groupId>-->
|
||||||
|
<!--<artifactId>mail</artifactId>-->
|
||||||
|
<!--</exclusion>-->
|
||||||
|
<!--<exclusion>-->
|
||||||
|
<!--<groupId>javax.jms</groupId>-->
|
||||||
|
<!--<artifactId>jms</artifactId>-->
|
||||||
|
<!--</exclusion>-->
|
||||||
|
<!--<exclusion>-->
|
||||||
|
<!--<groupId>com.sun.jdmk</groupId>-->
|
||||||
|
<!--<artifactId>jmxtools</artifactId>-->
|
||||||
|
<!--</exclusion>-->
|
||||||
|
<!--<exclusion>-->
|
||||||
|
<!--<groupId>com.sun.jmx</groupId>-->
|
||||||
|
<!--<artifactId>jmxri</artifactId>-->
|
||||||
|
<!--</exclusion>-->
|
||||||
|
<!--</exclusions>-->
|
||||||
|
<!--</dependency> -->
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue