Experiments: ‘A dynamic programming algorithm for a maximum $s$-club set on trees’
Authors: José Alberto Fernández-Zepeda, Alejandro Flores-Lamas, Matthew Hague, Joel Antonio Trejo-Sánchez.
Description
Experiments in the article “A dynamic programming algorithm for a maximum $s$-club set on trees” were done using EJOR_2024_Tool (artifact) and the files in this database.
Using the EJOR_2024_Tool
There’s no installation procedure for the EJOR_2024_Tool, please download the project and install the packages listed in the Software Dependencies section of the artifact web page.
Input format
EJOR_2024_Tool accepts Graph Modeling Language1 (GML) files as input; however, it can be easily modified to support other input files by changing the file /EJOR_2024_Tool/EJOR_2024_Tool/src/Utils/input_handler.py
.
Configuration files
EJOR_2024_Tool uses YAML as a configuration file. Configuration files are stored in /EJOR_2024_Tool/Settings
.
Experiments
Follow these steps to evaluate the cases of studies mentioned in Section 6, Implementation and experiments of the paper submitted to European Journal of Operational Research.
- Download the GML files from the database web page.
- Unzip the file and place the unziped folder in the location:
/EJOR_2024_Tool/Input
. - Open a command-line interpreter and navigate to the ‘EJOR_2024_Tool’ folder.
-
Type the following command:
$ python main.py Settings/<case_of_study_config_file>.yaml
-
where <case_of_study_config_file> takes any of the folowing names: T_22_16, T_B, T_D, T_eta, T_L, T_Ph.
-
Notes
On the output files:
- Results of the execution of the EJOR_2024_Tool will be placed in the folder
/EJOR_2024_Tool/Output/
.
On the execution of $T_{\eta\mathrm{e}{6}}$:
-
Experimentation on this case of study will require several hours; please modify the file
/EJOR_2024_Tool/Settings/T_eta.yaml
or remove graphs as needed from the $T_{\eta\mathrm{e}{6}}$ (T_eta.zip file) case of study to suit your needs; in particular, you will need:- Proceed as in the steps 1 and 2 from the Experiments section.
- In the file
/EJOR_2024_Tool/Settings/T_eta.yaml
- On line 36
diameters: []
add the values of $s$ that you want to test; for example,diameters: [10, 100, 500]
.
- On line 36
- Proceed as in step 3 from the Experiments.
-
Himsolt, M., 1997. GML: A portable graph file format. Technical report, Universitat Passau. ↩