Skip to content

Conversation

voges
Copy link

@voges voges commented Oct 20, 2024

…of iteritems()

Tested with the following installation commands on Ubuntu 22.04.5 LTS with Python 3.10.12:

# Set the Cplex installer name and the install path for Cplex.
CPLEX_INSTALLER="cplex_studio2211.linux_x86_64.bin"
CPLEX_INSTALL_DIR="cplex_studio2211"
CPLEX_INSTALL_PATH=$(realpath "${CPLEX_INSTALL_DIR}")

# Set up virtual environment.
python3 -m venv .env
source .env/bin/activate

# Install Cplex and its Python API.
chmod u+x "${CPLEX_INSTALLER}"
"./${CPLEX_INSTALLER}" -i silent -DINSTALLER_UI=silent -DLICENSE_ACCEPTED=TRUE -DUSER_INSTALL_DIR="${CPLEX_INSTALL_PATH}"
python3 "${CPLEX_INSTALL_PATH}/python/setup.py" install

# Install Compass.
pip3 install --editable .

@voges
Copy link
Author

voges commented Oct 20, 2024

Fixes #101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants