Skip to content

Commit 2b43508

Browse files
committed
change default sub_optimize to 'greedy'
1 parent c3b67a7 commit 2b43508

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cotengra/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3723,7 +3723,7 @@ def build_divide(
37233723
cutoff=10,
37243724
parts=2,
37253725
parts_decay=0.5,
3726-
sub_optimize="auto",
3726+
sub_optimize="greedy",
37273727
super_optimize="auto-hq",
37283728
check=False,
37293729
seed=None,

docs/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
- contraction trees now have a `get_default_objective` method to return the
5656
objective function they were optimized with, for simpler further refinement
5757
or scoring, where it is now picked up automatically.
58+
- change the default 'sub' optimizer on divisive partition building algorithms
59+
to be `'greedy'` rather than `'auto'`. This might make individual trials
60+
slightly worse but makes each cheaper, see discussion: ({issue}`27`).
5861

5962

6063
## v0.5.6 (2023-12-07)

0 commit comments

Comments
 (0)