#define DEBUG_TRANSPORT_HELLO GNUNET_YES
-#define DEBUG_ATS GNUNET_YES
-#define VERBOSE_ATS GNUNET_YES
+#define DEBUG_ATS GNUNET_NO
+#define VERBOSE_ATS GNUNET_NO
/**
* Should we do some additional checks (to validate behavior
glp_load_matrix(lp, rows * cols, ia, ja, ar);
/* Solve the MLP problem */
+
if (mlp == GNUNET_YES)
{
+#if 0
glp_iocp opt;
glp_init_iocp(&opt);
else
opt.msg_lev = GLP_MSG_OFF;
result = glp_intopt(lp, &opt);
+#endif
}
/* Solve the LP problem */
{
opt.it_lim = max_it;
/* maximum duration */
opt.tm_lim = max_dur;
- opt.presolve =GLP_ON;
+ opt.presolve = GLP_ON;
/* output level */
if (VERBOSE_ATS)
opt.msg_lev = GLP_MSG_ALL;
#include "gnunet_transport_service.h"
/* Minimum time between to calculations*/
-#define ATS_MIN_INTERVAL GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MILLISECONDS, 1000)
+#define ATS_MIN_INTERVAL GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20)
#define ATS_EXEC_INTERVAL GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 60)
#define ATS_MAX_EXEC_DURATION GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 500)
#define ATS_MAX_ITERATIONS INT_MAX