@adonath I remembered I had a problem passing a derivative to slsqp and wondered if you've tried it. But that's fine, I'll work on it. I am also working on a largish PR to simplify handling of constraints. Thanks for this work.