Simplex Algorithm
|
11-17-2023, 07:47 AM
Post: #23
|
|||
|
|||
RE: Simplex Algorithm
The changes you propose to canonicalForm causes test_simplex() to fail on my end. Looks like case 3 fails.
> simplex_test() ["[[-2,-4,1,0,0,-22],[-3,-2,0,1,0,-20],[-4,-5,0,0,1,-40],[6,5,0,0,0,0]] Error: Bad Argument Value"] Check by reverting to: Code: canonicalForm(M, BV):= {1,1,1,1,1,1} I am also using sum(abs(expected - result)) == 0 as you suggested. - neek |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)