NLP for CP
Addressing Constraint Programming with Natural Language Processing
Home
Resources
Publications
Correct
predictions are in
blue
. If we detect only a subset of a labelled sentence, we highlight the caught part as
blue
, the missing part
light blue.
False positives
are in
green
and
false negatives
are in
red
.
Problem 022 (Bus driver scheduling) — Constraint detection
Bus
driver
scheduling
can
be
formulated
as
a
set
paritioning
problem
.
We
propose
12
set
partitioning
problems
derived
from
small
bus
driver
scheduling
problems
.
These
consist
of
a
given
set
of
tasks
-LRB-
pieces
of
work
-RRB-
to
cover
and
a
large
set
of
possible
shifts
,
where
each
shift
covers
a
subset
of
the
tasks
and
has
an
associated
cost
.
We
must
select
a
subset
of
possible
shifts
that
covers
each
piece
of
work
once
and
only
once
:
this
is
called
a
partition
.
Further
,
in
the
driver
scheduling
-LRB-
unlike
air
crew
scheduling
-RRB-
the
main
aim
is
to
reduce
the
number
of
shifts
used
in
the
solution
partition
and
the
total
cost
of
the
partition
is
secondary
.
To
simplify
the
problem
we
have
made
the
cost
of
each
shift
the
same
.
This
means
that
the
goal
is
to
minimise
the
number
of
shifts
.
Problem 022 (Bus driver scheduling) — Detection of the decisions and objects to be modeled
Bus
driver
scheduling
can
be
formulated
as
a
set
paritioning
problem
.
We
propose
12
set
partitioning
problems
derived
from
small
bus
driver
scheduling
problems
.
These
consist
of
a
given
set
of
tasks
-LRB-
pieces
of
work
-RRB-
to
cover
and
a
large
set
of
possible
shifts
,
where
each
shift
covers
a
subset
of
the
tasks
and
has
an
associated
cost
.
We
must
select
a
subset
of
possible
shifts
that
covers
each
piece
of
work
once
and
only
once
:
this
is
called
a
partition
.
Further
,
in
the
driver
scheduling
-LRB-
unlike
air
crew
scheduling
-RRB-
the
main
aim
is
to
reduce
the
number
of
shifts
used
in
the
solution
partition
and
the
total
cost
of
the
partition
is
secondary
.
To
simplify
the
problem
we
have
made
the
cost
of
each
shift
the
same
.
This
means
that
the
goal
is
to
minimise
the
number
of
shifts
.
Back to list