#ifndef GLOBAL_H
#define GLOBAL_H
+#include "nlopt-util.h"
+
#include <queue>
//#include "function.h"
#include "tools.h"
class GlobalParams {
public:
+#ifdef NLOPT_UTIL_H
+ nlopt_stopping *stop;
+#else
double maxtime;
long int maxeval;
+#endif
double eps_cl, mu, rshift;
int det_pnts, rnd_pnts;
};