Optimization, Python, Linear Optimization, Operations Research.
something else is wrong print(str(solution.solver)) assignments = model.x.get_values().items() EPS = 1.e-6 for (customer,factory),x in sorted(assignments): if x > EPS: print("sending quantity %10s from factory %3s to customer %3s" % (x, factory, customer)) As we can see all three optimization