Free cookie consent management tool by TermsFeed Policy Generator

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1023 closed feature request (done)

Implement UserDefinedProblem

Reported by: abeham Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.1
Component: Optimization Version: 3.3.1
Keywords: Cc:

Description

The external evaluation problem as of r3865 is close to a user defined problem, but has a special evaluator and a driver parameter. It would be good to extract the generic parts and implement a user defined problem that can be used to quickly prototype a new problem.

Change History (9)

comment:1 Changed 14 years ago by abeham

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

comment:2 Changed 14 years ago by abeham

r3871

  • Added UserDefinedProblem
  • Added a couple of operators: UserDefined(Crossover|Manipulator|Evaluator|SolutionCreator) derived from an abstract class UserDefinedOperator

comment:3 Changed 14 years ago by abeham

One problem with the current implementation of UserDefinedProblem is that its Evaluator is initially null. Unfortunately all of the Algorithms assume that Problem.Evaluator is not null, so there are some NullReferenceExceptions flying.

I can see following two solutions:

  1. Either change all the algorithms to include a null-check on Problem.Evaluator before using it
  2. Or create a dummy evaluator (in HeuristicLab.Optimization)

comment:4 Changed 14 years ago by abeham

r3880

  • Added EmptyUserDefinedProblemEvaluator and set as default evaluator in UserDefinedProblem
  • Reverted accidental change to ES

comment:5 Changed 14 years ago by abeham

  • Resolution set to fixed
  • Status changed from assigned to closed

The user defined problem has been implemented. Further changes and requests should go into separate tickets.

comment:6 Changed 14 years ago by abeham

  • Version changed from 3.3 to 3.3.1

comment:7 Changed 14 years ago by abeham

  • Type changed from enhancement to feature request

comment:8 Changed 14 years ago by swagner

  • Milestone changed from Iteration 4 to Current

Milestone Iteration 4 deleted

comment:11 Changed 14 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.