Opened 7 years ago
Closed 5 years 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)
Change History (9)
Changed 7 years ago by abeham
comment:1 Changed 7 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 6 years ago by gkronber
- Owner set to architects
- Status changed from new to assigned
comment:3 Changed 6 years ago by jkarder
- Owner changed from architects to abeham
comment:4 Changed 6 years 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 6 years ago by gkronber
- Status changed from reviewing to readytorelease
I reviewed r16860 and found no problems.
comment:6 Changed 5 years ago by abeham
- Keywords depends-2520 added
comment:7 Changed 5 years ago by abeham
- Keywords merged added; depends-2520 removed
r17116: merged to stable (16860)
comment:8 Changed 5 years ago by abeham
- Resolution set to done
- Status changed from readytorelease to closed
The patch sets the GetsCollected property to false for the mentioned parameters