Git Product home page Git Product logo

chaitjo / learning-paradigms-for-tsp Goto Github PK

View Code? Open in Web Editor NEW
27.0 4.0 4.0 145.44 MB

Code for the paper 'On Learning Paradigms for the Travelling Salesman Problem' (NeurIPS 2019 Graph Representation Learning Workshop)

Home Page: https://arxiv.org/abs/1910.07210

License: MIT License

Python 82.93% Shell 12.20% C++ 4.87%
deep-learning combinatorial-optimization travelling-salesman-problem pytorch geometric-deep-learning graph-neural-networks

learning-paradigms-for-tsp's People

Contributors

chaitjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

learning-paradigms-for-tsp's Issues

Some problems about the details of generalizing to various size

Hi!^_^
It's a good job and I'm so interested in your researches!

When I read the paper 'On Learning Paradigms for the Travelling Salesman Problem',I met some problems confusing me.

In the experiment, you train the supervised model on the fixed size like TSP20, then evaluate the generalization ability by testing the pre-trained model on variable size like TSP50 or TSP100.

However, the shape of input feature tensor will vary according to the problem size. For example, the shape of adjacency matrix for TSP20 may be 20 x 20, while it may change into 50 x 50 for TSP50.

So I wonder that how do you deal with this problem so that you can test supervised model on different sizes of TSP?

Maybe I miss some key points when I read your paper, and sorry for disturbing you.
It will be so kind of you if you can solve my problems!

运行错误

class BatchBeam(NamedTuple):

RuntimeError: class not set defining 'BatchBeam' as <class 'utils.beam_search.BatchBeam'>. Was classcell propagated to type.new?

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.