Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Linear programming displaying Latex formated equations

 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.

Linear programming displaying Latex formated equations

 

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()

P.plot()

until there nothing abnormal

But now

P.run_simplex_method()

Sagemath says that the original problem is unfeasible infeasible 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.

Linear programming displaying Latex formated equations

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 infeasible 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.

Linear programming displaying Latex formated equations

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 infeasible 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.

Linear programming displaying Latex formated equations

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 infeasible 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.

Linear programming displaying Latex formated equations

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 infeasible 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.

Linear programming displaying Latex formated equations

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 infeasible 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.

Linear programming displaying Latex formated equations

The following works fine:

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

P.plot()

But nowwhen I run:

P.run_simplex_method()

Sagemath SageMath says that the original problem is infeasible and should stop there. there. But there is some Latex formated LaTeX formatted equations that appears after. appear after. This could be troublesome for student so I would be glad to know know how to stop displaying anything after the diagnostic diagnosis of infeasibility. infeasibility. Is this possible ? possible? My students need to be confrontated confronted to infeasibility.

click to hide/show revision 9
retagged

Linear programming displaying Latex formated equations

The following works fine:

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()

But when I run:

P.run_simplex_method()

SageMath says that the original problem is infeasible and should stop there. But some LaTeX formatted equations appear after. This could be troublesome for student so I would be glad to know how to stop displaying anything after the diagnosis of infeasibility. Is this possible? My students need to be confronted to infeasibility.