summaryrefslogtreecommitdiff
path: root/ot/lp/EMD.h
AgeCommit message (Collapse)Author
2022-06-01[MRG] numItermax in 64 bits in EMD solver (#380)Nathan Cassereau
* Correct test_mm_convergence for cupy * Fix bug where number of iterations is limited to 2^31 * Update RELEASES.md * Replace size_t with long long * Use uint64_t instead of long long
2021-09-29[MRG] OpenMP support (#260)kguerda-idris
* Added : OpenMP support Restored : Epsilon and Debug mode Replaced : parmap => multiprocessing is now replace by multithreading * Commit clean up * Number of CPUs correctly calculated on SLURM clusters * Corrected number of processes for cluster slurm * Mistake corrected * parmap is now deprecated * Now a different solver is used depending on the requested number of threads * Tiny mistake corrected * Folders are now in the ot library instead of at the root * Helpers is now correctly placed * Attempt to make compilation work smoothly * OS compatible path * NumThreads now defaults to 1 * Better flags * Mistake corrected in case of OpenMP unavailability * Revert OpenMP flags modification, which do not compile on Windows * Test helper functions * Helpers comments * Documentation update * File title corrected * Warning no longer using print * Last attempt for macos compilation * pls work * atempt * solving a type error * TypeError OpenMP * Compilation finally working on Windows * Bug solve, number of threads now correctly selected * 64 bits solver to avoid overflows for bigger problems * 64 bits EMD corrected Co-authored-by: kguerda-idris <ssos023@jean-zay3.idris.fr> Co-authored-by: ncassereau-idris <84033440+ncassereau-idris@users.noreply.github.com> Co-authored-by: ncassereau <nathan.cassereau@idris.fr> Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
2020-04-23[WIP] Issue with sparse emd and adding tests on macos (#158)Nicolas Courty
* First commit-warning removal * remove dense feature * pep8 * pep8 * EMD.h * pep8 again * tic toc tolerance Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
2019-12-18cleanup emd.h and pyx fileRémi Flamary
2019-12-03first implemntation sparse lossRémi Flamary
2019-12-02proper documentation and parameterRémi Flamary
2019-12-02nothing explodes and it compilesRémi Flamary
2017-09-09Renamed variableAntoine Rolet
2017-09-07Added MAX_ITER_REACHED flag and warningAntoine Rolet
2017-09-05Merge remote-tracking branch 'upstream/master'Antoine Rolet
2017-08-30Changes:aje
- Rename numItermax to max_iter - Default value to 100000 instead of 10000 - Add max_iter to class SinkhornTransport(BaseTransport) - Add norm to all BaseTransport
2017-08-29Changes to LP solver:aje
- Allow to modify the maximal number of iterations - Display an error message in the python console if the solver encountered an issue
2017-07-21Added dual variables computationsarolet
2017-07-13Added optional maximal number of iterationAntoine Rolet
2016-10-27rename emd module to lpRémi Flamary