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

TSP example corrupted after a problem change

XMLWordPrintable

    • 2022 Week 14-16 (from Apr 4)
    • Hide

      1. cd optaplanner-examples & mvn exec:java
      2. open the Traveling salesman example
      3. pick any dataset and start solving
      4. during solving, left-click on the canvas

      Show
      1. cd optaplanner-examples & mvn exec:java 2. open the Traveling salesman example 3. pick any dataset and start solving 4. during solving, left-click on the canvas
    • NEW
    • NEW

      Traveling salesman example throws an exception informing about a chained domain corruption after a problem change:

      java.lang.IllegalStateException: The supply (ExternalizedSingletonInverseVariableSupply(previousStandstill)) is corrupted, because the entity (Amsterdam) for sourceVariable (previousStandstill) cannot be retracted: the entity was never inserted for that value (Luxembourg).

      The issue starts manifesting since the commit https://github.com/kiegroup/optaplanner/commit/01bf1996554c1fd8c07d18975d6c0f83949a2ae1.

              jlocker Jiří Locker (Inactive)
              rsynek@redhat.com Radovan Synek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: