This is Andrew Foot(2177545) Masters dissertation for UoB computer science.
An indepth analysis of the performance of traverling saleperson problem compared to a lookahead convex hull insertion.
Only tested on Windows but theortically can be built on Linux.
(Optional) OneAPI - Base Toolkit
- Install Visual Studio 2022 with the "Desktop development with C++" workload
- Open "TSP_Solution/TSP_Solution.sln"
- Run the OneAPI Base Toolkit installer then OneAPI HPC
- Reboot your computer
- Install QT6 with QT/<QT_version>/MSVC 2022 64-bit module
- Add QT VS Tools extension to Visual Studio
- Add QT Version to Visual Studio
- Install vcpkg:
git clone https://github.com/microsoft/vcpkg.gitcd vcpkg./bootstrap-vcpkg.bat
- Install libxlsxwriter:
./vcpkg install libxlsxwriter - Install GSL:
./vcpkg install ms-gsl - Integrate with Visual Studio:
./vcpkg integrate install
If you didn't install all additional build tools use the table below to unselect the building of certain projects in Visual Studio Build->Configuration Manager
| Project | VS22 | QT6 | CPP Libraries |
|---|---|---|---|
| Empericial_Testing | ✅ | ✅ | ✅ |
| File_Reader | ❌ | ❌ | ✅ |
| TSP_GUI | ❌ | ✅ | ❌ |
| Unit_Tests | ✅ | ✅ | ✅ |
Use Ctrl+Shift+B to build all projects, there should be zero errors but some warnings from external libraries.
Either run the newly created .exe files or select the project you want running in Visual Studio and run local debugger. To select the current project in VS2022:
- Locate Solution Explorer
- Click on Solution 'TSP_Solution' at the very top of the tree
- Press
Alt+Enter - Change the "Single startup project" drop down box to the project you want to run and save
- Run the project with
ctrl+f5