mateu / algorithm-simplex Goto Github PK
View Code? Open in Web Editor NEWAn Implementation of the Simplex Algorithm using Tucker Tableaus
License: Other
An Implementation of the Simplex Algorithm using Tucker Tableaus
License: Other
Hi @mateu,
Thank you for creating this module. I've tried looking for an implementation of the simplex method that works with arbitrary precision rationals rather than just being a thin wrapper around gplk
(which I believe only supports floating point). I think it would be convenient if there were an alternate constructor that allowed users to get the initial starting Tucker tableau given A, b, and c (possibly replacing maximize with minimize, depending on what's easiest). I'll submit a pull request a bit later if you are open to the idea.
Thanks,
Greg
edit: Actually ... given how the Tucker tableau is constructed this would actually be a pretty trivial thing for an end user to construct themselves, it might be a better idea to include an example in the synopsis showing how to construct a Tucker tableau from a linear program in standard form (Ax <= b
, minimize c'x
). One non-cosmetic change I could potentially see being interesting is adding support for equality constraints. Given an equality constraint w'x = c
, you can represent it as w'x <= c
and -w'x <= -c
, but I recall there being a more efficient way to express this while manipulating Tucker tableau.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.