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>
|
<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>
|
<dependency>
|
||||||
<groupId>org.jfree</groupId>
|
<groupId>org.jfree</groupId>
|
||||||
<artifactId>jfreechart</artifactId>
|
<artifactId>jfreechart</artifactId>
|
||||||
<version>1.0.19</version>
|
<version>1.0.19</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>jsprit-core</artifactId>
|
<artifactId>jsprit-core</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<artifactId>gs-core</artifactId>
|
<artifactId>gs-core</artifactId>
|
||||||
<groupId>org.graphstream</groupId>
|
<groupId>org.graphstream</groupId>
|
||||||
<version>1.3</version>
|
<version>1.3</version>
|
||||||
<optional>false</optional>
|
<optional>false</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<artifactId>gs-ui</artifactId>
|
<artifactId>gs-ui</artifactId>
|
||||||
<groupId>org.graphstream</groupId>
|
<groupId>org.graphstream</groupId>
|
||||||
<version>1.3</version>
|
<version>1.3</version>
|
||||||
<optional>false</optional>
|
<optional>false</optional>
|
||||||
</dependency>
|
</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>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-math</artifactId>
|
<artifactId>commons-math</artifactId>
|
||||||
<version>2.2</version>
|
<version>2.2</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-configuration</groupId>
|
<groupId>commons-configuration</groupId>
|
||||||
<artifactId>commons-configuration</artifactId>
|
<artifactId>commons-configuration</artifactId>
|
||||||
<version>1.9</version>
|
<version>1.9</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>xerces</groupId>
|
<groupId>xerces</groupId>
|
||||||
<artifactId>xercesImpl</artifactId>
|
<artifactId>xercesImpl</artifactId>
|
||||||
<version>2.11.0</version>
|
<version>2.11.0</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-math3</artifactId>
|
<artifactId>commons-math3</artifactId>
|
||||||
<version>3.4</version>
|
<version>3.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</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: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:element name="strategy">
|
</xs:complexType>
|
||||||
<xs:complexType>
|
</xs:element>
|
||||||
<xs:sequence>
|
<xs:element name="allowVehicleSwitch" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="memory" type="xs:integer" minOccurs="0" maxOccurs="1" default="1"/>
|
<xs:element name="experimental" minOccurs="0" maxOccurs="1">
|
||||||
<xs:element name="searchStrategies" minOccurs="1" maxOccurs="1">
|
<xs:complexType>
|
||||||
<xs:complexType>
|
<xs:sequence>
|
||||||
<xs:sequence>
|
<xs:any minOccurs="0"/>
|
||||||
<xs:element name="searchStrategy" type="searchStrategyType" minOccurs="1" maxOccurs="unbounded"/>
|
</xs:sequence>
|
||||||
</xs:sequence>
|
<xs:attribute name="timeSlice" type="xs:string"/>
|
||||||
</xs:complexType>
|
<xs:attribute name="neighboringSlices" type="xs:string"/>
|
||||||
</xs:element>
|
</xs:complexType>
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
</xs:sequence>
|
</xs:element>
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:complexType name="searchStrategyType">
|
</xs:all>
|
||||||
<xs:sequence>
|
<xs:attribute name="name" use="required">
|
||||||
<xs:element name="selector" type="selectorType"/>
|
<xs:simpleType>
|
||||||
<xs:element name="acceptor" type="acceptorType"/>
|
<xs:restriction base="xs:string">
|
||||||
<xs:element name="modules" minOccurs="1" maxOccurs="1">
|
<xs:enumeration value="bestInsertion"/>
|
||||||
<xs:complexType>
|
<xs:enumeration value="regretInsertion"/>
|
||||||
<xs:sequence>
|
</xs:restriction>
|
||||||
<xs:element name="module" type="moduleType" minOccurs="1" maxOccurs="unbounded"/>
|
</xs:simpleType>
|
||||||
</xs:sequence>
|
</xs:attribute>
|
||||||
</xs:complexType>
|
<xs:attribute name="id" type="xs:string"/>
|
||||||
</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:complexType>
|
||||||
<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: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>
|
<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,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>
|
<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="acceptNewRemoveFirst"/>
|
<acceptor name="acceptNewRemoveFirst"/>
|
||||||
<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="acceptNewRemoveFirst"/>
|
<acceptor name="acceptNewRemoveFirst"/>
|
||||||
<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,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>
|
<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="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.4</alpha>
|
<alpha>0.4</alpha>
|
||||||
<warmup>100</warmup>
|
<warmup>100</warmup>
|
||||||
</acceptor>
|
</acceptor>
|
||||||
<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="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>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
<xs:element name="vehicles" minOccurs="0" maxOccurs="1">
|
<xs:element name="vehicles" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="vehicle" minOccurs="1" maxOccurs="unbounded">
|
<xs:element name="vehicle" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:all>
|
<xs:all>
|
||||||
<xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
<xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" 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="startLocation" type="locationType" minOccurs="0"
|
||||||
<xs:element name="endLocation" type="locationType" minOccurs="0" maxOccurs="1"/>
|
maxOccurs="1"/>
|
||||||
<xs:element name="typeId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
<xs:element name="endLocation" type="locationType" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="timeSchedule" type="timeWindowType"/>
|
<xs:element name="typeId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
<xs:element name="returnToDepot" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="timeSchedule" type="timeWindowType"/>
|
||||||
<xs:element name="skills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="returnToDepot" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
|
||||||
</xs:all>
|
<xs:element name="skills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:attribute name="type" type="xs:string" use="optional" />
|
</xs:all>
|
||||||
</xs:complexType>
|
<xs:attribute name="type" type="xs:string" use="optional"/>
|
||||||
</xs:element>
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
<xs:element name="vehicleTypes" minOccurs="0" maxOccurs="1">
|
<xs:element name="vehicleTypes" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="type" minOccurs="1" maxOccurs="unbounded">
|
<xs:element name="type" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:all>
|
<xs:all>
|
||||||
<xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
<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" type="xs:integer" minOccurs="0" maxOccurs="1"
|
||||||
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
default="0"/>
|
||||||
<xs:complexType>
|
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
||||||
<xs:sequence>
|
<xs:complexType>
|
||||||
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
<xs:sequence>
|
||||||
<xs:complexType>
|
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:simpleContent>
|
<xs:complexType>
|
||||||
<xs:extension base="xs:integer">
|
<xs:simpleContent>
|
||||||
<xs:attribute name="index" type="xs:integer" use="required"/>
|
<xs:extension base="xs:integer">
|
||||||
</xs:extension>
|
<xs:attribute name="index" type="xs:integer"
|
||||||
</xs:simpleContent>
|
use="required"/>
|
||||||
</xs:complexType>
|
</xs:extension>
|
||||||
</xs:element>
|
</xs:simpleContent>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
</xs:element>
|
||||||
</xs:element>
|
</xs:sequence>
|
||||||
<xs:element name="costs">
|
</xs:complexType>
|
||||||
<xs:complexType>
|
</xs:element>
|
||||||
<xs:all>
|
<xs:element name="costs">
|
||||||
<xs:element name="fixed" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
<xs:complexType>
|
||||||
<xs:element name="distance" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
<xs:all>
|
||||||
<xs:element name="time" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
<xs:element name="fixed" type="xs:decimal" minOccurs="0"
|
||||||
</xs:all>
|
maxOccurs="1" default="0.0"/>
|
||||||
</xs:complexType>
|
<xs:element name="distance" type="xs:decimal" minOccurs="0"
|
||||||
</xs:element>
|
maxOccurs="1" default="0.0"/>
|
||||||
</xs:all>
|
<xs:element name="time" type="xs:decimal" minOccurs="0"
|
||||||
<xs:attribute name="type" type="xs:string" use="optional" />
|
maxOccurs="1" default="0.0"/>
|
||||||
<xs:attribute name="penaltyFactor" type="xs:string" use="optional" />
|
</xs:all>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:all>
|
||||||
</xs:complexType>
|
<xs:attribute name="type" type="xs:string" use="optional"/>
|
||||||
</xs:element>
|
<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:element name="services" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="service" minOccurs="0" maxOccurs="unbounded">
|
<xs:element name="service" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:all>
|
<xs:all>
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="locationId" type="xs:string" 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="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="name" type="xs:string" 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-demand" type="xs:integer" minOccurs="0" maxOccurs="1"
|
||||||
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
default="0"/>
|
||||||
<xs:complexType>
|
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
||||||
<xs:sequence>
|
<xs:complexType>
|
||||||
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
<xs:sequence>
|
||||||
<xs:complexType>
|
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:simpleContent>
|
<xs:complexType>
|
||||||
<xs:extension base="xs:integer">
|
<xs:simpleContent>
|
||||||
<xs:attribute name="index" type="xs:integer" use="required"/>
|
<xs:extension base="xs:integer">
|
||||||
</xs:extension>
|
<xs:attribute name="index" type="xs:integer"
|
||||||
</xs:simpleContent>
|
use="required"/>
|
||||||
</xs:complexType>
|
</xs:extension>
|
||||||
</xs:element>
|
</xs:simpleContent>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
</xs:element>
|
||||||
</xs:element>
|
</xs:sequence>
|
||||||
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
</xs:complexType>
|
||||||
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
</xs:element>
|
||||||
<xs:complexType>
|
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1"
|
||||||
<xs:sequence>
|
default="0.0"/>
|
||||||
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1" maxOccurs="unbounded"/>
|
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
||||||
</xs:sequence>
|
<xs:complexType>
|
||||||
</xs:complexType>
|
<xs:sequence>
|
||||||
</xs:element>
|
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1"
|
||||||
<xs:element name="requiredSkills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
maxOccurs="unbounded"/>
|
||||||
</xs:all>
|
</xs:sequence>
|
||||||
<xs:attribute name="id" type="xs:string" use="required" />
|
</xs:complexType>
|
||||||
<xs:attribute name="type" type="xs:string"/>
|
</xs:element>
|
||||||
</xs:complexType>
|
<xs:element name="requiredSkills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
</xs:element>
|
</xs:all>
|
||||||
</xs:sequence>
|
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||||
</xs:complexType>
|
<xs:attribute name="type" type="xs:string"/>
|
||||||
</xs:element>
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
<xs:element name="shipments" minOccurs="0" maxOccurs="1">
|
<xs:element name="shipments" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="shipment" minOccurs="0" maxOccurs="unbounded">
|
<xs:element name="shipment" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:all>
|
<xs:all>
|
||||||
<xs:element name="pickup" minOccurs="1" maxOccurs="1">
|
<xs:element name="pickup" minOccurs="1" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:all>
|
<xs:all>
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="location" type="locationType" minOccurs="0"
|
||||||
<xs:element name="locationId" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
maxOccurs="1"/>
|
||||||
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="locationId" type="xs:string" minOccurs="0"
|
||||||
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
maxOccurs="1"/>
|
||||||
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
<xs:element name="coord" type="coordType" minOccurs="0"
|
||||||
<xs:complexType>
|
maxOccurs="1"/>
|
||||||
<xs:sequence>
|
<xs:element name="duration" type="xs:decimal" minOccurs="0"
|
||||||
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1" maxOccurs="unbounded"/>
|
maxOccurs="1" default="0.0"/>
|
||||||
</xs:sequence>
|
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
||||||
</xs:complexType>
|
<xs:complexType>
|
||||||
</xs:element>
|
<xs:sequence>
|
||||||
</xs:all>
|
<xs:element name="timeWindow" type="timeWindowType"
|
||||||
</xs:complexType>
|
minOccurs="1" maxOccurs="unbounded"/>
|
||||||
</xs:element>
|
</xs:sequence>
|
||||||
<xs:element name="delivery" minOccurs="1" maxOccurs="1">
|
</xs:complexType>
|
||||||
<xs:complexType>
|
</xs:element>
|
||||||
<xs:all>
|
</xs:all>
|
||||||
<xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"/>
|
</xs:complexType>
|
||||||
<xs:element name="locationId" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
</xs:element>
|
||||||
<xs:element name="coord" type="coordType" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="delivery" minOccurs="1" maxOccurs="1">
|
||||||
<xs:element name="duration" type="xs:decimal" minOccurs="0" maxOccurs="1" default="0.0"/>
|
<xs:complexType>
|
||||||
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
<xs:all>
|
||||||
<xs:complexType>
|
<xs:element name="location" type="locationType" minOccurs="0"
|
||||||
<xs:sequence>
|
maxOccurs="1"/>
|
||||||
<xs:element name="timeWindow" type="timeWindowType" minOccurs="1" maxOccurs="unbounded"/>
|
<xs:element name="locationId" type="xs:string" minOccurs="0"
|
||||||
</xs:sequence>
|
maxOccurs="1"/>
|
||||||
</xs:complexType>
|
<xs:element name="coord" type="coordType" minOccurs="0"
|
||||||
</xs:element>
|
maxOccurs="1"/>
|
||||||
</xs:all>
|
<xs:element name="duration" type="xs:decimal" minOccurs="0"
|
||||||
</xs:complexType>
|
maxOccurs="1" default="0.0"/>
|
||||||
</xs:element>
|
<xs:element name="timeWindows" minOccurs="0" maxOccurs="1">
|
||||||
<xs:element name="capacity-demand" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
<xs:complexType>
|
||||||
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
<xs:sequence>
|
||||||
<xs:complexType>
|
<xs:element name="timeWindow" type="timeWindowType"
|
||||||
<xs:sequence>
|
minOccurs="1" maxOccurs="unbounded"/>
|
||||||
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
</xs:sequence>
|
||||||
<xs:complexType>
|
</xs:complexType>
|
||||||
<xs:simpleContent>
|
</xs:element>
|
||||||
<xs:extension base="xs:integer">
|
</xs:all>
|
||||||
<xs:attribute name="index" type="xs:integer" use="required"/>
|
</xs:complexType>
|
||||||
</xs:extension>
|
</xs:element>
|
||||||
</xs:simpleContent>
|
<xs:element name="capacity-demand" type="xs:integer" minOccurs="0"
|
||||||
</xs:complexType>
|
maxOccurs="1"/>
|
||||||
</xs:element>
|
<xs:element name="capacity-dimensions" minOccurs="0" maxOccurs="1">
|
||||||
</xs:sequence>
|
<xs:complexType>
|
||||||
</xs:complexType>
|
<xs:sequence>
|
||||||
</xs:element>
|
<xs:element name="dimension" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:element name="requiredSkills" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
<xs:complexType>
|
||||||
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
<xs:simpleContent>
|
||||||
</xs:all>
|
<xs:extension base="xs:integer">
|
||||||
<xs:attribute name="id" type="xs:string" use="required" />
|
<xs:attribute name="index" type="xs:integer"
|
||||||
</xs:complexType>
|
use="required"/>
|
||||||
</xs:element>
|
</xs:extension>
|
||||||
</xs:sequence>
|
</xs:simpleContent>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</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:element name="initialRoutes" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="driverId" type="xs:string" minOccurs="1" 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="vehicleId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
<xs:element name="start" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
<xs:element name="start" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
||||||
<xs:element name="act" minOccurs="0" maxOccurs="unbounded">
|
<xs:element name="act" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:choice>
|
<xs:choice>
|
||||||
<xs:group ref="serviceActGroup"/>
|
<xs:group ref="serviceActGroup"/>
|
||||||
<xs:group ref="shipmentActGroup"/>
|
<xs:group ref="shipmentActGroup"/>
|
||||||
</xs:choice>
|
</xs:choice>
|
||||||
<xs:attribute name="type" type="xs:string" use="required"/>
|
<xs:attribute name="type" type="xs:string" use="required"/>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="end" type="xs:anySimpleType" minOccurs="1" maxOccurs="1"/>
|
<xs:element name="end" type="xs:anySimpleType" minOccurs="1" maxOccurs="1"/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
<xs:element name="solutions" minOccurs="0" maxOccurs="1">
|
<xs:element name="solutions" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="solution" minOccurs="0" maxOccurs="unbounded">
|
<xs:element name="solution" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="cost" type="xs:decimal"/>
|
<xs:element name="cost" type="xs:decimal"/>
|
||||||
<xs:element name="routes" minOccurs="0" maxOccurs="1">
|
<xs:element name="routes" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="cost" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="cost" type="xs:double" minOccurs="0"
|
||||||
<xs:element name="driverId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
maxOccurs="1"/>
|
||||||
<xs:element name="vehicleId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
<xs:element name="driverId" type="xs:string"
|
||||||
<xs:element name="start" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
minOccurs="1" maxOccurs="1"/>
|
||||||
<xs:element name="act" minOccurs="0" maxOccurs="unbounded">
|
<xs:element name="vehicleId" type="xs:string"
|
||||||
<xs:complexType>
|
minOccurs="1" maxOccurs="1"/>
|
||||||
<xs:choice>
|
<xs:element name="start" type="xs:double" minOccurs="1"
|
||||||
<xs:group ref="serviceActGroup"/>
|
maxOccurs="1"/>
|
||||||
<xs:group ref="shipmentActGroup"/>
|
<xs:element name="act" minOccurs="0"
|
||||||
|
maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:choice>
|
||||||
|
<xs:group ref="serviceActGroup"/>
|
||||||
|
<xs:group ref="shipmentActGroup"/>
|
||||||
|
|
||||||
</xs:choice>
|
</xs:choice>
|
||||||
<xs:attribute name="type" type="xs:string" use="required"/>
|
<xs:attribute name="type" type="xs:string"
|
||||||
</xs:complexType>
|
use="required"/>
|
||||||
</xs:element>
|
</xs:complexType>
|
||||||
<xs:element name="end" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
</xs:element>
|
||||||
</xs:sequence>
|
<xs:element name="end" type="xs:double" minOccurs="1"
|
||||||
</xs:complexType>
|
maxOccurs="1"/>
|
||||||
</xs:element>
|
</xs:sequence>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
</xs:element>
|
||||||
</xs:element>
|
</xs:sequence>
|
||||||
<xs:element name="unassignedJobs" minOccurs="0" maxOccurs="1">
|
</xs:complexType>
|
||||||
<xs:complexType>
|
</xs:element>
|
||||||
<xs:sequence>
|
<xs:element name="unassignedJobs" minOccurs="0" maxOccurs="1">
|
||||||
<xs:element name="job" minOccurs="0" maxOccurs="unbounded">
|
<xs:complexType>
|
||||||
<xs:complexType>
|
<xs:sequence>
|
||||||
<xs:attribute name="id" type="xs:string" use="required"/>
|
<xs:element name="job" minOccurs="0" maxOccurs="unbounded">
|
||||||
</xs:complexType>
|
<xs:complexType>
|
||||||
</xs:element>
|
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
</xs:element>
|
||||||
</xs:element>
|
</xs:sequence>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
|
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
|
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
<xs:group name="serviceActGroup">
|
<xs:group name="serviceActGroup">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="serviceId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
<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="arrTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:group>
|
</xs:group>
|
||||||
|
|
||||||
<xs:group name="shipmentActGroup">
|
<xs:group name="shipmentActGroup">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="shipmentId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
<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="arrTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="endTime" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:group>
|
</xs:group>
|
||||||
|
|
||||||
<xs:complexType name="timeWindowType">
|
<xs:complexType name="timeWindowType">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="start" type="xs:double"/>
|
<xs:element name="start" type="xs:double"/>
|
||||||
<xs:element name="end" type="xs:double"/>
|
<xs:element name="end" type="xs:double"/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="locationType">
|
<xs:complexType name="locationType">
|
||||||
<xs:all>
|
<xs:all>
|
||||||
<xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
<xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
<xs:element name="coord" type="coordType" 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:element name="index" type="xs:int" minOccurs="0" maxOccurs="1"/>
|
||||||
</xs:all>
|
</xs:all>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="coordType">
|
<xs:complexType name="coordType">
|
||||||
<xs:attribute name="x" type="xs:double" use="required" />
|
<xs:attribute name="x" type="xs:double" use="required"/>
|
||||||
<xs:attribute name="y" type="xs:double" use="required" />
|
<xs:attribute name="y" type="xs:double" use="required"/>
|
||||||
</xs:complexType>
|
</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>
|
<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,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>
|
<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.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="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.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="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin id="1" name="radialRuin">
|
<ruin id="1" name="radialRuin">
|
||||||
<share>0.1</share>
|
<share>0.1</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion id="1" name="bestInsertion">
|
<insertion id="1" name="bestInsertion">
|
||||||
<experimental timeSlice="10" neighboringSlices="3"/>
|
<experimental timeSlice="10" neighboringSlices="3"/>
|
||||||
</insertion>
|
</insertion>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.2</probability>
|
<probability>0.2</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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">
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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>
|
||||||
|
|
|
||||||
|
|
@ -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">
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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="regretInsertion"/>
|
<insertion name="regretInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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>
|
<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,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>
|
<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>
|
||||||
|
|
|
||||||
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>
|
<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="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.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="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="randomRuin">
|
<ruin name="randomRuin">
|
||||||
<share>0.1</share>
|
<share>0.1</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="regretInsertion"/>
|
<insertion name="regretInsertion"/>
|
||||||
</module>
|
</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="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" id="1"/>
|
<insertion name="bestInsertion" id="1"/>
|
||||||
</module>
|
</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>
|
||||||
|
|
||||||
|
|
||||||
</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>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
</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>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
<skills>skill1; SKill2</skills>
|
<skills>skill1; SKill2</skills>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v2</id>
|
<id>v2</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc</id>
|
<id>depotLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
<index>2</index>
|
<index>2</index>
|
||||||
</location>
|
</location>
|
||||||
<returnToDepot>false</returnToDepot>
|
<returnToDepot>false</returnToDepot>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v3</id>
|
<id>v3</id>
|
||||||
<startLocation>
|
<startLocation>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
<index>3</index>
|
<index>3</index>
|
||||||
</startLocation>
|
</startLocation>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
<index>4</index>
|
<index>4</index>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v4</id>
|
<id>v4</id>
|
||||||
<location>
|
<location>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v5</id>
|
<id>v5</id>
|
||||||
<location>
|
<location>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType3</typeId>
|
<typeId>vehType3</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
</vehicles>
|
</vehicles>
|
||||||
<vehicleTypes>
|
<vehicleTypes>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType</id>
|
<id>vehType</id>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">20</dimension>
|
<dimension index="0">20</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType2</id>
|
<id>vehType2</id>
|
||||||
<capacity>200</capacity>
|
<capacity>200</capacity>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType3</id>
|
<id>vehType3</id>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">100</dimension>
|
<dimension index="0">100</dimension>
|
||||||
<dimension index="1">1000</dimension>
|
<dimension index="1">1000</dimension>
|
||||||
<dimension index="2">10000</dimension>
|
<dimension index="2">10000</dimension>
|
||||||
<dimension index="10">100000</dimension>
|
<dimension index="10">100000</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
</vehicleTypes>
|
</vehicleTypes>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
<service id="1" type="service">
|
<service id="1" type="service">
|
||||||
<locationId>j(1,5)</locationId>
|
<locationId>j(1,5)</locationId>
|
||||||
<name>cleaning</name>
|
<name>cleaning</name>
|
||||||
<coord x="10.0" y="10.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">1</dimension>
|
<dimension index="0">1</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<duration>10.0</duration>
|
<duration>10.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>
|
||||||
<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>
|
||||||
|
<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>
|
||||||
|
|
||||||
</shipments>
|
<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>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v2</id>
|
<id>v2</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc</id>
|
<id>depotLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<returnToDepot>false</returnToDepot>
|
<returnToDepot>false</returnToDepot>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v3</id>
|
<id>v3</id>
|
||||||
<startLocation>
|
<startLocation>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</startLocation>
|
</startLocation>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v4</id>
|
<id>v4</id>
|
||||||
<location>
|
<location>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v5</id>
|
<id>v5</id>
|
||||||
<location>
|
<location>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType3</typeId>
|
<typeId>vehType3</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
</vehicles>
|
</vehicles>
|
||||||
<vehicleTypes>
|
<vehicleTypes>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType</id>
|
<id>vehType</id>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">20</dimension>
|
<dimension index="0">20</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType2</id>
|
<id>vehType2</id>
|
||||||
<capacity>200</capacity>
|
<capacity>200</capacity>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType3</id>
|
<id>vehType3</id>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">100</dimension>
|
<dimension index="0">100</dimension>
|
||||||
<dimension index="1">1000</dimension>
|
<dimension index="1">1000</dimension>
|
||||||
<dimension index="2">10000</dimension>
|
<dimension index="2">10000</dimension>
|
||||||
<dimension index="10">100000</dimension>
|
<dimension index="10">100000</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
</vehicleTypes>
|
</vehicleTypes>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
<service id="1" type="service">
|
<service id="1" type="service">
|
||||||
<locationId>j(1,5)</locationId>
|
<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>
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<shipments>
|
||||||
|
<shipment id="3">
|
||||||
|
<pickup>
|
||||||
|
<locationId>i(3,9)</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>
|
||||||
|
</shipment>
|
||||||
|
|
||||||
</services>
|
<shipment id="4">
|
||||||
|
<pickup>
|
||||||
<shipments>
|
<coord x="10.0" y="10.0"/>
|
||||||
<shipment id="3">
|
<timeWindows>
|
||||||
<pickup>
|
|
||||||
<locationId>i(3,9)</locationId>
|
|
||||||
<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>
|
||||||
|
|
||||||
<shipment id="4">
|
</shipments>
|
||||||
<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>
|
|
||||||
</shipment>
|
|
||||||
|
|
||||||
</shipments>
|
<initialRoutes>
|
||||||
|
<route>
|
||||||
<initialRoutes>
|
<driverId>noDriver</driverId>
|
||||||
<route>
|
<vehicleId>v1</vehicleId>
|
||||||
<driverId>noDriver</driverId>
|
<start>10.</start>
|
||||||
<vehicleId>v1</vehicleId>
|
<act type="pickupShipment">
|
||||||
<start>10.</start>
|
<shipmentId>4</shipmentId>
|
||||||
<act type="pickupShipment">
|
</act>
|
||||||
<shipmentId>4</shipmentId>
|
<act type="deliverShipment">
|
||||||
</act>
|
<shipmentId>4</shipmentId>
|
||||||
<act type="deliverShipment">
|
</act>
|
||||||
<shipmentId>4</shipmentId>
|
<end/>
|
||||||
</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>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v2</id>
|
<id>v2</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc</id>
|
<id>depotLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
</vehicles>
|
</vehicles>
|
||||||
<vehicleTypes>
|
<vehicleTypes>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType</id>
|
<id>vehType</id>
|
||||||
<capacity>20</capacity>
|
<capacity>20</capacity>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType2</id>
|
<id>vehType2</id>
|
||||||
<capacity>200</capacity>
|
<capacity>200</capacity>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
</vehicleTypes>
|
</vehicleTypes>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
<service id="1" type="service">
|
<service id="1" type="service">
|
||||||
<locationId>j(1,5)</locationId>
|
<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>
|
||||||
|
|
||||||
|
<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"/>
|
<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>
|
||||||
|
|
||||||
<service id="4" type="service">
|
<solutions>
|
||||||
<locationId>i(3,9)</locationId>
|
<solution>
|
||||||
<coord x="10.0" y="10.0"/>
|
<cost>100.0</cost>
|
||||||
<capacity-demand>1</capacity-demand>
|
<routes>
|
||||||
<duration>0.0</duration>
|
<route>
|
||||||
<timeWindows>
|
<cost>0.0</cost>
|
||||||
<timeWindow>
|
<driverId>noDriver</driverId>
|
||||||
<start>0.0</start>
|
<vehicleId>v1</vehicleId>
|
||||||
<end>4000.0</end>
|
<start>10.0</start>
|
||||||
</timeWindow>
|
<act type="service">
|
||||||
</timeWindows>
|
<serviceId>1</serviceId>
|
||||||
</service>
|
<arrTime>20.0</arrTime>
|
||||||
</services>
|
<endTime>30.0</endTime>
|
||||||
|
</act>
|
||||||
<shipments>
|
<act type="service">
|
||||||
<shipment id="3">
|
<serviceId>2</serviceId>
|
||||||
<pickup>
|
<arrTime>40.0</arrTime>
|
||||||
<locationId>i(3,9)</locationId>
|
<endTime>80.0</endTime>
|
||||||
<coord x="10.0" y="10.0"/>
|
</act>
|
||||||
<duration>0.0</duration>
|
<act type="pickupShipment">
|
||||||
<timeWindows>
|
<shipmentId>3</shipmentId>
|
||||||
<timeWindow>
|
<arrTime>40.0</arrTime>
|
||||||
<start>0.0</start>
|
<endTime>80.0</endTime>
|
||||||
<end>4000.0</end>
|
</act>
|
||||||
</timeWindow>
|
<act type="deliverShipment">
|
||||||
</timeWindows>
|
<shipmentId>3</shipmentId>
|
||||||
</pickup>
|
<arrTime>40.0</arrTime>
|
||||||
<delivery>
|
<endTime>80.0</endTime>
|
||||||
<locationId>i(9,9)</locationId>
|
</act>
|
||||||
<coord x="10.0" y="0.0"/>
|
<end>100.0</end>
|
||||||
<duration>0.0</duration>
|
</route>
|
||||||
<timeWindows>
|
</routes>
|
||||||
<timeWindow>
|
<unassignedJobs>
|
||||||
<start>0.0</start>
|
<job id="4"/>
|
||||||
<end>4000.0</end>
|
</unassignedJobs>
|
||||||
</timeWindow>
|
</solution>
|
||||||
</timeWindows>
|
</solutions>
|
||||||
</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>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v2</id>
|
<id>v2</id>
|
||||||
<location>
|
<location>
|
||||||
<id>depotLoc</id>
|
<id>depotLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<returnToDepot>false</returnToDepot>
|
<returnToDepot>false</returnToDepot>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v3</id>
|
<id>v3</id>
|
||||||
<startLocation>
|
<startLocation>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</startLocation>
|
</startLocation>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v4</id>
|
<id>v4</id>
|
||||||
<location>
|
<location>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType2</typeId>
|
<typeId>vehType2</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
<vehicle>
|
<vehicle>
|
||||||
<id>v5</id>
|
<id>v5</id>
|
||||||
<location>
|
<location>
|
||||||
<id>startLoc</id>
|
<id>startLoc</id>
|
||||||
<coord x="10.0" y="100.0"/>
|
<coord x="10.0" y="100.0"/>
|
||||||
</location>
|
</location>
|
||||||
<endLocation>
|
<endLocation>
|
||||||
<id>endLoc</id>
|
<id>endLoc</id>
|
||||||
<coord x="1000.0" y="2000.0"/>
|
<coord x="1000.0" y="2000.0"/>
|
||||||
</endLocation>
|
</endLocation>
|
||||||
<typeId>vehType3</typeId>
|
<typeId>vehType3</typeId>
|
||||||
<timeSchedule>
|
<timeSchedule>
|
||||||
<start>0.0</start>
|
<start>0.0</start>
|
||||||
<end>1000.0</end>
|
<end>1000.0</end>
|
||||||
</timeSchedule>
|
</timeSchedule>
|
||||||
</vehicle>
|
</vehicle>
|
||||||
</vehicles>
|
</vehicles>
|
||||||
<vehicleTypes>
|
<vehicleTypes>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType</id>
|
<id>vehType</id>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">20</dimension>
|
<dimension index="0">20</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType2</id>
|
<id>vehType2</id>
|
||||||
<capacity>200</capacity>
|
<capacity>200</capacity>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
<type>
|
<type>
|
||||||
<id>vehType3</id>
|
<id>vehType3</id>
|
||||||
<capacity-dimensions>
|
<capacity-dimensions>
|
||||||
<dimension index="0">100</dimension>
|
<dimension index="0">100</dimension>
|
||||||
<dimension index="1">1000</dimension>
|
<dimension index="1">1000</dimension>
|
||||||
<dimension index="2">10000</dimension>
|
<dimension index="2">10000</dimension>
|
||||||
<dimension index="10">100000</dimension>
|
<dimension index="10">100000</dimension>
|
||||||
</capacity-dimensions>
|
</capacity-dimensions>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>0.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
</vehicleTypes>
|
</vehicleTypes>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
<service id="1" type="service">
|
<service id="1" type="service">
|
||||||
<locationId>j(1,5)</locationId>
|
<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>
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<shipments>
|
||||||
|
<shipment id="3">
|
||||||
|
<pickup>
|
||||||
|
<locationId>i(3,9)</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>
|
||||||
|
<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-demand>10</capacity-demand>
|
||||||
|
</shipment>
|
||||||
|
|
||||||
<service id="2" type="service">
|
<shipment id="4">
|
||||||
<locationId>i(3,9)</locationId>
|
<pickup>
|
||||||
<coord x="10.0" y="10.0"/>
|
<coord x="10.0" y="10.0"/>
|
||||||
<capacity-demand>1</capacity-demand>
|
<timeWindows>
|
||||||
<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>
|
||||||
|
<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>
|
||||||
|
|
||||||
</services>
|
</shipments>
|
||||||
|
|
||||||
<shipments>
|
|
||||||
<shipment id="3">
|
|
||||||
<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-demand>10</capacity-demand>
|
|
||||||
</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>
|
|
||||||
</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>
|
<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.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="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin name="randomRuin">
|
<ruin name="randomRuin">
|
||||||
<share>0.1</share>
|
<share>0.1</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</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="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" id="1"/>
|
<insertion name="bestInsertion" id="1"/>
|
||||||
</module>
|
</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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
<construction>
|
||||||
<insertion name="regretInsertion">
|
<insertion name="regretInsertion">
|
||||||
|
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="randomRR">
|
<searchStrategy name="randomRR">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.2</alpha>
|
<alpha>0.2</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.5</share>
|
<share>0.5</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="regretInsertion"/>
|
<insertion name="regretInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.4</probability>
|
<probability>0.4</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radialRR">
|
<searchStrategy name="radialRR">
|
||||||
<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 id="1" name="radialRuin">
|
<ruin id="1" name="radialRuin">
|
||||||
<share>0.3</share>
|
<share>0.3</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="regretInsertion"/>
|
<insertion name="regretInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.4</probability>
|
<probability>0.4</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="smallRadialRR">
|
<searchStrategy name="smallRadialRR">
|
||||||
<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 id="2" name="radialRuin">
|
<ruin id="2" name="radialRuin">
|
||||||
<share>0.05</share>
|
<share>0.05</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="regretInsertion"/>
|
<insertion name="regretInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.2</probability>
|
<probability>0.2</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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>
|
<construction>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="radialRuinAndRecreate">
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
<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.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="schrimpfAcceptance"/>
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin id="1" name="radialRuin">
|
<ruin id="1" 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,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>
|
<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="radialRuinAndRecreate">
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.05</alpha>
|
<alpha>0.05</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.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="schrimpfAcceptance"/>
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin id="1" name="radialRuin">
|
<ruin id="1" 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,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>
|
<construction>
|
||||||
<insertion name="bestInsertion">
|
<insertion name="bestInsertion">
|
||||||
<level forwardLooking="3" memory="2">route</level>
|
<level forwardLooking="3" memory="2">route</level>
|
||||||
<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="radialRuinAndRecreate">
|
<searchStrategy name="radialRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.05</alpha>
|
<alpha>0.05</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.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="schrimpfAcceptance"/>
|
<acceptor name="schrimpfAcceptance"/>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module name="ruin_and_recreate">
|
<module name="ruin_and_recreate">
|
||||||
<ruin id="1" name="radialRuin">
|
<ruin id="1" 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,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">
|
<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,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">
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.05</alpha>
|
<alpha>0.05</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.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="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>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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">
|
<searchStrategy name="randomRR">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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="regretInsertion"/>
|
<insertion name="regretInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radialRR">
|
<searchStrategy name="radialRR">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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="regretInsertion"/>
|
<insertion name="regretInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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>
|
<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="random_best">
|
<searchStrategy name="random_best">
|
||||||
<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.3</share>
|
<share>0.3</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.2</probability>
|
<probability>0.2</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="radial_best">
|
<searchStrategy name="radial_best">
|
||||||
<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 id="1" name="radialRuin">
|
<ruin id="1" name="radialRuin">
|
||||||
<share>0.15</share>
|
<share>0.15</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.2</probability>
|
<probability>0.2</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
<searchStrategy name="small_radial_best">
|
<searchStrategy name="small_radial_best">
|
||||||
<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 id="2" name="radialRuin">
|
<ruin id="2" name="radialRuin">
|
||||||
<share>0.05</share>
|
<share>0.05</share>
|
||||||
</ruin>
|
</ruin>
|
||||||
<insertion name="bestInsertion"/>
|
<insertion name="bestInsertion"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<probability>0.6</probability>
|
<probability>0.6</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
|
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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>
|
<construction>
|
||||||
<insertion name="bestInsertion">
|
<insertion name="bestInsertion">
|
||||||
<allowVehicleSwitch>true</allowVehicleSwitch>
|
<allowVehicleSwitch>true</allowVehicleSwitch>
|
||||||
</insertion>
|
</insertion>
|
||||||
</construction>
|
</construction>
|
||||||
|
|
||||||
<strategy>
|
<strategy>
|
||||||
<memory>1</memory>
|
<memory>1</memory>
|
||||||
<searchStrategies>
|
<searchStrategies>
|
||||||
<searchStrategy name="randomRR">
|
<searchStrategy name="randomRR">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="schrimpfAcceptance">
|
<acceptor name="schrimpfAcceptance">
|
||||||
<alpha>0.2</alpha>
|
<alpha>0.2</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.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="radialRR">
|
<searchStrategy name="radialRR">
|
||||||
<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>0.5</probability>
|
<probability>0.5</probability>
|
||||||
</searchStrategy>
|
</searchStrategy>
|
||||||
</searchStrategies>
|
</searchStrategies>
|
||||||
</strategy>
|
</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">
|
<searchStrategy name="randomRuinAndRecreate">
|
||||||
<selector name="selectBest"/>
|
<selector name="selectBest"/>
|
||||||
<acceptor name="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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="greedyAcceptance"/>
|
<acceptor name="greedyAcceptance"/>
|
||||||
<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>
|
||||||
|
|
|
||||||
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>
|
<iterations>2000</iterations>
|
||||||
<prematureBreak basedOn="variationCoefficient">
|
<prematureBreak basedOn="variationCoefficient">
|
||||||
<threshold>0.01</threshold>
|
<threshold>0.01</threshold>
|
||||||
<iterations>50</iterations>
|
<iterations>50</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="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="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="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.15</share>
|
<share>0.15</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>
|
||||||
|
|
|
||||||
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>
|
|
||||||
<artifactId>jsprit</artifactId>
|
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<artifactId>jsprit-examples</artifactId>
|
<build>
|
||||||
|
<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>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
|
|
||||||
<build>
|
<dependencies>
|
||||||
<pluginManagement>
|
<dependency>
|
||||||
<plugins>
|
<groupId>${project.groupId}</groupId>
|
||||||
<plugin>
|
<artifactId>jsprit-instances</artifactId>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<version>${project.version}</version>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
</dependency>
|
||||||
<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>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependency>
|
||||||
<dependency>
|
<groupId>${project.groupId}</groupId>
|
||||||
<groupId>${project.groupId}</groupId>
|
<artifactId>jsprit-core</artifactId>
|
||||||
<artifactId>jsprit-instances</artifactId>
|
<version>${project.version}</version>
|
||||||
<version>${project.version}</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
<dependency>
|
<artifactId>jsprit-analysis</artifactId>
|
||||||
<groupId>${project.groupId}</groupId>
|
<version>${project.version}</version>
|
||||||
<artifactId>jsprit-core</artifactId>
|
</dependency>
|
||||||
<version>${project.version}</version>
|
</dependencies>
|
||||||
</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>
|
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<artifactId>jsprit-instances</artifactId>
|
<packaging>jar</packaging>
|
||||||
<name>jsprit-instances</name>
|
|
||||||
|
|
||||||
<packaging>jar</packaging>
|
<build>
|
||||||
|
<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>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
|
|
||||||
<build>
|
<dependencies>
|
||||||
<pluginManagement>
|
<dependency>
|
||||||
<plugins>
|
<groupId>${project.groupId}</groupId>
|
||||||
<plugin>
|
<artifactId>jsprit-core</artifactId>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<version>${project.version}</version>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
</dependency>
|
||||||
<version>1.0.0</version>
|
</dependencies>
|
||||||
<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>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>${project.groupId}</groupId>
|
|
||||||
<artifactId>jsprit-core</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
566
pom.xml
566
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>
|
<groupId>jsprit</groupId>
|
||||||
<artifactId>jsprit</artifactId>
|
<artifactId>jsprit</artifactId>
|
||||||
<version>1.6.2-SNAPSHOT</version>
|
<version>1.6.2-SNAPSHOT</version>
|
||||||
|
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>jsprit</name>
|
<name>jsprit</name>
|
||||||
<description>A toolkit to solve vehicle routing problems.</description>
|
<description>A toolkit to solve vehicle routing problems.</description>
|
||||||
<url>https://github.com/jsprit/jsprit</url>
|
<url>https://github.com/jsprit/jsprit</url>
|
||||||
<inceptionYear>2013</inceptionYear>
|
<inceptionYear>2013</inceptionYear>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
<name>GNU Lesser General Public Licence, version 3.0</name>
|
<name>GNU Lesser General Public Licence, version 3.0</name>
|
||||||
<url>http://opensource.org/licenses/LGPL-3.0</url>
|
<url>http://opensource.org/licenses/LGPL-3.0</url>
|
||||||
</license>
|
</license>
|
||||||
</licenses>
|
</licenses>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<name>Stefan Schroeder</name>
|
<name>Stefan Schroeder</name>
|
||||||
<email>stefan.schroeder@jspr.it</email>
|
<email>stefan.schroeder@jspr.it</email>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<prerequisites>
|
<prerequisites>
|
||||||
<maven>3.0.4</maven>
|
<maven>3.0.4</maven>
|
||||||
</prerequisites>
|
</prerequisites>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:git@github.com:jsprit/jsprit.git</connection>
|
<connection>scm:git:git@github.com:jsprit/jsprit.git</connection>
|
||||||
<developerConnection>scm:git:https://github.com/jsprit/jsprit.git</developerConnection>
|
<developerConnection>scm:git:https://github.com/jsprit/jsprit.git</developerConnection>
|
||||||
<url>http://github.com/jsprit/jsprit/tree/master</url>
|
<url>http://github.com/jsprit/jsprit/tree/master</url>
|
||||||
<tag>HEAD</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>github</system>
|
<system>github</system>
|
||||||
<url>https://github.com/jsprit/jsprit/issues</url>
|
<url>https://github.com/jsprit/jsprit/issues</url>
|
||||||
</issueManagement>
|
</issueManagement>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>jsprit-snapshots</id>
|
<id>jsprit-snapshots</id>
|
||||||
<url>https://github.com/jsprit/mvn-rep/raw/master/snapshots</url>
|
<url>https://github.com/jsprit/mvn-rep/raw/master/snapshots</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>jsprit-releases</id>
|
<id>jsprit-releases</id>
|
||||||
<url>https://github.com/jsprit/mvn-rep/raw/master/releases</url>
|
<url>https://github.com/jsprit/mvn-rep/raw/master/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>jsprit-core</module>
|
<module>jsprit-core</module>
|
||||||
<module>jsprit-analysis</module>
|
<module>jsprit-analysis</module>
|
||||||
<module>jsprit-examples</module>
|
<module>jsprit-examples</module>
|
||||||
<module>jsprit-instances</module>
|
<module>jsprit-instances</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<jdkVersion>1.6</jdkVersion>
|
<jdkVersion>1.6</jdkVersion>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<junit.version>4.10</junit.version>
|
<junit.version>4.10</junit.version>
|
||||||
<mockito.version>1.9.5</mockito.version>
|
<mockito.version>1.9.5</mockito.version>
|
||||||
<logger.version>2.0</logger.version>
|
<logger.version>2.0</logger.version>
|
||||||
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
|
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>src/main/java</sourceDirectory>
|
<sourceDirectory>src/main/java</sourceDirectory>
|
||||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||||
<directory>target</directory>
|
<directory>target</directory>
|
||||||
<outputDirectory>target/classes</outputDirectory>
|
<outputDirectory>target/classes</outputDirectory>
|
||||||
<testOutputDirectory>target/test-classes</testOutputDirectory>
|
<testOutputDirectory>target/test-classes</testOutputDirectory>
|
||||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<testResources>
|
<testResources>
|
||||||
<testResource>
|
<testResource>
|
||||||
<directory>src/test/resources</directory>
|
<directory>src/test/resources</directory>
|
||||||
</testResource>
|
</testResource>
|
||||||
</testResources>
|
</testResources>
|
||||||
|
|
||||||
<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>
|
||||||
<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> -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>1.1.1</version>
|
<version>1.1.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>enforce-versions</id>
|
<id>enforce-versions</id>
|
||||||
<phase>initialize</phase>
|
<phase>initialize</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>enforce</goal>
|
<goal>enforce</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<fail>true</fail>
|
<fail>true</fail>
|
||||||
<rules>
|
<rules>
|
||||||
<requireMavenVersion>
|
<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>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-eclipse-plugin</artifactId>
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||||||
<version>2.8</version>
|
<version>2.8</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<classpathContainers>
|
<classpathContainers>
|
||||||
<classpathContainer>
|
<classpathContainer>
|
||||||
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6
|
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6
|
||||||
</classpathContainer>
|
</classpathContainer>
|
||||||
</classpathContainers>
|
</classpathContainers>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>2.2.1</version>
|
<version>2.2.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>2.9.1</version>
|
<version>2.9.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
<id>attach-javadocs</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>2.5</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tagNameFormat>v@{project.version}</tagNameFormat>
|
<tagNameFormat>v@{project.version}</tagNameFormat>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
||||||
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<reporting>
|
<reporting>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>2.9.1</version>
|
<version>2.9.1</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>${junit.version}</version>
|
<version>${junit.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mockito</groupId>
|
<groupId>org.mockito</groupId>
|
||||||
<artifactId>mockito-all</artifactId>
|
<artifactId>mockito-all</artifactId>
|
||||||
<version>${mockito.version}</version>
|
<version>${mockito.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<artifactId>log4j-api</artifactId>
|
<artifactId>log4j-api</artifactId>
|
||||||
<version>${logger.version}</version>
|
<version>${logger.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<artifactId>log4j-core</artifactId>
|
<artifactId>log4j-core</artifactId>
|
||||||
<version>${logger.version}</version>
|
<version>${logger.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
<!--<dependency>-->
|
||||||
|
<!--<groupId>log4j</groupId>-->
|
||||||
<!--<dependency>-->
|
<!--<artifactId>log4j</artifactId>-->
|
||||||
<!--<groupId>log4j</groupId>-->
|
<!--<version>${logger.version}</version>-->
|
||||||
<!--<artifactId>log4j</artifactId>-->
|
<!--<exclusions>-->
|
||||||
<!--<version>${logger.version}</version>-->
|
<!--<exclusion>-->
|
||||||
<!--<exclusions>-->
|
<!--<groupId>javax.mail</groupId>-->
|
||||||
<!--<exclusion>-->
|
<!--<artifactId>mail</artifactId>-->
|
||||||
<!--<groupId>javax.mail</groupId>-->
|
<!--</exclusion>-->
|
||||||
<!--<artifactId>mail</artifactId>-->
|
<!--<exclusion>-->
|
||||||
<!--</exclusion>-->
|
<!--<groupId>javax.jms</groupId>-->
|
||||||
<!--<exclusion>-->
|
<!--<artifactId>jms</artifactId>-->
|
||||||
<!--<groupId>javax.jms</groupId>-->
|
<!--</exclusion>-->
|
||||||
<!--<artifactId>jms</artifactId>-->
|
<!--<exclusion>-->
|
||||||
<!--</exclusion>-->
|
<!--<groupId>com.sun.jdmk</groupId>-->
|
||||||
<!--<exclusion>-->
|
<!--<artifactId>jmxtools</artifactId>-->
|
||||||
<!--<groupId>com.sun.jdmk</groupId>-->
|
<!--</exclusion>-->
|
||||||
<!--<artifactId>jmxtools</artifactId>-->
|
<!--<exclusion>-->
|
||||||
<!--</exclusion>-->
|
<!--<groupId>com.sun.jmx</groupId>-->
|
||||||
<!--<exclusion>-->
|
<!--<artifactId>jmxri</artifactId>-->
|
||||||
<!--<groupId>com.sun.jmx</groupId>-->
|
<!--</exclusion>-->
|
||||||
<!--<artifactId>jmxri</artifactId>-->
|
<!--</exclusions>-->
|
||||||
<!--</exclusion>-->
|
<!--</dependency> -->
|
||||||
<!--</exclusions>-->
|
</dependencies>
|
||||||
<!--</dependency> -->
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue