Optimal reward harvesting in complex perceptual environments | Synapse