Обожаю коммиты))
This commit is contained in:
parent
f6d6f4de86
commit
6e4b09666a
@ -87,12 +87,12 @@ class SimplexMethod:
|
||||
|
||||
if count == 1:
|
||||
result.append({
|
||||
"name": "x" + str(index),
|
||||
"value": self.table[index, self.n - 1] / self.table[index, j]
|
||||
"name": "x" + str(j + 1),
|
||||
"value": int(self.table[index, self.n - 1] / self.table[index, j])
|
||||
})
|
||||
|
||||
result.append({
|
||||
"name": "F",
|
||||
"value": self.table[self.m - 1, self.n - 1]
|
||||
"value": int(self.table[self.m - 1, self.n - 1])
|
||||
})
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user