Reputation: 1
I don't know how to deal with this
Upvotes: 0
Views: 93
Reputation: 2022
Your call to linprog
should use (...)
instead of [...]
. Specifically, change to:
my_result = linprog(c, A_ub=A, b_ub=b, bounds=[x1_bounds,x2_bounds,x3_bounds,x4_bounds])
Upvotes: 1