Library searching for solutions to multi-dimensional optimization problems