Skip to content

Crash while running selection on linux #22

@foobacca

Description

@foobacca

The following output was in the terminal.

The leximin algorithm requires the optimization library Gurobi to be installed (commercial, free academic licenses available). Switching to the simpler maximin algorithm, which can be run using open source solvers.
Using maximin algorithm.
An error occurred while loading the CBC library:         

cannot load library '/tmp/_MEIpEJwD2/mip/libraries/cbc-c-linux-x86-64.so': /tmp/_MEIpEJwD2/mip/libraries/cbc-c-linux-x86-64.so: 
cannot open shared object file: No such file or directory.  
Additionally, ctypes.util.find_library() did not manage to locate a library called '/tmp/_MEIpEJwD2/mip/libraries/cbc-c-linux-x86-64.so'

Traceback (most recent call last):
  File "eel/__init__.py", line 321, in _process_message
  File "script.py", line 258, in run_selection
  File "script.py", line 184, in run_selection
  File "stratification.py", line 439, in people_cats_run_stratification
  File "stratification.py", line 2020, in run_stratification
  File "stratification.py", line 1187, in find_random_sample
  File "stratification.py", line 1753, in find_distribution_maximin
  File "stratification.py", line 1413, in _setup_committee_generation
  File "mip/model.py", line 98, in __init__
    import mip.cbc
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 378, in exec_module
  File "mip/cbc.py", line 603, in <module>
    Osi_getNumCols = cbclib.Osi_getNumCols
                     ^^^^^^
NameError: name 'cbclib' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions