You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2018. It is now read-only.
I've been trying to figure out how to use this project. I looked at the TestSimplexJS.js though didn't really understand. You use variables A, b, c, m, n without explanation what they are. (I assume xLB en xUB are lower and upper bound.)
This would be the first time I use a linear solver, so perhaps I'm just missing something obvious. Could you explain what is what a little more?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
I think I just sort of assumed familiarity with these things, sorry about that.
The solver expects input in (something like) standard computational form, i.e.
min c^T x
subject to A x = b
xLB <= x <= xUB
so if you have less-than/greather-than constraints, you'll need to add a slack/surplus variables to make the constraints equality constraints. If you have a maximization objective, just simply flip the sign on your objective coefficients.
Everything is a vector except the A matrix, which is stored as a list-of-lists, where each row is an inner list.
I've been trying to figure out how to use this project. I looked at the TestSimplexJS.js though didn't really understand. You use variables A, b, c, m, n without explanation what they are. (I assume xLB en xUB are lower and upper bound.)
This would be the first time I use a linear solver, so perhaps I'm just missing something obvious. Could you explain what is what a little more?
Thanks a lot!
The text was updated successfully, but these errors were encountered: