Opened 2 years ago

Closed 6 months ago

#2855 closed defect (done)

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: merged Cc:

Description

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 2 years ago.
The patch sets the GetsCollected property to false for the mentioned parameters

Download all attachments as: .zip

Change History (9)

Changed 2 years ago by abeham

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

comment:1 Changed 2 years ago by abeham

Discussion at architects meeting:

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

comment:2 Changed 14 months ago by gkronber

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

comment:3 Changed 13 months ago by jkarder

  • Owner changed from architects to abeham

comment:4 Changed 9 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 9 months ago by gkronber

  • Status changed from reviewing to readytorelease

I reviewed r16860 and found no problems.

comment:6 Changed 7 months ago by abeham

  • Keywords depends-2520 added

comment:7 Changed 7 months ago by abeham

  • Keywords merged added; depends-2520 removed

r17116: merged to stable (16860)

comment:8 Changed 6 months ago by abeham

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