Skip to content

Commit e0421a6

Browse files
authored
Update opt_transport.md
1 parent 9624726 commit e0421a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/opt_transport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ for i in range(1000):
425425
```{code-cell} ipython3
426426
for i in range(len(sol_found)):
427427
print(f"运输方案 {i}: ", sol_found[i])
428-
print(f" 最小成本 {i}: ", cost[i])
428+
print(f"最小成本 {i}: ", cost[i])
429429
```
430430
431431
**啊哈!** 如你所见,在这种情况下,仅仅改变约束的顺序,就会显现出两个实现相同最小成本的最优传输方案。

0 commit comments

Comments
 (0)