Free cookie consent management tool by TermsFeed Policy Generator

Opened 12 years ago

Closed 12 years ago

#1839 closed defect (done)

The TestFunctions evaluators throw an exception after changing the problem

Reported by: jkarder Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.7
Component: Algorithms.ParticleSwarmOptimization Version: 3.3.7
Keywords: Cc:

Description

Create a new PSO algorithm, add a new TestFunctions problem, change the problem and run the algorithm.

OperatorExecutionException: An exception was thrown by the operator "AckleyEvaluator": Object reference not set to an instance of an object.
   at HeuristicLab.SequentialEngine.SequentialEngine.Run(CancellationToken cancellationToken)
   at HeuristicLab.Core.Engine.Run(Object state)
   at System.Threading.Tasks.Task.Execute()
-----
NullReferenceException: Object reference not set to an instance of an object.
   at HeuristicLab.Problems.TestFunctions.AckleyEvaluator.Apply(RealVector point)
   at HeuristicLab.Problems.TestFunctions.AckleyEvaluator.EvaluateFunction(RealVector point)
   at HeuristicLab.Problems.TestFunctions.SingleObjectiveTestFunctionProblemEvaluator.Apply()
   at HeuristicLab.Operators.Operator.Execute(IExecutionContext context, CancellationToken cancellationToken)
   at HeuristicLab.SequentialEngine.SequentialEngine.Run(CancellationToken cancellationToken)

Change History (6)

comment:1 Changed 12 years ago by epitzer

  • Status changed from new to accepted

comment:2 Changed 12 years ago by epitzer

r7781 allow preparing PSO with invalid problem and configure algorithm to run until the PSO main loop which does nothing (similar to e.g. Tabu Search)

comment:3 Changed 12 years ago by epitzer

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

comment:4 Changed 12 years ago by mkommend

  • Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 3.3.7

comment:5 Changed 12 years ago by abeham

  • Status changed from reviewing to readytorelease

ok

comment:6 Changed 12 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.6 to 3.3.7
Note: See TracTickets for help on using tickets.