Test. To get normal way modify simplex and delete the maximisation