Set of parallel Branch-and-Bound (B&B) skeletons in Chapel targeting CPU-based systems at every scale. This project aims to investigate the Partitioned Global Address Space (PGAS) programming model (as alternative to MPI+X) for implementing parallel optimization algorithms and to promote the extensibility of the approaches to make them accessible to the community.
The parallelization relies on the parallel tree exploration model, in which several CPU threads explore disjoint sub-spaces of solutions (branches of the B&B tree) in parallel. In this scheme, each CPU thread manages a separate pool of work in a Depth-First Search (DFS) order, and dynamic load balancing (work stealing) occurs to manage irregular trees. The efficient implementation of these mechanisms, as well as the genericity of the implementations, are managed by our high-level and highly parallel distBag
data structure (also known as DistBag_DFS
). The latter has been integrated into the Chapel language as the DistributedBag
package module.
Chapel >= 2.0 (tested with 2.3.0)
The chpl_config directory contains predefined shell scripts for downloading, configuring, and building the Chapel compiler from source.
- Step 1: Set up your Chapel environment according to the machine on which your code is expected to run, and build Chapel.
- Step 2: Compile with
make
and execute with:
./main.o --mode={MODE} ${problem-specific options} -nl {NL}
where:
{MODE}
is the execution mode, i.e.sequential
,multicore
, ordistributed
;- For the list of supported problems and options, see below;
{NL}
is the number of Chapel's locale(s), typically the number of compute nodes in distributed mode.
The B&B skeletons have already been tested on the following benchmark problems:
- The Permutation Flowshop Scheduling problem (PFSP)
- The 0/1-Knapsack problem
- The Unbalanced Tree Search benchmark (UTS)
- The N-Queens problem
To come...
- G. Helbecque, T. Carneiro, N. Melab, J. Gmys, P. Bouvry. PGAS Data Structure for Unbalanced Tree-Based Algorithms at Scale. Computational Science – ICCS 2024 (ICCS). vol 14834, 2024. DOI: 10.1007/978-3-031-63759-9_13.
- G. Helbecque, J. Gmys, N. Melab, T. Carneiro, P. Bouvry. Parallel distributed productivity-aware tree-search using Chapel. Concurrency Computation Practice Experience, 35(27):e7874, 2023. DOI: 10.1002/cpe.7874.
- G. Helbecque, J. Gmys, T. Carneiro, N. Melab, P. Bouvry. Towards a scalable load balancing for productivity-aware tree-search. The 10th Annual Chapel Implementers and Users Workshop (CHIUW), June 2023, online.
- G. Helbecque, J. Gmys, N. Melab, T. Carneiro, P. Bouvry. Productivity-aware Parallel Distributed Tree-Search for Exact Optimization. International Conference on Optimization and Learning (OLA), May 2023, Malaga, Spain.