Skip to content

SBRG/soplex_cython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soplex_cython

Cython bindings to SoPlex 3.1.1

Installation

  1. Download the SoPlex 3.1.1 source code and move the tgz file into [soplex_cython root].
  2. Install gmp.
    • mac: brew install gmp
    • Ubuntu: sudo apt-get install libgmp-dev
    • Windows: Install MPIR (GMP replacement, which compiles with Visual Studio)
  3. Compile and install soplex_cython
    • cd [soplex_cython root]
    • Mac/Linux: pip install .

Requirements

  1. A recent version of Cython. Can be installed with pip install cython
  2. Python versions: >= 3.5, 2.7 (>= 3.5 for windows)

Common errors

  1. undefined symbol: _ZN6soplex6SoPlex13changeRhsRealEiRKe when running build.sh
    • Errors similar to this usually occur when SoPlex is not compiled in part 1 with the long double flag correctly set
    • Verify that you see "-DWITH_LONG_DOUBLE" in the output when compiling SoPlex in part 1