Opened 2 years ago

Closed 22 months ago

#2696 closed defect (done)

Clear BestKnownSolution and BestKnownQuality when problem instances changes

Reported by: abeham Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.15
Component: Problems.VehicleRouting Version: 3.3.14
Keywords: Cc:


The BKS and BKQ might likely be invalid when the instance data changes. Keeping the old BKS also leads to exceptions being shown to the user as the old tour is evaluated on e.g. a smaller instance.

Change History (6)

comment:1 Changed 22 months ago by mkommend

  • Owner set to abeham
  • Status changed from new to assigned

comment:2 Changed 22 months ago by abeham

  • Status changed from assigned to accepted

comment:3 Changed 22 months ago by abeham


  • Added additional event handlers to detect change of problem instance data
  • Cleared best known solution if it cannot be evaluated anymore due to an exception, e.g. structural change
  • Cleared distance matrix in case coordinates change

comment:4 Changed 22 months ago by abeham

  • Owner changed from abeham to pfleck
  • Status changed from accepted to reviewing

comment:5 Changed 22 months ago by pfleck

  • Owner changed from pfleck to abeham
  • Status changed from reviewing to readytorelease

Tested and Reviewed r15168:

  • Added event-handlers works, thanks.
  • Clearning BKS/BKQ after exception is nice.
  • Clearning distance matrix after coordinate change is ok. In the future it would be cool if we could offer a "Recalculate Distance-Matrix"-Button.

comment:6 Changed 22 months ago by abeham

  • Resolution set to done
  • Status changed from readytorelease to closed

r15219: merged revisions 15072, 15083, 15168 to stable

Note: See TracTickets for help on using tickets.