Giter VIP home page Giter VIP logo

Comments (5)

N-Wouda avatar N-Wouda commented on May 31, 2024

@rlacjfjin thanks for opening an issue!

I find it difficult to understand your question. What's the same as what? Can you perhaps rephrase, or explain in more detail?

from alns.

rlacjfjin avatar rlacjfjin commented on May 31, 2024

I think ThresholdAccept and RecordToRecordTravel are same codes in call function.
Is it true?

from alns.

N-Wouda avatar N-Wouda commented on May 31, 2024

No, TA compares against the current solution; RRT against the global best:

>>>diff RecordToRecordTravel.py ThresholdAccept.py

<     def __call__(self, rnd, best, current, candidate):
<         # This follows from the paper by Dueck (1993), p. 87.
<         result = (candidate.objective() - best.objective()) <= self._threshold
---
>     def __call__(self, rnd, best, curr, cand):
>         # This follows from the paper by Dueck and Scheueur (1990), p. 162.
>         res = cand.objective() - curr.objective() <= self._threshold

Do note that these APIs are not yet set in stone - they are not yet released. In particular, I suspect we might merge RRT and TA into one class, and have the behaviour depend on a parameter.

from alns.

rlacjfjin avatar rlacjfjin commented on May 31, 2024

I'm following your project, and I see new submissions.
I've checked what has changed, sorry for disturbing you.
It's ok now,
thanks

from alns.

N-Wouda avatar N-Wouda commented on May 31, 2024

No worries, I am glad we could clear this up!

from alns.

Related Issues (20)

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.