Free cookie consent management tool by TermsFeed Policy Generator

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#1027 closed defect (done)

Exception in Clone when running an algorithm

Reported by: abeham Owned by: swagner
Priority: high Milestone: HeuristicLab 3.3.1
Component: Optimization Version: 3.3.1
Keywords: Cc: mkommend

Description

When running an algorithm in quick succession there is sometimes an Exception in Engine.Clone because ExecutionState = started.

To reproduce, build HL from VS 2008 and start with Debugger attached:

  1. Create a new SGA
  2. Add a problem (e.g. TestFunctions)
  3. Set the MaximumGenerations to 50 so that the Algorithm quickly terminates
  4. Open the results tab
  5. Click "Solve" and when the algorithm is finished quickly click "Prepare" followed by "Solve"

I did not test in any other configuration.

Change History (9)

comment:1 Changed 15 years ago by mkommend

  • Cc mkommend added

comment:2 Changed 15 years ago by abeham

There is another related issue: If an algorithm is stopped, and then immediately prepared, the resulting run does not contain the results. The prepare operation deleted all results before they could be cloned.

comment:3 Changed 14 years ago by swagner

  • Component changed from ### Undefined ### to Core

comment:4 Changed 14 years ago by swagner

  • Status changed from new to assigned

comment:5 Changed 14 years ago by swagner

  • Component changed from Core to Optimization

comment:6 Changed 14 years ago by swagner

  • Version changed from 3.4 to 3.3.1

comment:7 Changed 14 years ago by swagner

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

Fixed in r4070.

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.