A more complex, but resource-efficient method is the pivot operation: ==Select a non-basic variable inside with a negative value and bring it in the basic variables ()== As a result one of the basic variable will turn to and exit the base or the problem is unbounded.