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

make the Bayesopt benchmark compile again

parent aafd3152
......@@ -44,10 +44,10 @@
//| knowledge of the CeCILL-C license and that you accept its terms.
//|
#define SKIP_TRICKS
#include "testfunctions.hpp"
#include <chrono>
#include <fstream>
#include <string>
#include "testfunctions.hpp"
template <typename Function>
void benchmark(const bopt_params& par, const std::string& name)
......
......@@ -50,6 +50,9 @@
#include <boost/numeric/ublas/matrix_proxy.hpp>
#include <bayesopt/bayesopt.hpp>
// for BO_PARAM
#include "limbo/limbo.hpp"
using namespace bayesopt;
// support functions
......
......@@ -89,12 +89,12 @@ def build_bo_benchmarks(bld):
source='bayesopt/simple.cpp',
includes='.',
target='benchmark_bayesopt',
uselib='BOOST EIGEN TBB NLOPT BAYESOPT',
uselib='BOOST EIGEN TBB NLOPT BAYESOPT LIMBO',
use='')
bld(features='cxx',
source='bayesopt/hp_opt.cpp',
includes='.',
target='benchmark_bayesopt_hp_opt',
uselib='BOOST EIGEN TBB NLOPT BAYESOPT',
uselib='BOOST EIGEN TBB NLOPT BAYESOPT LIMBO',
use='')
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