This method was proposed by Danzig in 1951 and named by Charnes and Cooper "the northwest corner rule".
The essence of the method consists in sequential enumeration of the rows and columns of the transport table, starting from the left column and the top row, and writing out the maximum possible shipments in the corresponding table cells so that the supplier's or consumer's requirements stated in the problem are not exceeded.
The delivery prices are not paid attention to in this method, since further optimization of shipments is performed using the potential method.
Enter the number of suppliers:
Enter the number of consumers: