How to minimize a real function with only integer input
问题 Which optimization algorithms work for integer input, float output? One thought is just using Brent search but making up a method that interpolates two nearest points to fake a real number input as opposed to an integer input. My second thought is that seems like such a common need, there must already be something in scipy to do it and/or an algorithm more suited for it? Bisect certainly works for this, but for huge inputs, its convergence time could be improved. Something hybrid like Brent