Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Dr-AlaaKhamis committed Sep 2, 2024
1 parent 9491da1 commit ea01820
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@
"rhs_constraints=([160, # machining time constraint\n",
" 200]) # weight constraint\n",
"\n",
"bounds = [(0, scipy.inf), (0, scipy.inf)] # Bounds of the decision variables\n",
"bounds = [(0, np.inf), (0, np.inf)] # Bounds of the decision variables\n",
"\n",
"results = linprog(c=c, A_ub=lhs_constraints, b_ub=rhs_constraints, bounds=bounds, method='highs-ds')\n",
"\n",

0 comments on commit ea01820

Please sign in to comment.