Giter VIP home page Giter VIP logo

lp_solve_server_dev's Introduction

lp_solve_server_dev

About

This is web-hosted backend server app deployed on Heroku that receives requests to process and solve linear programming optimization problems. It is inspired by the limited accessibility to the lpsolve IDE for non-Windows operating systems, such as MacOS. A complementary frontend web-app also deployed on Heroku can be found in this Github repository.

How it works

HTTP Requests are sent to the server either as a string or an array of strings. If sent as a string, then each statement must be ended with a single semi-colon (;). If sent as a string array, then each array entry is a separate statement and each of those statements does not end with semi-colon. The syntax is based on the syntax used in the lpsolve IDE, with additional implementations including for and summation statements. The interface used to access this server can be found on this GitHub repository.

Syntax and Semantics

Please read the README of this GitHub repository, which is the frontend build that uses this server. The README contains documentation for the syntax and semantics used to write a linear algebraic model that this server can parse, interpret, and solve.

Dependencies

  • jsLPSolver
    • Linear programming algorithm and model.
  • mathjs
    • Evaluate expressions as strings.
  • express
    • Host a server using NodeJS.
  • nodemon
    • Initiate the app.
  • cors
    • Provide Connect/Express middleware.
  • body-parser
    • Parse incoming bodies in a middleware.

License

ISC License

Copyright (c) 2019, Anthony Yang [email protected]

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

lp_solve_server_dev's People

Contributors

anthonyyangdev 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.