Simplex Algorithm
|
12-22-2023, 04:07 PM
Post: #47
|
|||
|
|||
RE: Simplex Algorithm
(12-22-2023 07:38 AM)ftneek Wrote: I uploaded new source files with quite a few improvements. The biggest being that simplex() does not require you to manually enter any slack or artificial variables, and it is able to handle maximization problems, integer restrictions, binary restrictions, and unrestricted variables. Also simplex_int() accepts programs in canonical form, to match the change to simplex_core(). Wow! That is quite an update. Unfortunately, this update crash HP Prime emulator 2.1.14181 (2018 10 16) Start with a hard reset, then close emulator copy OP *.hpprgm to "HP Prime\Calculators\prime" directory. start emulator, Cas> test_simplex() → {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} restart emulator → CRASHED Problem seems to arise from simplex.hppgrm, not the others. And, it is not because of binary nature of .hppgrm Start with a hard reset SHIFT PROGRAM NEW, name=simplex, copy actual #cas ... #end code Cas>lpmax --> ∞ restart emulator ... failed restart emulator, Cas> lpmax --> lpmax restart emulator, Cas> lpmax --> ∞ restart emulator ... failed restart emulator, Cas> lpmax --> lpmax restart emulator, Cas> lpmax --> ∞ ... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)