Closed jon-nowacki closed 5 months ago
Thanks for spotting the error. The model was built but never solved. The latest commit fixes this issue by adding the following lines of code in a separate cell to get a meaningful time comparison with the networkx function.
%%time
m = seating_allocation_maximize_flow_to_tables(members=[6, 8, 2, 9, 13, 1], capacity=[8, 8, 10, 4, 9], kmax=3, domain=pyo.NonNegativeIntegers)
_ = SOLVER.solve(m)
This block:
Errors out, then everything below it does as well: