Cplex is a linear, integer, and quadratic solver. See http://www.ilog.com/products/cplex/. Cplex does not provide source code and you can only download the platform dependent binaries. After installing the binaries and include files in an appropriate directory, run configure to point to the include and library directory. An example is given below:
configure --with-cplex-lib="-L$(CPLEXDIR)/lib/$(SYSTEM)/$(LIBFORMAT) $(CPLEX_LIBS)" --with-cplex-incdir= $(CPLEXDIR)/include
You may also need the following environment variables (if they are not already set). The following are values we used in a working implementation.
SYSTEM =i86_linux2_glibc2.3_gcc3.2 LIBFORMAT =static_pic_mt CPLEXDIR =/usr/local/ilog/cplex81/include/ilcplex CPLEXLIBPATH= -L$(CPLEXDIR)/lib/$(SYSTEM)/$(LIBFORMAT) CPLEXINCDIR = $(CPLEXDIR)/include CPLEX_LIBS=-lcplex -lilocplex -lm -lpthread ILOG_HOME=/usr/local/ilog/cplex81/bin/i86_linux2_glibc2.3_gcc3.2 ILOG_LICENSE_FILE=/usr/local/ilog/ilm/access.ilm PATH=***:/usr/local/ilog/cplex81/bin/i86_linux2_glibc2.3_gcc3.2:*** CLASSPATH=:/usr/local/ilog/cplex81/bin/i86_linux2_glibc2.3_gcc3.2: