dme65 / pySOT

Surrogate Optimization Toolbox for Python
Other
205 stars 53 forks source link

Adding back restart functionality #34

Closed dme65 closed 5 years ago

dme65 commented 5 years ago

Adding an argument use_restarts(default True) to the optimization strategies. This starts a fresh optimization run if the budget is not exhausted and the optimization run has stopped making progress. We don't terminate pending evaluations when we restart, but we don't incorporate them into the surrogate model when they are completed.

codecov[bot] commented 5 years ago

Codecov Report

Merging #34 into master will increase coverage by 0.31%. The diff coverage is 90.24%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   92.53%   92.84%   +0.31%     
==========================================
  Files           8        8              
  Lines        1634     1664      +30     
==========================================
+ Hits         1512     1545      +33     
+ Misses        122      119       -3
Impacted Files Coverage Δ
pySOT/__init__.py 100% <100%> (ø) :arrow_up:
pySOT/strategy.py 89.7% <90.12%> (-0.04%) :arrow_down:
pySOT/surrogate.py 93.43% <0%> (+2%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 00eabbd...b8e7473. Read the comment docs.