📑  SageMath Online Mini Campus. Code Set 20

🌀   Homepage     🌀   GitHub Pages     🌀   Previous     🌀   Next     🌀   Instagram Posts     🌀   Pinterest Posts

The set of interactive pages with the following structure:

Example of Computations $\mathbb{\implies}$ Your Experiments $\mathbb{\implies}$ Python Modules $\mathbb{\implies}$ Other Languages

Example of Computations

Click the $\mathbb{activate}$ button below to display an interactive example.


@interact
def _(a=[2,3,4],b=[3,4,5],c=[1,2,3]):
    A=([a,1],[1,a+1]); B=(b,b+1); C=(c,c+4)
    s='Interactive Linear Programming Problem'
    P=InteractiveLPProblem(
        A,B,C,['x','y'],problem_type='max',
        constraint_type='<=',variable_type='>=')
    pretty_print(s,fontsize=15)
    pretty_print((P.standard_form(),P.optimal_solution()),fontsize=15)
    P.plot().show(figsize=7,legend_font_size=12)


Your Experiments

Type your own SageMath code lines below and click the $\mathbb{evaluate}$ button.


This code cell was evaluated automatically.


Python Modules

Other Languages (R, HTML, ...)