This project demonstrates how to model and solve a credit types choosing problem as a Linear Programming (LP) problem using the Simplex Method/Algorithm, which is a powerful technique for solving linear optimization problems.
A credit types problem involves determining the optimal way to choose customers from different types of credit while considering various constraints such as resources, budget, and time. By formulating this as a linear programming problem, we can find the optimal solution that maximizes benefits or minimizes costs.
notebook/: Contains Jupyter notebooks with different solver implementationsgraphic-solver.ipynb: Visual representation of the solution processsliders-solver.ipynb: Interactive solver with slider controlssolver.ipynb: Core implementation of the Simplex Method
article: Contains the article related files
This project uses a DevContainer for consistent development experience. The DevContainer:
- Includes pre-installed Python 3 and pip
- Comes with Python language extensions for enhanced development
- Ensures all dependencies are available in the container environment
- Allows for easy setup across different machines and operating systems
- Install Docker and VS Code with the "Remote - Containers" extension
- Open the project folder in VS Code
- Click the green icon in the bottom-left corner (or press F1 and search for "Remote-Containers")
- Select "Reopen in Container"
- Wait for the container to build and start (first time may take a few minutes)
- Start coding with all dependencies ready to use!