
u
ij
variables in the formulation is that other kinds of constraints, particularly logical
conditions, may apply to the potential facility locations. For example, suppose we
want to distribute to at most one customer location from New York. To achieve this
requirement, add the constraint u
11
+ u
12
+ u
13
+ u
14
≤ 1. As discussed earlier in
the chapter, logical constraints can often be developed in linear form with the help
of binary variables, or at least variables that behave as if they were binary.
We have examined two alternative modeling approaches to both the capacitated
and uncapacitated problems. These alternatives are based on the streamlined linking
constraint, using (7.5) in place of (7.3). One advantage of the streamlining is that
there are fewer elements on the spreadsheet, so the model is easier to build and
debug. However, there is a potential downside. The streamlined version may require
more computational effort than the original version to locate an optimum. This differ-
ence could be important in larger models, with perhaps dozens of facility locations and
hundreds of customer demands.
7.5. DISJUNCTIVE CONSTRAINTS: THE MACHINE
SEQUENCING PROBLEM
Scheduling and sequencing problems are notoriously difficult to solve, but some
progress is possible with the use of integer programming. In the basic machine-
sequencing problem, one processor (or machine) is available to process several
jobs. The jobs are all ready for processing at the outset (time zero), but the machine
can accommodate only one job at a time. The jobs are described by a processing
time ( p
j
for job j) and a due date (d
j
).
Depending on the sequence chosen, job j will start processing at time s
j
and com-
plete its processing at time s
j
+ p
j
. If a job completes after its due date, then the job is
said to be tardy, and its tardiness is measured by (s
j
+ p
j
)–d
j
. On the other hand, if a
job completes on or before its due date, then the job is on time, and its tardiness is zero.
In other words, a job’s tardiness may be zero, but it can never be negative. One way
of measuring schedule performance is to sum the tardiness of all jobs, thus computing
the total tardiness in the schedule. A common objective in scheduling is to minimize
total tardiness, as a means of quantifying the effectiveness of a schedule at meeting
due dates. The use of total tardiness as a performance measure prevents one job’s
earliness from offsetting another’s lateness, thereby focusing attention on jobs that
miss their due dates. Obviously, when total tardiness is zero, this means that all due
dates have been met.
As an example, Miles Manufacturing faces a version of the machine sequencing
problem.
EXAMPLE 7.4
Miles Manufacturing Company
Miles Manufacturing Company is a regionally focused production shop that fabricates metal
components for auto companies. Its scheduling efforts center around a large piece of equipment
that handles a variety of operations, such as drilling, shaping, polishing, and mechanical testing.
270 Chapter 7 Integer Programming: Logical Constraints