diff --git a/examples/wedding.py b/examples/wedding.py index 96681c47..31fb6cb4 100644 --- a/examples/wedding.py +++ b/examples/wedding.py @@ -27,7 +27,7 @@ def happiness(table): "table", possible_tables, lowBound=0, upBound=1, cat=pulp.LpInteger ) -seating_model = pulp.LpProblem("Wedding Seating Model", pulp.LpMinimize) +seating_model = pulp.LpProblem("Wedding Seating Model", pulp.LpMaximize) seating_model += pulp.lpSum([happiness(table) * x[table] for table in possible_tables])