Skip to content

Commit 6e8cf2a

Browse files
authored
Readme: Call solver in example (#50)
1 parent 5608ff0 commit 6e8cf2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,6 +1607,8 @@ end
16071607
solver.minimize(data[:bins].sum { |j| y[j] })
16081608

16091609
# call the solver and print the solution
1610+
status = solver.solve
1611+
16101612
if status == :optimal
16111613
num_bins = 0
16121614
data[:bins].each do |j|

0 commit comments

Comments
 (0)