Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
36 views
%typeset_mode True A = ([-1, 1], [1, 0], [0,1]) b = (1,3,2) c = (1,1) P = InteractiveLPProblemStandardForm(A, b, c, ["x1", "x2"]) P.plot() view(P) D = P.initial_dictionary() view(D)
ParseError: KaTeX parse error: Undefined control sequence: \mspace at position 61: …lcrcrcl} \max \̲m̲s̲p̲a̲c̲e̲{-6mu}&\mspace{…
ParseError: KaTeX parse error: \renewcommand{\arraystretch} when command \arraystretch does not yet exist; use \newcommand
D = P.initial_dictionary() view(D) print "D jest dopuszczalne: "+ str(D.is_feasible()) print "D jest optmalne: " + str(D.is_optimal())
ParseError: KaTeX parse error: \renewcommand{\arraystretch} when command \arraystretch does not yet exist; use \newcommand
D jest dopuszczalne: True D jest optmalne: False
print D.possible_entering() D.enter("x1") print D.possible_leaving() D.leave("x4") view(D)
[x1, x2] [x4]
ParseError: KaTeX parse error: \renewcommand{\arraystretch} when command \arraystretch does not yet exist; use \newcommand
D.update() view(D)
ParseError: KaTeX parse error: \renewcommand{\arraystretch} when command \arraystretch does not yet exist; use \newcommand
print D.possible_entering()