We explore two aspects of refactoring an existing optimization model: Modularization and adding model variations.
Given available stock of wire and a list of pieces required, what is the best way to cut the stock to fulfil demand while minimizing waste?
We replicate a wood cutting pattern model from a published academic paper. Surprisingly, we find a better optimal solution.
We compare a linear programming model written using Julia/JuMP with the same model written using Python/Pyomo.
To compare optimization modelling in Excel and Python, we replicate a Python model then compare it with an equivalent Excel implementation.
Formulating logic conditions in linear programs can be difficult. This two-part article series explains how, using easy to follow steps.