Crash if EA -> SA algorithm order is used

Bug #1399716 reported by ariel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geneva Optimization
Fix Released
Medium
Ruediger Berlich

Bug Description

User reports:

We use "Mont Blanc" - Geneva 1.2.
If EA -> SA algorithm order is used, SA-algorithm throws exception in runFitnessCalculation()-Function due to set dirty flag.
i.e. GSerialSA::runFitnessCalculation(), line 256

The DEBUG-Macro is defined.

SA -> EA order works fine.
EA -> GD, SA -> GD as well

Revision history for this message
Ruediger Berlich (rberlich) wrote :

Confirmed for the current trunk version, using 02_GSimpleParabola. go & "sa" & "ea" & "sa"; crashes after "ea" with message:

End of optimization reached in algorithm "Evolutionary Algorithm"
Starting an optimization run with algorithm "Simulated Annealing"
terminate called after throwing an instance of 'Gem::Common::gemfony_error_condition'
  what():
================================================
ERROR (recorded on 2014-Dec-06 19:36:01)
in file /home/rberlich/Progs/Geneva/src/geneva/GMultiThreadedSA.cpp near line 265

In GMultiThreadedSA::runFitnessCalculation(): Error!
Tried to evaluate "clean" children.

If you suspect that this error is due to Geneva,
then please consider filing a bug via
http://www.gemfony.eu (link "Bug Reports") or
through http://www.launchpad.net/geneva

We appreciate your help!
The Geneva team
================================================

Thanks for catching this.

Changed in geneva:
importance: Undecided → Medium
status: New → Confirmed
ariel (garcia)
Changed in geneva:
milestone: none → 1.4.1
Revision history for this message
Ruediger Berlich (rberlich) wrote :

When individuals are handed from one algorithm to the other, they may be clean. This was taken care of in EA, but not in SA.

Changed in geneva:
status: Confirmed → Fix Committed
Revision history for this message
Ruediger Berlich (rberlich) wrote :

I believe this is fixed now. SA is really just a special kind of EA, we follow the same strategy in SA now.

ariel (garcia)
Changed in geneva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.