FEALPy.OPT: A Multi-Backend Tensor Computing Framework for Metaheuristic Optimization on CPU and GPU Platforms
Han-Bin Liu, Huayi Wei
Key points
From the paper's conclusion- These findings demonstrate the value of multi-backend and multi-platform support for improving the computational flexibility and efficiency of metaheuristic optimization.
Abstract
Metaheuristic algorithms (MAs) are widely used to solve complex optimization problems, but their computational costs can become substantial as population size and problem dimensionality increase. This paper presents FEALPy.OPT, an open-source Python framework for metaheuristic optimization built on the FEALPy computational infrastructure. It integrates a unified optimizer abstraction with multi-backend tensor computation, supporting NumPy and PyTorch backends on CPU and GPU platforms. To evaluate its computational performance, five metaheuristic algorithms are tested on ten benchmark functions under three problem scales, with population sizes ranging from 100 to 10,000 and dimensions from 30 to 100. The results show that NumPy/CPU achieves the shortest average runtime for small-scale problems, whereas PyTorch/GPU becomes increasingly advantageous as the problem scale grows. For large-scale problems, PyTorch/GPU is approximately 9.50 times faster than PyTorch/CPU and 32.96 times faster than NumPy/CPU. These findings demonstrate the value of multi-backend and multi-platform support for improving the computational flexibility and efficiency of metaheuristic optimization.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AscendMOEA: An Ascend NPU-Accelerated Platform for Tensorized Multi-Objective Evolutionary AlgorithmsarXiv · 2026
- A Comparative Study of Metaheuristics on Raspberry Pi 5: Results to Guide Optimization on Constrained Edge DevicesThe Eurasia Proceedings of Science Technology Engineering and Mathematics · 2026
- gpuGEM: GPU-based linear optimisation of genome-scale metabolic modelsarXiv · 2026
- Pyoframe: A Python Library to Easily and Efficiently Construct Large Optimization ModelsarXiv · 2026
- Which Model Belongs in the Loop? Evaluating Fitness Functions for Network Topology Optimization with a Quality-Diversity AlgorithmarXiv · 2026
- PySOA: a novel bio-inspired python snake optimization algorithmCluster Computing · 2026