uestla / Simplex-Calculator

PHP tool for linear programming problems solving
http://simplex.wz.cz/
39 stars 19 forks source link

Max number of variables #6

Closed nivshah closed 3 years ago

nivshah commented 3 years ago

Thanks for the work on this library. I'm trying to see if I can use it for an optimization problem I'm working on. When I try to manually do the problem using the website you created, I see that the range of allowed number of decision variables is 2 to 32.

1) Is this limitation in the library somewhere? 2) Do you think it makes sense to lift this restriction?

Thanks again.

nivshah commented 3 years ago

Never mind, upon more experimentation the issue I'm having is not related to the number of variables but something else that I haven't quite figured out yet.

nivshah commented 3 years ago

FWIW I was unable to get Simplex\Func to work because I was giving it coefficients that looked like they were rational numbers but were not because of floating point precision. Make sure to round your inputs.