Optimization library for working with data