**********
Example 12
**********

------
Input:
------

profile with 8 voters and 4 candidates:
 3 x {c, d},
 2 x {a, b},
 2 x {a, c},
 1 x {b, d}

-------------------------------------------------------
Method of Equal Shares (aka Rule X) with Phragmén phase
-------------------------------------------------------


Phase 1:

starting budget:
  (3/8, 3/8, 3/8, 3/8, 3/8, 3/8, 3/8, 3/8)

adding candidate number 1: c
 with maxmimum cost per voter q = 1/5
 remaining budget:
  (7/40, 7/40, 7/40, 3/8, 3/8, 7/40, 7/40, 3/8)

adding candidate number 2: a
 with maxmimum cost per voter q = 13/40
 remaining budget:
  (7/40, 7/40, 7/40, 1/20, 1/20, 0, 0, 3/8)

Phase 2 (seq-Phragmén):

starting loads (= budget spent):
  (-7/40, -7/40, -7/40, -1/20, -1/20, 0, 0, -3/8)

adding candidate number 3: d
 maximum load increased to 1/40
 load distribution:
  (1/40, 1/40, 1/40, -1/20, -1/20, 0, 0, 1/40)

1 winning committee:
 {a, c, d}

-----------------------------------------
Phragmén's Sequential Rule (seq-Phragmén)
-----------------------------------------


adding candidate number 1: c
 maximum load increased to 1/5
 load distribution:
  (1/5, 1/5, 1/5, 0, 0, 1/5, 1/5, 0)

adding candidate number 2: b
 maximum load increased to 1/3
 load distribution:
  (1/5, 1/5, 1/5, 1/3, 1/3, 1/5, 1/5, 1/3)

adding candidate number 3: d
 maximum load increased to 29/60
 load distribution:
  (29/60, 29/60, 29/60, 1/3, 1/3, 1/5, 1/5, 29/60)

1 winning committee:
 {b, c, d}

corresponding load distribution:
{b, c, d}: (29/60, 29/60, 29/60, 1/3, 1/3, 1/5, 1/5, 29/60)

