[new] simplex algorithm