titipata / paper-reviewer-matcher

Linear programming solver for paper-reviewer matching and mind-matching
Apache License 2.0
82 stars 29 forks source link

fix numpy depreciations and improve solver compatibility #13

Closed sandguine closed 2 months ago

sandguine commented 2 months ago

This pull request addresses several issues and makes improvements to the paper-reviewer-matcher:

  1. Fixed NumPy deprecation warnings:

    • Replaced deprecated np.float and np.int with float and int respectively
    • Updated matrix creation in create_lp_matrix function
  2. Improved solver compatibility:

    • Adjusted problem formulation to address "No solution exists" errors
    • Implemented a relaxation method in perform_mindmatch function to handle over-constrained scenarios
  3. Updated dependencies:

    • Added python-Levenshtein to requirements for improved performance

These changes should resolve the issues with NumPy deprecation warnings and improve the solver's ability to find solutions for complex matching problems. The code is now more compatible with the latest versions of NumPy and other dependencies.