supply-chain-optimization
supply-chain-optimization copied to clipboard
Supply Chain Optimization with Python
[19](vscode-notebook-cell:/c%3A/March23/supply-chain-optimization-main/supply-chain-optimization-main/Supply%20Chain%20Optimization.ipynb#X22sZmlsZQ%3D%3D?line=18) # Add Constraints [20](vscode-notebook-cell:/c%3A/March23/supply-chain-optimization-main/supply-chain-optimization-main/Supply%20Chain%20Optimization.ipynb#X22sZmlsZQ%3D%3D?line=19) for j in loc: ---> [21](vscode-notebook-cell:/c%3A/March23/supply-chain-optimization-main/supply-chain-optimization-main/Supply%20Chain%20Optimization.ipynb#X22sZmlsZQ%3D%3D?line=20) model += lpSum([x[(i, j)] for i in loc]) == demand.loc[j,'Demand'] [22](vscode-notebook-cell:/c%3A/March23/supply-chain-optimization-main/supply-chain-optimization-main/Supply%20Chain%20Optimization.ipynb#X22sZmlsZQ%3D%3D?line=21) for i in loc: [23](vscode-notebook-cell:/c%3A/March23/supply-chain-optimization-main/supply-chain-optimization-main/Supply%20Chain%20Optimization.ipynb#X22sZmlsZQ%3D%3D?line=22) model += lpSum([x[(i,...
The excel file fails to work out of the box with empty top row and first column. Removing these empty rows/columns the code worked again. On another note, what do...