Optimize a function returning a single numeric value subject to a boolean constraint Utilizes a naive recursive grid search.
Useful links