GithubHelp home page GithubHelp logo

yangqings / ceop-grasp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from comrob/ceop-grasp

0.0 1.0 0.0 1.6 MB

GRASP based solver for the Close Enough Orienteering Problem

License: BSD 2-Clause "Simplified" License

Makefile 3.68% Shell 1.83% C++ 94.48%

ceop-grasp's Introduction

Greedy Randomized Adaptive Search Procedure for Close Enough Orienteering Problem

Overview

Greedy Randomized Adaptive Search Procedure was extended for solving Close Enough Orienteering Problem. The method has been introduced in this article.

@inproceedings{stefanikova20greedy,
  title={Greedy randomized adaptive search procedure for close enough orienteering problem},
  author={{\v{S}}tefan{\'\i}kov{\'a}, Petra and V{\'a}{\v{n}}a, Petr and Faigl, Jan},
  booktitle={Proceedings of the 35th Annual ACM Symposium on Applied Computing},
  pages={808--814},
  year={2020},
  doi={10.1145/3341105.3374010}
}

CEOP Example

CEOP example

Instruction to build from source

The script dowlownds and install all needed libraries.

./install.sh

Instruction to run GRASP-based algorithm

To run the code, the sources (C++11) need to be compiled using make, see example.sh. (Tested on Ubuntu 18.04).

make

./grasp_ceop \
    --gui=cairo \
    --problem=./etc/op-chao_set64-rad0.5.txt \
    --budget=40 \
    --output=results.example \
    --waypoint-optimization=0 \
    --wait-to-click=0

Configuration

All possible configurations are shown by ./grasp_ceop -h. The configuration can be determined at launch by flags or in the grasp_ceop.cfg file.

The most important configuration flags:

FLAG VALUES DESCRIPTION
gui cairo, none enable/disable graphics visualization
problem problem file from ./etc directory problem desription file (position of nodes)
budget positive number OP budget
waypoint-optimization 0, 1 enable/disable waypoint optimization in the Local Search Phase
wait-to-click 0, 1 enable/disable waiting for click after redrawing new best path

ceop-grasp's People

Contributors

stefanikovap avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.