Parallel Distributed Branch-and-Bound Solution in RMI for TSP Problem
VerifiedAdded on 2021/09/17
|18
|829
|98
Project
AI Summary
This project presents a solution to the Traveling Salesman Problem (TSP) using the branch and bound algorithm implemented in Java, leveraging the Remote Method Invocation (RMI) API for distributed computing across a local network of eight clients and one server. The system comprises a server class (TSP) and client classes (Process Nodes) that communicate through a stub class compiled using rmic. The GUI class enables users to input city distances and calculate travel costs. The project details the source code of each class, including the TSP, client, and interface classes, showcasing the implementation of parallel computation. The findings highlight the efficiency of RMI in solving TSP as more processors are added, with a graph illustrating the time taken to find the best tour value. The process involves the server providing nodes to clients, and clients reporting better tour values back to the server. The project references several key texts on distributed systems, Java network programming, and concurrent programming, demonstrating a comprehensive approach to solving the TSP using a distributed and parallel computing framework.
1 out of 18