r/OperationsResearch • u/Active-Source-6431 • 1d ago
Five industrial blending LP benchmarks comparing SciPy HiGHS and plain JS 2-Phase Simplex
I put together an MIT-licensed benchmark repo with five industrial blending and cutting-stock LP datasets derived from public ASTM A48, ASTM D388, ACI 211.1, NRC poultry nutrition, and 1D Gilmore-Gomory specifications.
Repository with datasets, Python HiGHS runner, and plain JS 2-Phase Simplex runner:
https://github.com/GPSX-LAB/open-industrial-lp-benchmarks
After working sessions with a steel plant, a coking plant, and two engineering design institutes, it was clear that plant metallurgists and engineers resist uploading vendor pricing or melt recipes to cloud servers. Loading multi-MB WASM bundles also hits CSP or proxy restrictions on older shop-floor machines. Since most single-plant charge and ration matrices sit at 5 to 25 variables and 10 to 30 linear bounds, I checked how a small dense-tableau JS solver using Bland's anti-cycling rule compares with `scipy.optimize.linprog` on HiGHS:
- Max objective relative diff across all five datasets: `3.39e-16`
- Max constraint violation: `<= 4.55e-13`
- JS Simplex median latency in Node V8: `0.007 ms` to `0.039 ms` across 9 to 22 pivots
If you want to inspect the browser UI wrapped around this solver, the client-side calculators live at https://gpsx.io/?utm_source=reddit&utm_medium=r_or.
For anyone modeling process manufacturing in OR: outside pure continuous blending, do semi-continuous batch minimums or discrete raw-material lot sizes break continuous LP assumptions most often for your plants? Planning a `v2-milp` folder next.