This is a simple LP Simplex solver tool that makes use of the Primal Simplex and Two-Phase methods, displaying each step and tableau built using C++ and the Raylib game development library for the app backend. For the GUI frontend, Dear ImGui is utilized. The project is configured with CMake and includes a build option for the web using Emscripten.
Use the tool online linear Programming Solver tool
Download linear Programming Solver tool
Download linear Programming Solver tool
- cmake
- mingw or Visual Studio
- Emscripten (for web build)
## Clone the repository
git clone https://github.com/BrettWilsonBDW/lpr-solver-tool
## Navigate to the project directory
cd lpr-solver-tool
## Create a build directory
mkdir build
## Navigate to the build directory
cd build
## Run CMake
cmake -DCMAKE_BUILD_TYPE=Release ..
## Build the project using Visual Studio (you can also use Ninja or MinGW)
cmake --build . --config Release
## Run the tool
.\Release\lpr-solver-tool.exe
## or in bash
./lpr-solver-tool
## Ensure Emscripten is installed and configured:
## on windows
cd C:\
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk.bat install latest
./emsdk.bat activate latest --permanent
## on linux
cd /usr/local
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest --permanent
## add emsdk to path
## Navigate to the project directory
cd lpr-solver-tool
## Run the build script for the web
.\build_for_web.bat
-
Raylib - A simple and easy-to-use library to enjoy videogames programming
-
Dear ImGui - Bloat-free Graphical User interface for C++ with minimal dependencies
-
raylib-cpp-cmake-template - Raylib cmake starting point template by tupini07.