Lp, Linear Programming, Machine Learning, Python, Pulp.
However, in this case, we are adding equations or inequations (comparations) and not just linear expressions: transport_prob += x11 + x12 + x13 == O1 transport_prob += x21 + x22 + x23 == O2 transport_prob += x31 + x32 + x33 == O3 transport_prob += x11 + x21 + x31 == D1 transport_prob += x12 + x22 +