Distributed, Map/Reduce based general optimization library