This is the ILOG CPLEX 10.2 distribution, including Concert Technology for C++ and Java users. Please read the CPLEX 10.2 Release Notes in order to take full advantage of the new features in this release and to ensure a smooth transition from prior versions of CPLEX.
cplex102
directory:bin/<machine>
: CPLEX Interactive Optimizer (cplex
) and other executable files such as the shared library (libcplex102.so
or.sl
depending on the platform).
doc
: HTML and PDF versions of the CPLEX manuals (begin here).
examples/src
: Source files for the examples (lpex1.c
, et cetera).
examples/<machine>/<libformat>
: Makefile for examples to support your particular platform.
include/ilcplex
: Files, such ascplex.h
andilocplex.h
, that are needed to compile applications that use the Callable Library or the C++ version of Concert Technology.
lib
: Thecplex.jar
file containing the Java classes needed to use the Java version of Concert Technology.
lib/<machine>/<libformat>
: Library files that contain CPLEX (libcplex.a
) and CPLEX extensions to Concert Technology (libilocplex.a
).
concert24
directory:include/ilconcert
: Files, such asilomodel.h
, that are needed to compile applications that use the C++ version of Concert Technology.
lib/<machine>/<libformat>
: Concert Technology libraries for C++ users (libconcert.a
).
To compile and execute examples, do the following:% cd examples/<machine>/<libformat>
% make lpex1
# to compile and execute the first CPLEX example
A list of all the examples that you can run this way is to be found in the file Makefile
by looking for C_EX
(C examples), CPP_EX
(C++ examples), JAVA_EX
(Java examples), or you can view the files
listed in examples/src
.
You can also do% make all
# to compile all examples% make execute
# to compile and execute all examples% make execute_c
# to compile and execute only the C examples% make execute_cpp
# to compile and execute only the C++ examples% make execute_java
# to compile and execute only the Java examples% make clean
# to remove executable files when you are done
Many of the examples can be run in more than one way; the make execute
command runs each in a representative way.
The file Makefile
contains recommended compiler flags and other settings for building applications on your particular computer. You can find these settings in the sections of Makefile
marked by the comments "Compiler
options" and "Link options". The Makefile
also shows how to set the location of the CPLEX shared library and cplex.jar file used from Java.
Please consult mptable.html for information on supported platforms and compilers.
CPLEX uses the ILOG License Manager (ILM) for its licensing. You should have received instructions on new license installation or license upgrading with your CPLEX 10.2 distribution; contact your local ILOG support department if this information has not been communicated to you or if you find that you need help in establishing your CPLEX 10.2 license.
Americas: http://www.ilog.com/products/cplex/
Asia Pacific: http://www.ilog.com.sg/products/cplex/
Europe, Africa & Middle East: http://www.ilog.fr/products/cplex/