Simplex Stepwise CAS-Suite
Open in App
Duplicate Output of A2
select output copy [ctrl+c] to A1 [ctrl+v]
repeat until EndTab (Z all coefficients positiv - last row)
Alternativ könnte man den Output mit einem Label versehen und das Label A1 zuweisen:
siehe Simplex MAX 4 Calculator CAS (wird jedoch schnell sehr unübersichtlich weil das CAS umsortiert wird und die Eingabe in der Ausgabezeile gedoppelt wird-meistens),
---
Alternatively, you could assign a label to the output and insert the label at A1:
see Simplex MAX 4 Calculator CAS (however, this quickly becomes very confusing because the CAS is rearranged and the input is duplicated in the output line—most of the time),
load("simplex");
maximize_lp(x1+x2+x3, [ 3*x1+8*x2+6*x3 <= 800, 5*x1 + 2*x2 + x3 <= 500, 2*x1 + 3*x3 <= 600]), nonegative_lp=true
[174.0740740740741,[x3=92.59259259259258,x2=0,x1=81.48148148148148]]
https://sagecell.sagemath.org/?q=zwjteb

LP Simplex Suite Tools: Pivot() PivotCol() PivotRow() MaxIL() MinIL()
LP Simplex Tools Example MAX
maximize_lp(x1+x2+x3, [ 3*x1+8*x2+6*x3 <= 800, 5*x1 + 2*x2 + x3 <= 500, 2*x1 + 3*x3 <= 600]), nonegative_lp=true
| A1= | |
| PS1=PivotCol(A1) | 1 |
| A2=Pivot(A1,PivotRow(A1,PS1),PS1) | |
| PS2=PivotCol(A2) | 3 |
| A3=Pivot(A2,PivotRow(A2,PS2),PS2) | |
| MAX=Append(MaxIL(A4,3),Last(Last(Flatten(A3)))) | |
| | |
| | |
