The question assesses the ability to represent precedence constraints using directed acyclic graphs (DAGs) and to perform a topological sort. The context is warehouse logistics.
Warehouses must be visited in the following precedence constraints:
Represent this as a directed acyclic graph and provide one possible topological ordering of the warehouses.
[4]This question involves the construction of a time-expanded network, a common technique in discrete optimization and logistics used to model time-dependent constraints and flows over a static graph.
Each directed arc between warehouses has a time window during which travel is allowed. The travel time for each arc is constant at unit. The allowed departure windows are as follows:
: : : : :
Construct the time-expanded network for integer times to , indicating the nodes and all feasible time-step edges (including waiting edges).
[5]Six warehouses are located at coordinates , , , , , and . A complete graph is constructed where the weight of each edge is the Euclidean distance between the warehouses, rounded to the nearest integer.
Starting from warehouse , use the nearest-neighbour algorithm to determine a Hamiltonian cycle that visits each warehouse exactly once and returns to .
State the sequence of warehouses in the cycle and calculate the total distance.
[6]