timal according to these notions. While expressivity
increases by adopting weighted preferences, we show
that in most cases the desired solutions can be found
by adapting existing algorithms for the classical sta-
ble marriage problem.
Stable marriage problems with weighted prefer-
ences have been studied also in (Gusfield, 1987; Irv-
ing et al., 1987). However, they solve these problems
by looking at the stable marriages that maximize the
sum of the weights of the married pairs, where the
weights depend on the specific criteria used to find an
optimal solution, that can be minimum regret crite-
rion (Gusfield, 1987), the egalitarian criterion (Irving
et al., 1987) or the Lex criteria (Irving et al., 1987).
Therefore, they consider as stable the same marriages
that are stable when we don’t consider the weights.
We instead use the weights to define new notions of
stability that may lead to stable marriages that are dif-
ferent from the classical case. They may rely on the
difference of weights that a person gives to two dif-
ferent people of the other sex, or by the strength of
the link of the pairs (man,woman), i.e., how much a
person of the pair wants to be married with the other
person of the pair. The classical definition of stabil-
ity for stable marriage problems with weighted pref-
erences has been considered also in (Bistarelli et al.,
2008) that has used a semiring-based soft constraint
approach (Bistarelli et al., 1997) to model and solve
these problems.
The paper is organized as follows. In Section 2
we give the basic notions of classical stable marriage
problems, stable marriage problems with partially or-
dered preferences and stable marriage problems with
weighted preferences (SMWs). In Section 3 we in-
troduce a new notion of stability, called α-stability
for SMWs, which depends on the difference of scores
that every person gives to two different people of the
other sex, and we compare it with the classical notion
of stability. Moreover, we give a new notion of op-
timality, called lex-optimality, to discriminate among
the new stable marriages, which depends on a vot-
ing rule. We show that there is a unique optimal sta-
ble marriage and we give an algorithm to find it. In
Section 4 we introduce other notions of stability for
SMWs that are based on the strength of the link of the
pairs (man,woman), we compare them with the clas-
sical stability notion, and we show how to find mar-
riages that are stable according to these notions with
the highest global link. In Section 5 we summarize
the results contained in this paper, and we give some
hints for future work.
A preliminary version of this paper has been pre-
sented in (Pini et al., 2010b).
2 BACKGROUND
We now give some basic notions on classical stable
marriage problems, stable marriage problems with
partial orders, and stable marriage problems with
weighted preferences.
2.1 Stable Marriage Problems
A stable marriage problem (SM) (Gusfield and Irv-
ing, 1989) of size n is the problem of finding a stable
marriage between n men and n women. Such men
and women each have a preference ordering over the
members of the other sex. A marriage is a one-to-one
correspondence between men and women. Given a
marriage M, a man m, and a woman w, the pair (m, w)
is a blocking pair for M if m prefers w to his partner in
M and w prefers m to her partner in M. A marriage is
said to be stable if it does not contain blocking pairs.
The sequence of all preference orderings of men
and women is usually called a profile. In the case of
classical stable marriage problem (SM), a profile is a
sequence of strict total orders.
Given a SM P, there may be many stable mar-
riages for P. However, it is interesting to know that
there is always at least one stable marriage.
Given an SM P, a feasible partner for a man m
(resp., a woman w) is a woman w (resp., a man m)
such that there is a stable marriage for P where m and
w are married.
The set of all stable marriages for an SM forms
a lattice, where a stable marriage M
1
dominates an-
other stable marriage M
2
if men are happier (that is,
are married to more or equally preferred women) in
M
1
w.r.t. M
2
. The top of this lattice is the stable mar-
riage where men are most satisfied, and it is usually
called the male-optimal stable marriage. Conversely,
the bottom is the stable marriage where men’s prefer-
ences are least satisfied (and women are happiest, so it
is usually called the female-optimal stable marriage).
Thus, a stable marriage is male-optimal iff every man
is paired with his highest ranked feasible partner.
The Gale-Shapley (GS) algorithm (Gale and
Shapley, 1962) is a well-known algorithm to solve the
SM problem. At the start of the algorithm, each per-
son is free and becomes engaged during the execu-
tion of the algorithm. Once a woman is engaged, she
never becomes free again (although to whom she is
engaged may change), but men can alternate between
being free and being engaged. The following step is
iterated until all men are engaged: choose a free man
m, and let m propose to the most preferred woman
w on his preference list, such that w has not already
rejected m. If w is free, then w and m become en-
ICAART 2011 - 3rd International Conference on Agents and Artificial Intelligence
46