San Diego supplies cross-docks, which supply warehouses. The warehouses supply 10 customers on the territory of the USA, with fish tin (tuna, clams, crabmeat, sardines, shrimp, oysters).Our goal is to define which of the sites are cross-docks and which are warehouses considering the following conditions:
Solution: we indicate every product flow (from supplier to the sites, between the sites) and every product storage for all sites as Custom Constraint. Then we set limit in the Linear Ranges table for every Custom Constraint, and finally we define described conditions in the Indicator Constraints table.Result: The Denver site does not supply any customer, it only forwards three products to Casper and Albuquerque. Sites in Salt Lake City, Kansas City, Dallas, Casper, and Albuquerque are used as cross-docks for half of the products and as warehouses for the rest of them.
Importing examplesRunning the NO experiment