Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For compatibility with newer versions of pandas, use items() instead … #115

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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

Luis Alonso Esteban and others added 2 commits November 12, 2024 16:12
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.

1 participant