Opened 20 months ago

Last modified 2 months ago

#2855 readytorelease defect

Showing the encoding or its operators in the run is highly wasteful

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


Runs generated by solving a BasicProblem are typically larger than those that solve a HeuristicOptimizationProblem. BasicProblems define an Encoding which usually contains several operators. The Encoding and its operators are added to the parameters of each run which in turn creates a noticeable memory overhead (especially for larger experiments). Similar optimizations have been performed in the past, that e.g. operators in the run are stored only by their name (StringValue) instead of by their full type.

Attachments (1)

ShowInRun.patch (2.1 KB) - added by abeham 20 months ago.
The patch sets the GetsCollected property to false for the mentioned parameters

Download all attachments as: .zip

Change History (6)

Changed 20 months ago by abeham

The patch sets the GetsCollected property to false for the mentioned parameters

comment:1 Changed 20 months ago by abeham

Discussion at architects meeting:

  • Revert BasicProblem change and instead override GetCollectedValues in Encoding and return string of Encoding

comment:2 Changed 7 months ago by gkronber

  • Owner set to architects
  • Status changed from new to assigned

comment:3 Changed 6 months ago by jkarder

  • Owner changed from architects to abeham

comment:4 Changed 2 months ago by abeham

  • Owner changed from abeham to gkronber
  • Status changed from assigned to reviewing

r16860: Reduced footprint of encoding in run

  • Instead of the encoding instance, only its name is added to the run (necessary to change in BasicProblem)
  • By default the operators parameter of an encoding is set to not be collected (change in Encoding)

comment:5 Changed 2 months ago by gkronber

  • Status changed from reviewing to readytorelease

I reviewed r16860 and found no problems.

Note: See TracTickets for help on using tickets.