Coder Social home page Coder Social logo

l2t's Introduction

L2T

Source code for Learn to Tour: Operator Design For Feasible Solution Mapping

Data

The default path to data instances is data/tsppdlib/instances/random-uniform, which is from TSPPD Test Instance Library. Or you could use --instance_dir to customize the directory path.

.
├── L2T
│   ├── src
│   ├── data
│   │   ├── tsppdlib
│   │   │   ├── instances
│   │   │   │   ├── random-uniform
│   │   │   │   |   ├──random-002-00232.tsp
│   │   │   │   |   └──...
│   └── main.py
└── U
│   ├──random-002-00232.2360.tour
|   └──...

You could also provide the path to LKH3 results, which will be used for comparison during the training. It can be downloaded from its website. The results are located at TOURS/U

To run the code, you could run main.py:

python main.py --num_O 5 -et 10000 -el 10000 --episode 10 --n_steps 2000 --n_gradient_steps 20 -lr 1e-3 --batch_size 1000 --lkh3_dir ../U --ortools_dir None

l2t's People

Contributors

zhengkunpan avatar bwfbowen avatar

Stargazers

 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.