Doesn't matter. A 50 dimensional search space with 1000 possible values in each dimension has ~10^1700 possible states. That's a number you can't search exhaustively in the age of the universe even if you turned the whole thing into one computer. And this is not a large problem, you run into similar ones in the average gear wheel design.