Simplex Algorithm
|
12-24-2023, 07:32 PM
(This post was last modified: 12-24-2023 07:40 PM by ftneek.)
Post: #54
|
|||
|
|||
RE: Simplex Algorithm
(12-24-2023 03:46 PM)Albert Chan Wrote: break 2 unable to get out of WHILE loop (why?), thus the ugly multiple breaks. Your first for loop seems to iterate from 1 to len(x[1]), we only need to check the indices from the integers list, anything else does not matter if it is integer or not. Also that break statement is nested inside a while and 2 for loops, so you may need to use break 3. Or you are checking I>len(z) twice, should the second one be b>len(z)? - neek |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)