BUG: optimize: mark constraint violations in cobyla as failed solution
Merge pull request #2893 from pv/cobyla-cv

BUG: optimize: mark constraint violations in cobyla as failed solution