I have a function which takes as inputs n-dimensional (say n=10) vectors whose components are real numbers varying from 0 to a large positive number A say 50,000, ends included. For any such vector the function outputs an integer from 1 to say B=100. I have this function and want to find its global minima. Which are the best techniques suggested to solve this problem? Problem arises because this function assumes ""constant on an (n-D) neighbourhood"" behavior as rightly pointed out by Peter. The function does not have any other interesting property other than that as far as i can tell.