Let's say I have sourced 10 different suppliers to send products via 6 different routes to the same distribution center. Depending on costs some suppliers won't send any products, but those that do are constrained by a min and max amount.
How can I model this constraint using solver? I can't use an if function, because that would make it non-linear.
But if I set a min constraint for all suppliers then solver won't account for suppliers who shouldn't ship any products due to a high cost.
thx