TL;DR
This paper proposes a novel approach to solve the Orienteering Problem (OP) by decomposing it into a Knapsack Problem (KP) and a Traveling Salesperson Problem (TSP). They introduce a Dual-Population Coevolutionary Algorithm (DPCA) for the KP and a Dynamic Pointer Network (DYPN) trained with Reinforcement Learning for the TSP, achieving strong performance and generalization capabilities.
What Problem Does This Paper Address?
The Orienteering Problem (OP) is a classic combinatorial optimization challenge where the goal is to find a route that maximizes the total score of visited locations within a given time or distance constraint. This problem has real-world applications in areas like tourist trip planning and logistics. While traditional methods exist, they often struggle with large-scale instances, dynamic data, and generalization to new problem variations. Existing deep learning approaches for OPs, while promising, can be computationally expensive to train and may not generalize as well across different problem scales and constraints. This paper aims to address these limitations by proposing a more efficient and generalizable solution through problem decomposition.
Methods
The core innovation of this paper is the decomposition of the OP into two subproblems: a Knapsack Problem (KP) and a Traveling Salesperson Problem (TSP).
- KP Solver (DPCA): For the KP, which focuses on selecting the most valuable nodes within constraints, the authors propose a Dual-Population Coevolutionary Algorithm (DPCA). This algorithm maintains two populations simultaneously: one for feasible solutions and one for infeasible solutions. This dual-population strategy is designed to improve population diversity and prevent premature convergence to local optima, especially when dealing with complex constraints. A greedy strategy is used for initial population generation.
- TSP Solver (DYPN): For the TSP, which involves finding the optimal path among the selected nodes, a Dynamic Pointer Network (DYPN) is introduced. This is an enhanced Pointer Network (PN) that incorporates an attention mechanism and dynamically integrates node distance information. The DYPN is trained using the REINFORCE algorithm, a policy gradient method. The DYPN's architecture includes an encoder that generates static and dynamic embeddings for nodes and a decoder with an RNN and a context-based attention mechanism to output the node visitation sequence. The dynamic embeddings are particularly highlighted for capturing problem structure and improving learning efficiency.
The overall framework, termed EA-DRL, combines the DPCA (EA) and DYPN (DRL) to solve the OP.
Datasets
- Training Data: The DYPN models were trained on randomly generated TSP instances with 20, 50, and 100 nodes. The locations of these nodes were sampled uniformly from a unit square. Node scores and capacities were not required for training the DYPN, contributing to its generalization.
- Evaluation Data: For evaluating the EA-DRL framework, OP instances with varying scales (20 to 200 nodes) and capacity constraints were generated, as listed in Table I. These instances were used to compare the proposed method against baselines.
Key Insights and Ideas
- Decomposition is Key: Breaking down the complex OP into a KP and a TSP significantly simplifies the problem and allows for specialized solvers to be applied effectively. This modular approach is a major contribution.
- Dual-Population for Constraints: The DPCA's strategy of maintaining both feasible and infeasible populations is a clever way to handle constraints in the KP selection phase, promoting diversity and preventing local optima.
- Dynamic Embeddings for TSP: Incorporating dynamic distance information into the DYPN's attention mechanism allows the TSP solver to better capture the problem's structure and improve learning efficiency and convergence speed compared to static approaches.
- Generalization through TSP Focus: By training the TSP solver (DYPN) on TSP instances without node scores or capacities, the model learns to solve the routing aspect more generally. The KP solver (DPCA) then handles the specific OP constraints. This separation leads to better generalization across different OP instances.
- Transfer Learning Potential: The paper discusses fine-tuning pre-trained DYPN models for specific test instances, demonstrating the potential for rapid adaptation and improved performance on unseen problems.
Key Results
- Superior Performance: The proposed EA-DRL framework consistently outperformed conventional approaches like GA and GS, and also showed advantages over the state-of-the-art deep learning model AM, particularly on larger instances.
- Reduced Gaps: EA-DRL achieved significantly smaller gaps (average 1.13%) compared to Gurobi (an exact solver) than the AM (average 4.98%) on test instances.
- Improved Generalization: EA-DRL demonstrated strong generalization abilities across different problem scales and node score distributions, outperforming the AM, which struggled with scale changes.
- Faster Training: While not as fast as AM in inference, the DYPN required fewer training epochs (10) compared to the AM (100) for comparable performance on TSP tasks.
- Fine-tuning Benefits: Fine-tuning the EA-DRL model on specific instances led to even better performance, with EA-DRL-FT achieving an average gap of -0.68% (slightly better than Gurobi).
Limitations and Future Work
- Inference Time: While faster than traditional heuristics, the EA-DRL framework's inference time can reach the minute level, which might be a limitation for applications requiring near-instantaneous solutions.
- Fine-tuning Cost: The fine-tuning process, while beneficial, is time-consuming.
- Future Directions: The authors suggest that their framework has potential for more complex OP variants, such as multi-objective and multimodal OPs, due to the advantages of EAs. Future work could focus on reducing inference time and further improving solution quality for dynamic problems.
Summary updated