diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-25 15:34:54 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-25 15:34:54 +0000 |
commit | 678fae38a93164db4b1c51127a5d9382d4d7a861 (patch) | |
tree | 500a3369e8fa22bc3d7217d0a0dd2b66128cccf8 /src/ats/plugin_ats_mlp.c | |
parent | ed7ff13ae92bbe0b10e35fc5be68611611ff87f9 (diff) | |
download | gnunet-678fae38a93164db4b1c51127a5d9382d4d7a861.tar.gz gnunet-678fae38a93164db4b1c51127a5d9382d4d7a861.zip |
fixing comment
Diffstat (limited to 'src/ats/plugin_ats_mlp.c')
-rw-r--r-- | src/ats/plugin_ats_mlp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ats/plugin_ats_mlp.c b/src/ats/plugin_ats_mlp.c index 64e07037e..b911435df 100644 --- a/src/ats/plugin_ats_mlp.c +++ b/src/ats/plugin_ats_mlp.c | |||
@@ -1698,8 +1698,9 @@ GAS_mlp_solve_problem (void *solver) | |||
1698 | start_cur_op = GNUNET_TIME_absolute_get(); | 1698 | start_cur_op = GNUNET_TIME_absolute_get(); |
1699 | 1699 | ||
1700 | /* Solve LP */ | 1700 | /* Solve LP */ |
1701 | /* Only for debugging, always use LP presolver: | 1701 | /* Only for debugging: |
1702 | * mlp->control_param_lp.presolve = GLP_YES; */ | 1702 | * Always use LP presolver: |
1703 | * mlp->control_param_lp.presolve = GLP_YES; */ | ||
1703 | res_lp = mlp_solve_lp_problem(mlp); | 1704 | res_lp = mlp_solve_lp_problem(mlp); |
1704 | if (GNUNET_OK == res_lp) | 1705 | if (GNUNET_OK == res_lp) |
1705 | { | 1706 | { |
@@ -1728,11 +1729,10 @@ GAS_mlp_solve_problem (void *solver) | |||
1728 | 1729 | ||
1729 | /* Solve MIP */ | 1730 | /* Solve MIP */ |
1730 | 1731 | ||
1731 | /* Only for debugging, always use MLP presolver */ | 1732 | /* Only for debugging, always use LP presolver */ |
1732 | if (GNUNET_YES == mlp->opt_dbg_intopt_presolver) | 1733 | if (GNUNET_YES == mlp->opt_dbg_intopt_presolver) |
1733 | mlp->control_param_mlp.presolve = GNUNET_YES; | 1734 | mlp->control_param_mlp.presolve = GNUNET_YES; |
1734 | 1735 | ||
1735 | |||
1736 | mip_res = glp_intopt (mlp->p.prob, &mlp->control_param_mlp); | 1736 | mip_res = glp_intopt (mlp->p.prob, &mlp->control_param_mlp); |
1737 | switch (mip_res) | 1737 | switch (mip_res) |
1738 | { | 1738 | { |