terewtesting.blogg.se

Install cplex
Install cplex





  1. INSTALL CPLEX INSTALL
  2. INSTALL CPLEX FULL

Includes are in $CPLEX/cplex/include and static librarys are in $CPLEX/cplex/lib/x86-64_linux/static_pic.

INSTALL CPLEX INSTALL

Since you have activated a python virtual environment, python already knows where to install the bindings. Step 4 - Install Python bindingsĬd $CPLEX/cplex/python/python3.4/x86-64_linux (replace 3.4 with 2.6 if you want the 2.6 bindings), then run python3 setup.py install. To save some space, I remove the documentation folder by running cd $CPLEX/ rm -r doc. Step 3.5 - Remove documentation (optional)Ĭplex takes up close to 2GB of drive space, and that is your limit on NCI. with your own home directory fully written out).Įnsure the directory has been entered correctly, then continue with installation.

INSTALL CPLEX FULL

Note that you cannot use the ~ shortcut here, enter the full path (i.e. After accepting the license agreement, the installer will ask you for an installation directory. Select your preferred locale, accept the warning and license agreement. Run sh cplex_ (you might need to change the version numbers or path). That $PYTHON is the place you decided to install the python bindings Step 2 - Activate the Python environmentĬd $PYTHON and then run source bin/activate. If you have multiple versions of python installed, say 2.7 and 3.4, you can specify the version of python to use by running pyvenv-3.4 $PYTHON or similar. Run module load python3 Step 1 - Set up Python virtual environment Step 0.5 - Load python modules if on raijin From here on, I will refer to the cplex directory as $CPLEX and the python directory as $PYTHON. Note that ~ is a common unix shortcut for your homeĭirectory, so for me I will install cplex into /home/595/wep595/opt/ibm/ILOG/CPLEX_Studio1263. I suggest installing cplex into ~/opt/ibm/ILOG/CPLEX_Studio1263 and the python bindings into ~/cplex. Ied to move to your home directory, and then run pwd to see your home directory. First you want to find out what your home directory is, so run cd with no directory specif You'll be installing everything into your home directory, so you might want to keep it organised. Installing CPLEX Step 0 - Decide where you want things







Install cplex