Partial functionality for global min from Python.