Add simplex algorithm