failling to display in LaTeX

44 views
Skip to first unread message

Cyrille Piatecki

unread,
Sep 16, 2019, 3:54:34 PM9/16/19
to sage-s...@googlegroups.com

Please have a look to this sequence

%display latex
A = (
[1, 3, 1],
[-1, 0, 1],
[2, -1, 2],
[2, 3, -1],
       
)
b = (3, 2, 4, 2)
c = (5, 4, 2)
P = InteractiveLPProblem(A, b, c,variable_type=(">=",">=",">="))
P <- P is displayed in LaTeX

P=P.standard_form()

D=P.initial_dictionary()
D <- D is displayed in LaTeX

D.is_feasible()

True  <- displayed in LaTeX

D.enter("x1")
D <- from now on only LaTeX code

It seem to be a weird comportment since this is by no way difficult to display.

Thanks

Cyrille Piatecki


dim...@gmail.com

unread,
Sep 17, 2019, 5:47:27 AM9/17/19
to sage-s...@googlegroups.com
On Mon, Sep 16, 2019 at 09:54:30PM +0200, Cyrille Piatecki wrote:
> Please have a look to this sequence

Sorry, what kind of environment is this? Jupyter notebook? Something
else?
Thanks in advance for clarification.
>
> %display latex
> A = (
> [1, 3, 1],
> [-1, 0, 1],
> [2, -1, 2],
> [2, 3, -1],
>
> )
> b = (3, 2, 4, 2)
> c = (5, 4, 2)
> P = InteractiveLPProblem(A, b, c,variable_type=(">=",">=",">="))
> P <-*P is displayed in LaTeX*
>
> P=P.standard_form()
>
> D=P.initial_dictionary()
> D <-*D is displayed in LaTeX*
>
> D.is_feasible()*
> *
>
> *True *<-**displayed in LaTeX**
>
> D.enter("x1")
> D <- *from now on only LaTeX code*
>
> It seem to be a weird comportment since this is by no way difficult to
> display.
>
> Thanks
>
> Cyrille Piatecki
> ****
>
> **
> **
>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/49fea9ea-a6a7-bf6c-deed-8d2852a2d410%40univ-orleans.fr.
Reply all
Reply to author
Forward
0 new messages