Commit a881154f authored by Jean-Baptiste Mouret's avatar Jean-Baptiste Mouret
Browse files

compile the extensive tests

parent b52d9bbf
......@@ -35,10 +35,13 @@ struct Params {
struct opt_gridsearch {
BO_PARAM(int, bins, 20);
};
struct opt_cmaes : public defaults::opt_cmaes {
};
#ifdef USE_LIBCMAES
struct opt_cmaes : public defaults::opt_cmaes {
};
#elif defined(USE_NLOPT)
struct opt_nloptnograd : public defaults::opt_nloptnograd {
};
#endif
struct opt_rprop : public defaults::opt_rprop {
};
......@@ -120,4 +123,4 @@ int main()
@optimizer.best_observation(Average());
@optimizer.best_sample(Average());
// clang-format on
}
\ No newline at end of file
}
......@@ -23,7 +23,12 @@ def create(bld):
models = ['GP']
gp_lf_optimizations = ['NoLFOpt', 'KernelLFOpt', 'KernelMeanLFOpt', 'MeanLFOpt']
acquisitions = ['UCB', 'GP_UCB']
optimizers = ['RandomPoint', 'GridSearch', 'Cmaes']
optimizers = ['RandomPoint', 'GridSearch']
if bld.env.DEFINES_NLOPT:
optimizers += ['NLOptNoGrad', 'NLOptGrad']
if bld.env.DEFINES_LIBCMAES:
optimizers += ['Cmaes']
inits = ['NoInit', 'RandomSampling', 'RandomSamplingGrid', 'GridSampling']
stats = ['Samples', 'Observations', 'AggregatedObservations', 'BestSamples', 'BestObservations', 'BestAggregatedObservations',
'BlSamples', 'GPPredictionDifferences', 'GPAcquisitions', 'GPLikelihood']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment