Git Product home page Git Product logo

Comments (1)

gaocrr avatar gaocrr commented on August 28, 2024

Hello! Thanks for your interest in our work. I have checked the solutions of a280 and identified that out of the total of 2240 solutions (i.e., pomo_size * aug), 18 were found to be invalid. Fortunately, the best solution that we report in the paper is valid and this validity issue does not occur when solving other instances.

I have located the bug in lines 72 and 290 of the "models.py" file. This bug is a numerical error that occurs due to division by zero.
sorted_dist = sorted_dist / sorted_dist.max(-1)[0].unsqueeze(-1)
dist_penalty = - sorted_dist / sorted_dist.max(-1)[0].unsqueeze(-1)
The presence of 'NaN' values in the action probability results in the policy selecting random actions, which can potentially violate the constraints. Typically, the max value in the distance matrix is a positive number. However, in the case of the a280 instance, there may be nodes that are too close together, causing the distance to become extremely small and resulting in a division by zero error. This bug can be easily resolved by adding a small positive number to the denominator For example,
sorted_dist = sorted_dist / (sorted_dist.max(-1)[0].unsqueeze(-1) + 1e-6)

We will fix this bug as soon as possible. Note that this bug does not occur on the best solution of a280. Therefore, the results we have reported do not require any updates. If you have any further concerns or questions, please let us know. Thank you for bringing this to our attention!

from elg.

Related Issues (1)

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.