A Multi-Language Framework for the Carousel Greedy Algorithm: Python, R, MATLAB, and Julia Implementations
Raffaele Dragone, Carmine Cerrone, Bruce L. Golden
Key points
From the paper's conclusion- Building on a preliminary study that presented the first open-source implementation of CG in Python, this work provides CG libraries in Python, R, MATLAB, and Julia.
Abstract
In recent years, the Carousel Greedy (CG) algorithm has gained increasing attention as a simple yet effective heuristic for a broad class of combinatorial optimization problems, with applications ranging from graph theory to logistics and network analysis. Building on a preliminary study that presented the first open-source implementation of CG in Python, this work provides CG libraries in Python, R, MATLAB, and Julia. The four implementations share a common interface and modular organization while adapting to the paradigms of their respective languages. Concise code snippets illustrate their use and the implementation of problem-specific components. The libraries also include an additional feasibility-aware feature of CG that avoids unnecessary candidate insertions during the iterative phase when the current solution is already feasible. The libraries, documentation, examples, benchmark scripts, and detailed results are made available through a public unified repository, providing accessible and reproducible resources for applying CG in different programming environments.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Code and Data Repository for Assortment Optimization with General Linear Constraints Under the Paired Combinatorial Logit Choice ModelINFORMS journal on computing · 2026
- RouteOpt: An Open-Source Modular Exact Solver for Vehicle Routing ProblemsINFORMS journal on computing · 2026
- Yannakakis + : Practical Acyclic Query Evaluation with Theoretical GuaranteesACM Transactions on Database Systems · 2026
- A Dual-Guided Column-Generation-Based Matheuristic for Integrated Railroad BlockingarXiv · 2026
- Code and Data Repository for An Exact Branch-Price-and-Cut Algorithm for the Unrelated Parallel Machine Scheduling ProblemINFORMS journal on computing · 2026
- pycircdb: integrated circRNA database annotation for computational workflows.Bioinformatics advances · 2026