Simplex MIN 2 Phasen LP - PIVOT script

App-Entwicklung erfolgte unter 5.2![br][br]Die CAS-Functions zur Berechnung des Pivot funktionieren in den Versionen 6.x nicht zuverlässig bzw. lassen sich nicht hochladen. [br]Nach Berechnung der Simplex-Tableaus A_{1x} Phase 1 und A_{2x} für Phase 2 kann der Pivot entsprechend der Nummerierung pv1x, pv2x in der Inputbox benannt und über das Script [PIVOT] berechnet werden.[br][br]The CAS functions for calculating the pivot do not work reliably in versions 6.x and cannot be uploaded. [br]After calculating the simplex tables A_{1x} for phase 1 and A_{2x} for phase 2, the pivot can be named according to the numbering pv1x, pv2x in the input box and calculated using the script [PIVOT].[br][br][br]Replaced CAS-Function 5.x - close definition [Keep Input][br][br][size=85]PS(PP):=IndexOf(Max(First(Flatten(Last(PP)),Length(Element(PP,1))-1)), Flatten(Last(PP)));[br]Qb(CC):=Take(Zip(If(DIV*EE>0,EE*DIV,10^15),DIV,Element(Transpose(CC),PS(CC)),EE,Flatten(Last(Transpose(CC)))),1,Length(CC)-1);[br]PIVOT(NN):={IndexOf(Min(Qb(NN)),Qb(NN)),IndexOf(Max(First(Flatten(Last(NN)),Length(Element(NN,1))-1)),Flatten(Last(NN)))};[/size]

Information: Simplex MIN 2 Phasen LP - PIVOT script