diff options
author | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-07 13:29:46 +0900 |
---|---|---|
committer | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-07 13:29:46 +0900 |
commit | f8c1c8740f9974dcf4aaf191851d62149dceb91c (patch) | |
tree | be6d175a98a6803a216b72326e054b27e4065839 /ot/lp/EMD.h | |
parent | a3497b123b4802c7960a07a899ac7ce4525c5995 (diff) |
Added MAX_ITER_REACHED flag and warning
Diffstat (limited to 'ot/lp/EMD.h')
-rw-r--r-- | ot/lp/EMD.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ot/lp/EMD.h b/ot/lp/EMD.h index 15e9115..bb486de 100644 --- a/ot/lp/EMD.h +++ b/ot/lp/EMD.h @@ -26,7 +26,8 @@ typedef unsigned int node_id_type; enum ProblemType { INFEASIBLE, OPTIMAL, - UNBOUNDED + UNBOUNDED, + MAX_ITER_REACHED }; int EMD_wrap(int n1,int n2, double *X, double *Y,double *D, double *G, double* alpha, double* beta, double *cost, int max_iter); |