Skip to content

Commit

Permalink
Revert "fix formatting for docs"
Browse files Browse the repository at this point in the history
This reverts commit 8e89ecc.
  • Loading branch information
sprivite committed Jun 26, 2024
1 parent 8e89ecc commit c0b930c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions pybalance/lp/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,22 +154,22 @@ class ConstraintSatisfactionMatcher(object):
options pool_size, target_size, and max_mismatch. The behavior of the solver is
as given in the table below:
+----------------------------------------------------------------------------------------+
|pool_size |target_size |max_mismatch |optimize |
+----------------------------------------------------------------------------------------+
|N |N |Y |pool_size subject to target_size = n_target |
| | | | and balance constraints |
|Y |Y |Y |balance subject to size and balance |
| | | | constraints |
|Y |Y |N |balance subject to size constraints |
|N |N |N |balance subject to size constraints; default|
| | | | to pool_size = target_size = n_target |
+----------------------------------------------------------------------------------------+
|Y |N |Y |not suported |
|N |Y |Y |not suported |
|Y |N |N |not suported |
|N |Y |N |not suported |
+----------------------------------------------------------------------------------------+
------------------------------------------------------------------------------
pool_size target_size max_mismatch optimize
------------------------------------------------------------------------------
N N Y pool_size subject to target_size = n_target
and balance constraints
Y Y Y balance subject to size and balance
constraints
Y Y N balance subject to size constraints
N N N balance subject to size constraints; default
to pool_size = target_size = n_target
------------------------------------------------------------------------------
Y N Y not suported
N Y Y not suported
Y N N not suported
N Y N not suported
------------------------------------------------------------------------------
Optimizing pool_size subject to balance constraint is known as "cardinality
matching". See https://kosukeimai.github.io/MatchIt/reference/method_cardinality.html
Expand Down

0 comments on commit c0b930c

Please sign in to comment.