Обожаю коммиты))

This commit is contained in:
maxnes3 2023-12-20 02:55:04 +04:00
parent f6d6f4de86
commit 6e4b09666a

View File

@ -87,12 +87,12 @@ class SimplexMethod:
if count == 1: if count == 1:
result.append({ result.append({
"name": "x" + str(index), "name": "x" + str(j + 1),
"value": self.table[index, self.n - 1] / self.table[index, j] "value": int(self.table[index, self.n - 1] / self.table[index, j])
}) })
result.append({ result.append({
"name": "F", "name": "F",
"value": self.table[self.m - 1, self.n - 1] "value": int(self.table[self.m - 1, self.n - 1])
}) })
return result return result