How privateeye-zzy/simplex works
This repository is a small educational set of Python examples for solving linear programs with the simplex method. Each script is self-contained: its example constructs a model, calls its local solver, and reports results; the investment-risk example also plots risk versus profit. The solver implementation is repeated across all three files rather than shared as a package. The README points to a technical blog but documents no further runtime capabilities.
Main entry points: LP_math_model.py Risk model example · LP.py Basic LP example · LP_math_model2.py Investment example
Components 7
Other components
- Basic LP example
LP.py - Basic simplex solver
LP.py - Risk model example
LP_math_model.py - Risk model solver
LP_math_model.py - Investment example
LP_math_model2.py - Investment solver
LP_math_model2.py - Risk-profit plot
LP_math_model.py
Connections 4
- Basic LP example → Basic simplex solver: calls solve
LP.py - Risk model example → Risk model solver: calls solve
LP_math_model.py - Investment example → Investment solver: calls solve
LP_math_model2.py - Risk model example → Risk-profit plot: plots results
LP_math_model.py