Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-22

Planner: tabu size is not respected when there are multiple tabus per property tabu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.4.0.Final
    • None
    • optaplanner-core
    • None

      This code is the problem in AbstractTabuAcceptor:

      while (tabuSequenceList.size() >= maximumTabuListSize) {

      Consider these moves:
      move 1 (tabu A, tabu B, tabu C)
      move 2 (tabu D, tabu E, tabu F, tabu G)
      move 3 (tabu A, tabu B)

      and a tabu move size of 4, then move 3 isn't seen as tabu with move 1, while it should be!

            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: