Machine Learning, Optimization, Tutorial, Python, Mathematics.
factory_days[0]*f0 <= 2*factory_days[2]*f2 c4 = factory_days[1]*f1 <= 2*factory_days[2]*f2 c5 = factory_days[1]*f1 <= 2*factory_days[0]*f0 c6 = factory_days[2]*f2 <= 2*factory_days[1]*f1 c7 = factory_days[2]*f2 <= 2*factory_days[0]*f0 # adding the constraints to the problem problem += c1 problem +=