VariableNeighborhoodSearch doesn't react to disabled analyzers
|Reported by:||abeham||Owned by:||abeham|
Analyzers in a VNS are executed even when all of them are unchecked.
I also got an exception when I created a new VNS, assigned a QAP (or a TSP) to it, and unchecked all analyzers. If you run this it should say:
OperatorExecutionException: An exception was thrown by the operator "BestQAPSolutionAnalyzer": An item with the same key has already been added. at HeuristicLab.SequentialEngine.SequentialEngine.Run(CancellationToken cancellationToken) in C:\Users\abeham\Work\HL3\trunk\sources\HeuristicLab.SequentialEngine\3.3\SequentialEngine.cs:line 75 at HeuristicLab.Core.Engine.Run(Object state) in C:\Users\abeham\Work\HL3\trunk\sources\HeuristicLab.Core\3.3\Engine.cs:line 153 at System.Threading.Tasks.Task.Execute()
If you check it, it works fine. I have no explanation for that behavior.
Change History (9)
comment:6 Changed 3 years ago by gkronber
- Owner changed from svonolfe to abeham
- Status changed from accepted to assigned
comment:8 Changed 3 years ago by abeham
- Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 3.3.7
- Status changed from reviewing to readytorelease