mlr-org / bbotk

Black-box optimization framework for R.
https://bbotk.mlr-org.com
GNU Lesser General Public License v3.0
21 stars 9 forks source link

Add Optimizer and objective_function #79

Closed be-marc closed 4 years ago

be-marc commented 4 years ago

Closes #78 and #33

codecov-commenter commented 4 years ago

Codecov Report

Merging #79 into master will increase coverage by 0.66%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
+ Coverage   96.96%   97.63%   +0.66%     
==========================================
  Files          22       25       +3     
  Lines         363      422      +59     
==========================================
+ Hits          352      412      +60     
+ Misses         11       10       -1     
Impacted Files Coverage Δ
R/OptimizerRandomSearch.R 100.00% <ø> (ø)
R/OptimInstance.R 97.77% <100.00%> (+0.55%) :arrow_up:
R/OptimizerDesignPoints.R 100.00% <100.00%> (ø)
R/OptimizerGenSA.R 100.00% <100.00%> (ø)
R/OptimizerGridSearch.R 100.00% <100.00%> (ø)
src/is_dominated.c 100.00% <0.00%> (+3.57%) :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 a25e3e3...3405689. Read the comment docs.

be-marc commented 4 years ago

Also, please add a test for OptimInstanceMultcrit$objective_function()

There is already one.