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 On-call_Rostering — Constraint detection
Given
a
pool
of
N
staff
,
we
need
to
assign
one
staff
member
to
each
``
day
''
in
the
rostering
period
.
Here
a
``
day
''
,
means
either
one
of
Monday
through
to
Thursday
or
all
of
Friday
through
Sunday
.
The
latter
is
considered
to
be
the
weekend
.
Individual
staff
members
may
be
unavailable
on
some
days
and
may
also
be
required
to
be
on-call
on
some
-LRB-
other
-RRB-
days
.
Staff
members
should
ideally
work
them
same
number
of
week
days
and
the
same
number
of
weekends
over
the
rostering
period
-LRB-
and
subject
to
the
work
load
parameter
-RRB-
.
Staff
members
should
not
be
on-call
for
more
than
two
days
in
a
row
-LRB-
unless
fixed
in
advance
-RRB-
and
prefer
not
be
on-call
consecutive
days
in
a
row
.
Staff
members
who
are
on-call
over
the
weekend
prefer
not
be
on-call
on
the
Wednesday
before
that
weekend
.
Staff
members
can
not
be
on-call
on
their
unavailable
days
.
Problem On-call_Rostering — Detection of the decisions and objects to be modeled
Given
a
pool
of
N
staff
,
we
need
to
assign
one
staff
member
to
each
``
day
''
in
the
rostering
period
.
Here
a
``
day
''
,
means
either
one
of
Monday
through
to
Thursday
or
all
of
Friday
through
Sunday
.
The
latter
is
considered
to
be
the
weekend
.
Individual
staff
members
may
be
unavailable
on
some
days
and
may
also
be
required
to
be
on-call
on
some
-LRB-
other
-RRB-
days
.
Staff
members
should
ideally
work
them
same
number
of
week
days
and
the
same
number
of
weekends
over
the
rostering
period
-LRB-
and
subject
to
the
work
load
parameter
-RRB-
.
Staff
members
should
not
be
on-call
for
more
than
two
days
in
a
row
-LRB-
unless
fixed
in
advance
-RRB-
and
prefer
not
be
on-call
consecutive
days
in
a
row
.
Staff
members
who
are
on-call
over
the
weekend
prefer
not
be
on-call
on
the
Wednesday
before
that
weekend
.
Staff
members
can
not
be
on-call
on
their
unavailable
days
.
Back to list