summaryrefslogtreecommitdiff
path: root/ot/lp/emd_wrap.pyx
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>
2021-04-21[MRG] Fixes issue #239 (deprecated numpy types) (#244)Rémi Flamary
* remove warning numpy int? * use long long * stoupid mistake * cleanup double test run in PR from local branch
2020-05-05fix failing test - cur_idx needs to be incremented by 1 after the loopAdrienCorenflos
2020-05-05Some improvements for platform compatibilityAdrienCorenflos
2020-05-05break before exceeding array sizeAdrienCorenflos
2020-05-04Add nogil to EMD_wrapMarc Glisse
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>
2020-01-30comlete documentationRémi Flamary
2020-01-27correct bug in emd emd2 still todoRémi Flamary
2019-12-18cleanup emd.h and pyx fileRémi Flamary
2019-12-18correct documentation in pyx fileRémi Flamary
2019-12-18cleanup variable name denseRémi Flamary
2019-12-03first implemntation sparse lossRémi Flamary
2019-12-02proper documentation and parameterRémi Flamary
2019-12-02add awesome sparse solverRémi Flamary
2019-12-02nothing explodes and it compilesRémi Flamary
2019-06-27Merge branch 'master' into doc_modulesRémi Flamary
2019-06-27Added RT as a contributor + "optimized" Cython math operationsRomain Tavenard
2019-06-27Improved tests and docs for wasserstein_1dRomain Tavenard
2019-06-27Added minkowski variants and wasserstein_1d functionsRomain Tavenard
2019-06-24Added more docstrings (Cython) + fixed link to ot.dist docRomain Tavenard
2019-06-21Removed np.abs in Cython codeRomain Tavenard
2019-06-21Sparse G matrix for EMD1d + standard metrics computed without cdistRomain Tavenard
2019-06-20EMD 1d without doc made fasterRomain Tavenard
2019-06-20EMD 1d without docRomain Tavenard
2019-06-06start documentation otRémi Flamary
2017-09-12RenamingAntoine Rolet
2017-09-09Returned to old variable name to follow repo conventionAntoine Rolet
2017-09-09Renamed variable in stringAntoine Rolet
2017-09-09Renamed variableAntoine Rolet
2017-09-09Renamed variablesAntoine Rolet
2017-09-09Added convergence status to the logAntoine Rolet
2017-09-07Return dual variables in an optional dictionaryAntoine Rolet
Also removed some code duplication
2017-09-07Added MAX_ITER_REACHED flag and warningAntoine Rolet
2017-09-05Merge remote-tracking branch 'upstream/master'Antoine Rolet
2017-09-05Removed printsAntoine 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-29Type printaje
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-26add license and authors on all modulesRémi Flamary
2017-07-21Added and passed tests for dual variablesarolet
2017-07-21Added dual variables computationsarolet
2017-07-21Cleaned optimal plan and optimal cost computationarolet
2017-07-13Added optional maximal number of iterationAntoine Rolet
2017-03-21cleanupt cpp wrapper nameRémi Flamary