Code Monkey home page Code Monkey logo

lpr-solver-tool's Introduction

Lpr Solver Tool

lpr solver tool

Description

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

Web Version

Use the tool online linear Programming Solver tool

Windows

Download linear Programming Solver tool

Linux

Download linear Programming Solver tool

Building from Source

Prerequisites

Building for Desktop

## 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

Building for the Web

## 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 

Acknowledgments

lpr-solver-tool's People

Contributors

brettwilsonbdw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.