This archive is distributed in association with the INFORMS Journal on Computing under the CC BY-NC-SA 4.0 License.
The software and data in this repository are a snapshot of the software and data that were used in the research reported on in the paper Cross-entropy Method for the Maximal Covering Location Problem by Hongtao Wang and Jian Zhou.
The snapshot is based on this GitHub repository.
To cite the contents of this repository, please cite both the paper and this repo, using their respective DOIs.
https://doi.org/10.1287/ijoc.2024.0611
https://doi.org/10.1287/ijoc.2024.0611.cd
Below is the BibTex for citing this snapshot of the repository.
@misc{iio2024,
author = {Wang, Hongtao and Zhou, Jian},
publisher = {INFORMS Journal on Computing},
title = {Cross-entropy Method for the Maximal Covering Location Problem},
year = {2024},
doi = {10.1287/ijoc.2024.0611.cd},
url = {https://github.com/INFORMSJoC/2024.0611},
note = {Available for download at https://github.com/INFORMSJoC/2024.0611}
}
This repository provides the core codes and data of Cross-entropy Method for the Maximal Covering Location Problem (MCLP).
This repository includes
- the original codes in C# as shown in directory src, where two independent programs are uploaded for the two MCLP settings (
$I=J$ and$I \neq J$ ) in this paper Cross-entropy Method for the Maximal Covering Location Problem. - the complete instances of the paper, directory data, from 8 benchmark data including G&R (Galvão and ReVelle 1996, Galvão et al. 2000), Beasley (Beasley 1990), ZDS (Zarandi et al. 2011), PCB (Reinelt 1994), and real-world benchmark data SJC (Lorena and Pereira 2002), Máximo (Máximo et al. 2017), as well as massive benchmark data BDS (Cordeau et al. 2019) and data BDS1000 extended in this research.
- the configuration files to launch the executable program, directory cfgs,
All the benchmark instances we generated for the paper experiments are also available at this GitHub repository.
It includes benchmark instances of 8 popular data sets, including random sets GR, Beasley, ZDS, PCB, real-world sets SJC, and Máximo, as well as benchmark data sets BDS and extended data BDS1000 for the MCLP.
Each instance file contains information on nodes and is named with the data set and number of nodes, e.g., SJC708.txt. The first line of the instance file includes the basic information about the instances. The number of chosen facilities and service radius are not specified in the instance file but are defined as a part of the parameter arguments.
Compilation is required to test the corresponding codes. We compile the program with Visio Studio 2019 using .Net 6.0, after which the new executable file will be shown in the subdirectory
./bin/Release/.Net6.0/MCLP2023.exe
Arguments are required to run the executable program. Basically, the arguments consist of the instances and required parameters of the algorithm.
Method InstanceFolder InstanceName ResultFolder NumOfFacililty(p) Radius(r) CE-parameters(N ρ nLS α Cmax) RandomSeed
A configuration example:
CE Instances SJC708.txt Results 6 800 2000 0.05 20 0.8 50 0
- Method: Cross-entropy method (CE)
- InstanceFolder: folder name of the corresponding single instance
- InstanceName: SJC708.txt is the name of the chosen benchmark instance where SJC represents the data set, and 708 is the number of customers.
- ResultFolder : folder name of the results (Results)
-
$p$ : number of chosen facility -
$r$ : service radius, 800 -
$N$ : CE parameter, 2000 -
$\rho$ : CE parameter, 0.05 -
$nLS$ : CE parameter, 20 -
$\alpha$ : CE parameter, 0.8 -
$Cmax$ : CE parameter, 50 -
$Seed$ : the seed of randomness, 0
Compilation with the example configuration has been successfully tested on a machine running Windows operating system.
We warmly welcome any corrections, suggestions, or collaborations from the community to improve this work further.
You may want to check out the code main developer's GitHub site.
For any development, support and suggestions, please submit an issue, or send us emails.
Repository license file LICENSE.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.