Lp, Linear Programming, Machine Learning, Python, Pulp.
need some constants to define the costs Cij of every link between warehouses and stores, and the offer and demand of every location. In this case, I just assigned some random values and I made sure that the total demand equals the total offer from the warehouses: # Here we define the costs, that