Skip to content

Commit

Permalink
Add runtime limit to SMAC 2.08
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeurer committed Feb 10, 2015
1 parent 80c3a0e commit a920869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion optimizers/smac/smac_2_08_00-master.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ def build_smac_call(config, options, optimizer_dir):
'--intensification-percentage',
config.get('SMAC', 'intensification_percentage'),
'--rf-split-min', config.get('SMAC', 'rf_split_min'),
'--validation', config.get('SMAC', 'validation')])
'--validation', config.get('SMAC', 'validation'),
'--runtime-limit', config.get('SMAC', 'runtime_limit')])

if config.getboolean('SMAC', 'save_runs_every_iteration'):
call = " ".join([call, '--save-runs-every-iteration true'])
Expand Down
1 change: 1 addition & 0 deletions optimizers/smac/smac_2_08_00-masterDefault.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ rf_split_min = 10
adaptive_capping = false
max_incumbent_runs = 2000
num_iterations = 2147483647
runtime_limit = 2147483647

deterministic = True
retry_target_algorithm_run_count = 0
Expand Down

0 comments on commit a920869

Please sign in to comment.