Project Input File Specifications
We refer to an optimization job (of one or more instances) as a project. A project input file consists of a set of input data bundled into a single not password protected ZIP archive.
Here is a graphical representation of the structure of a typical project input file:
Each instance folder instancei, itself under a common root folder input, holds the data files pertaining to this instance. Instance folder names must start with an alphanumeric character without diacritics; for the remaining characters, only alphanumeric characters without diacritics, underscores ('_'), hyphens ('-') and dots ('.') are accepted. Spaces are specifically prohibited.
File/folder names are case sensitive.
Files/folders other than those mentioned above are strictly prohibited.
Special file types such as Unix/NTFS symbolic links and Windows shortcuts are not supported and will mistakenly be considered as text files whose content will probably not match given specifications.
The content of each of the four files for a given instance is described as follows:
-
Param.txt
: This is a parameter file that includes the following information:- the real number
alpha
in]0,1[
to generate a convex combination of expected travel time and the variance of travel time, - the
type
of the instance; "A" for the adjacent case and "G" for the general case.
Example:
alpha 0.1 type A - the real number
-
Demand.txt
: This is a file withn+2
rows, where the first row is the vehicle capacity (a positive integer), while rows 2 to n+2 is the list of customers with their demands (all positive integers). In fact, row 2 represents the depot with demand 0. Note that the first entry of row j = 2 to n+2 must be j-1 (for example, the first entry of row 2 must be 1).Example with 3 customers and vehicle capacity 200:
200 1 0 2 10 3 30 4 10 -
Exp_Mat.txt
: This file is a((n+1) * (n+1))
matrix with rows[0 ,1 , ..., n]
and columns[0 ,1 , ..., n]
, where element of rowi
and columnj
represents the expected travel time between customersi
andj
(a positive integer, except on the main diagonal where it must be0
). Note that row0
and column0
correspond to the depot.Example with
n = 3
customers:0 22 12 18 * 0 * * * * 0 * * * * 0where the * should be replaced by positive integers.
-
Cov_Mat.txt
: This file is a(m*m)
covariance matrix, wherem=(n*(n-1))+(2*n)
is the number of arcs. Arcs have the following forms:(0,1) , (0,2) , ..., (0,n), (1,2) , (1,3) , ..., (1,n), (2,1) , (2,3) , ..., (2,n), ... ... ... (n,1) , (n,2) , ..., (n,n-1), (1,n+1), (2,n+1), ..., (n,n+1)where
0
andn+1
represent the depot and1,2, ..., n
represent the customers. This matrix must be symmetric and positive semidefinite.For example, an instance with 3 customers has 12 arcs
(m=3*(3-1)+2*3=12)
. Therefore, we have a 12*12 covariance matrix whose rows (1 to 12) and columns (1 to 12) correspond to(0,1), (0,2), (0,3), (1,2), (1,3), (2,1), (2,3), (3,1), (3,2), (1,4), (2,4), (3,4)
.2.1 0.02 0.1 -0.05 0.1 0 0.11 0 -0.06 0 0.02 0.30 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *where the * should be replaced by real numbers.
- input-example.zip (197 KB)
- paper-input-alpha-0.05.zip (54.6 MB)
- paper-input-alpha-0.1.zip (54.6 MB)
- paper-input-alpha-0.3.zip (54.6 MB)
- paper-input-alpha-0.5.zip (54.6 MB)
- paper-output-alpha-0.05.zip (68.3 KB)
- paper-output-alpha-0.1.zip (68.4 KB)
- paper-output-alpha-0.3.zip (68.7 KB)
- paper-output-alpha-0.5.zip (68.2 KB)
Project input file example:
A small example of a ZIP project input file described above
Actual files referenced in the paper
Corresponding output files for the 4 input files above
Note that these results have been obtained on a slightly faster computer than the one used in the paper.