Skip to content

Commit d766a2c

Browse files
committed
Match print statement to article in SciPy minimize
1 parent 16bc7e8 commit d766a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-scipy-cluster-optimize/minimize_constrained.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def objective_function(x, prices):
2626
print(res)
2727

2828
print("The total number of shares is:", sum(res.x))
29-
print("The cash each buyer has leftover is:", money_available - res.x * prices)
29+
print("Leftover money for each buyer:", money_available - res.x * prices)

0 commit comments

Comments
 (0)