deltarepo: use real cost during solving