TAMPA - Taming Mathematical Programming in APL
summary
An APL linear‑programming system called TAMPA in Dyalog builds tableaux from AX ≤ B expressions, runs simplex and an IP routine, and exposes results and sensitivities; the hot‑tub example returns 122 Aqua Spas 78 Hydrolux 0 Typhoons for a $66,100 profit with 200 pumps, 1,566 labor hours and 2,880 ft tubing, reporting shadow price: pump +$200, labor +$17 and Typhoon reduced cost −$13.33. A minimize make‑or‑buy demo yields make 30,000 gas, make 10,000 electric, buy 5,000 electric. UI uses Abacus HTML renderer.
AI-written summary · about
chapters (9)
- 0:00Taming domains with a Dyalog app library
- 2:14What is mathematical programming?
- 3:18What is linear programming?
- 4:38APL syntax for linear programming
- 7:22Example 1: maximization of profit in hot tub production
- 14:30Graphical user interface using Abacus
- 19:05Example 2: minimization of cost in weed wacker procurement
- 21:27Example 3: minimization of lifeguards requirement with integer programming
- 22:46Conclusion
