MIT's new algorithm could solve thorny optimization problems