A = ([1,0], [0, -1], [6,10], [-6,-10])
B = (18, -12,70, -70)
C = (-4.10, -8)
P = InteractiveLPProblem(A, B, C, ["x_1", "x_2"], variable_type=">=")
P
P.plot()
until there nothing abnormal
But now
P.run_simplex_method()
Sagemath says that the original problem is unfeasible and should stop there. But there is some Latex formated equations that appears after. This could be troublesome for student so I would be glad to know how to stop displaying anything after the diagnostic of infeasibility. Is this possible ? My students need to be confrontated to infeasibility.