Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In Job Shop
Scheduling, sequence-dependent setup occurs when a machine's setup time
or cost for a particular job is determined by not only by that job but
also by the previous job that the machine is currently setup for.
Information on sequence-dependent setup times or costs for N jobs can be
stored in a N-by-N matrix with all diagonal entries being zero. Diagonal
entries must be zero since they correspond to the condition that the
machine is already setup for the next job; hence the setup time and/or
cost is zero.