Skip to content

Commit bd1e818

Browse files
committed
Improve performance by not maintaining order
1 parent 75ef055 commit bd1e818

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

benchmarks/src/facility_location/bm_pyoframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ def build(self):
5959

6060

6161
if __name__ == "__main__":
62-
Bench("gurobi", 5).run()
62+
Bench("gurobi", 100).run()

benchmarks/src/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def __init__(self, *args, use_var_names=False, **kwargs):
4242
import pyoframe as pf
4343

4444
pf.Config.print_uses_variable_names = False
45+
pf.Config.maintain_order = False
46+
pf.Config.disable_unmatched_checks = True
4547

4648
def solve(self, model):
4749
if self.block_solver:

0 commit comments

Comments
 (0)