diff options
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 9edd38c28..def5b39e2 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -6005,7 +6005,9 @@ static int ats_create_problem (int max_it, int max_dur , double D, double U, dou | |||
6005 | result = glp_intopt (prob, &opt_mlp); | 6005 | result = glp_intopt (prob, &opt_mlp); |
6006 | solution = glp_mip_status (prob); | 6006 | solution = glp_mip_status (prob); |
6007 | 6007 | ||
6008 | #if VERBOSE_ATS | ||
6008 | if (VERBOSE_ATS) glp_write_lp(prob, NULL, "ats_mlp.lp"); | 6009 | if (VERBOSE_ATS) glp_write_lp(prob, NULL, "ats_mlp.lp"); |
6010 | |||
6009 | switch (result) { | 6011 | switch (result) { |
6010 | case GLP_ESTOP : /* search terminated by application */ | 6012 | case GLP_ESTOP : /* search terminated by application */ |
6011 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Search terminated by application "); | 6013 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Search terminated by application "); |
@@ -6038,7 +6040,7 @@ static int ats_create_problem (int max_it, int max_dur , double D, double U, dou | |||
6038 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Problem has been solved\n"); | 6040 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Problem has been solved\n"); |
6039 | break; | 6041 | break; |
6040 | } | 6042 | } |
6041 | #if VERBOSE_ATS | 6043 | |
6042 | switch (solution) { | 6044 | switch (solution) { |
6043 | case GLP_UNDEF: | 6045 | case GLP_UNDEF: |
6044 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "MIP solution is undefined\n"); | 6046 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "MIP solution is undefined\n"); |