We have three products, two plants, unit prices,material requirments for three product, labor cost(regular, overtime), material cost, shipping, holding cost, advertising cost, additional demand created by advertising.
We define an integer programming problem and use gurobi to solve it in python
you may need to install gurobipy package to use it.