Algorithm can exit prematurely when optim() causes an individual to violate a constraint

Bug #184691 reported by Ben Goodrich
2
Affects Status Importance Assigned to Milestone
FAiR
Fix Committed
High
Ben Goodrich

Bug Description

This bug is hard to trigger, but occurs because the gr_fitS4 methods return a gradient of .Machine$double.eps when one of the constraints is violated. It is somehow possible for an individual to be at a location in the parameter space where the constraint holds exactly, move a tiny bit in the wrong direction, stop due to the zero gradient, and nevertheless have the fitS4 be superior to all other individuals for wait.generations.

Ben Goodrich (bgokgm)
Changed in fair:
assignee: nobody → bgokgm
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Ben Goodrich (bgokgm) wrote :

This bug was fixed at some point by removing an unnecessary line that was overwriting the correct value.

Changed in fair:
status: Confirmed → Fix Committed
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.