Обожаю коммиты))
This commit is contained in:
parent
f6d6f4de86
commit
6e4b09666a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user