Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-725

Multithreaded solving fails on TSP/VRP because Supply's are inside Chained Moves and don't get rebased.

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.1.0.GA
    • Fix Version/s: 7.1.0.GA
    • Component/s: OptaPlanner
    • Labels:
      None

      Description

      Caused by: java.lang.IllegalArgumentException: The entity (Kiev) was never added to this ScoreDirector.
      Maybe that specific instance is not in the return values of the PlanningSolution's entity members ([visitList]).
      	at org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.update(DroolsScoreDirector.java:197)
      	at org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.afterVariableChanged(DroolsScoreDirector.java:186)
      	at org.optaplanner.core.impl.score.director.AbstractScoreDirector.changeVariableFacade(AbstractScoreDirector.java:434)
      	at org.optaplanner.core.impl.heuristic.selector.move.generic.chained.ChainedChangeMove.doMoveOnGenuineVariables(ChainedChangeMove.java:70)
      	at org.optaplanner.core.impl.heuristic.move.AbstractMove.doMove(AbstractMove.java:40)
      	at org.optaplanner.core.impl.heuristic.move.AbstractMove.doMove(AbstractMove.java:30)
      	at org.optaplanner.core.impl.score.director.AbstractScoreDirector.doAndProcessMove(AbstractScoreDirector.java:175)
      	at org.optaplanner.core.impl.heuristic.thread.MoveThreadRunner.run(MoveThreadRunner.java:145)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rsynek Radovan Synek
                  Reporter:
                  ge0ffrey Geoffrey De Smet
                  Tester:
                  Radovan Synek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: