Post Reply 
Simplex method in prime how to use the constrains maximise s.t. constraints.
11-11-2023, 04:27 PM (This post was last modified: 11-11-2023 05:51 PM by ftneek.)
Post: #48
RE: Simplex method in prime how to use the constrains maximise s.t. constraints.
(11-11-2023 12:39 PM)Albert Chan Wrote:  There is simplex() bug (or, HP Prime bug?) returning all zeroes for variables.
To bypass the bug, I scale away denominator, solved for min(cost) * 11

If there is a floating point number in the matrix, you should run exact() on it first before calling simplex(). You can try sol() on the exact() matrix to see if that’s where the issue is, v is just the number of variables/solutions to read. If you tried exact inputs and still get 0’s, my suggestion is to use the debug() command and try to see what commands result in a decimal appearing.

- neek
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Simplex method in prime how to use the constrains maximise s.t. constraints. - ftneek - 11-11-2023 04:27 PM



User(s) browsing this thread: 3 Guest(s)