A native swift library for performing maximization/minimization