Skip to content

Commit 419340c

Browse files
committed
Updating GUI to override max subproblem defaults.
There are two controls for the max subproblem for the tree decomposition, frac and size, both of which have defaults, and the larger of the two is used to determine the maximum subset size during decomp. This caused confusion from the GUI, because the selected option would be ignored if it was smaller than the default for the alternative option. The GUI now explicitly configures BOTH options so that what the user sees is what they get.
1 parent c52f699 commit 419340c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: run_sate_gui.py

+2
Original file line numberDiff line numberDiff line change
@@ -1039,8 +1039,10 @@ def _create_config_file(self):
10391039
cfg.sate.start_tree_search_from_current = True
10401040
if self.rb_maxsub1.Value:
10411041
cfg.sate.max_subproblem_frac = float(self.cb_maxsub1.Value)/100.0
1042+
cfg.sate.max_subproblem_size = 0
10421043
elif self.rb_maxsub2.Value:
10431044
cfg.sate.max_subproblem_size = self.cb_maxsub2.Value
1045+
cfg.sate.max_subproblem_frac = 0.0
10441046

10451047

10461048
cfg.sate.time_limit = -1

0 commit comments

Comments
 (0)