Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T TSPSD
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • imr
  • TSPSD
  • Wiki
  • Home

Home · Changes

Page history
Update home authored Jul 08, 2024 by David Woller's avatar David Woller
Hide whitespace changes
Inline Side-by-side
home.md
View page @ 82f80ed2
...@@ -3,7 +3,7 @@ This repository contains algorithms and datasets for the Travelling Salesperson ...@@ -3,7 +3,7 @@ This repository contains algorithms and datasets for the Travelling Salesperson
This wiki contains instructions on installation and example usage. This wiki contains instructions on installation and example usage.
For further assistance, you can contact the maintainer: [wolledav@cvut.cz](wolledav@cvut.cz) For further assistance, you can contact the maintainer: [wolledav@cvut.cz](wolledav@cvut.cz)
First, download the repository and perform the following steps in its base directory. Download the repository and perform the following steps in its base directory.
# Weak Path-Conforming Circle Placement Problem (WPCCP) with fixed radius # Weak Path-Conforming Circle Placement Problem (WPCCP) with fixed radius
WPCCP was first introduced in the paper *[Where to place a pile?](https://www.researchgate.net/publication/374246979_Where_to_Place_a_Pile)*. WPCCP was first introduced in the paper *[Where to place a pile?](https://www.researchgate.net/publication/374246979_Where_to_Place_a_Pile)*.
...@@ -22,6 +22,10 @@ Only the variant with fixed radius is needed in TSP-CP. ...@@ -22,6 +22,10 @@ Only the variant with fixed radius is needed in TSP-CP.
## Installation ## Installation
The source codes are written in C++ and do not require any external libraries.
In Ubuntu or Debian OSs, the build-essential package has to be installed.
The code depends on the Boost library (typically installed with build-essential).
In the project base directory, run: In the project base directory, run:
``` ```
cd circplace_orig/ cd circplace_orig/
...@@ -33,6 +37,34 @@ make ...@@ -33,6 +37,34 @@ make
This will create the executable `./build/circplace_weak` This will create the executable `./build/circplace_weak`
## Usage ## Usage
In the project base directory, run:
```
circplace_orig/build/circplace_weak -i ./data/circplace/grids/ -p mesh115 -o ./demo_out -r 30
```
Parameters: \
-i . . . input problem directory\
-p . . . problem instance name\
-o . . . output directory\
-r . . . required circle radius
## Soft WPCCP variant
This variant returns a solution with the least possible number of collisions between circles and the TSP path. It needs to be compiled to run the TSP-CP algorithm.
In the project directory, run:
```
cd circplace_soft/
mkdir build
cd build
cmake ..
make
```
Usage:
```
circplace_soft/build/circplace_weak -i ./data/circplace/grids/ -p mesh115 -o ./demo_out -r 35
```
# Travelling Salesperson Problem with Self-deleting graphs (TSP-SD) # Travelling Salesperson Problem with Self-deleting graphs (TSP-SD)
......
Clone repository
  • Home