Download ILOG CPLEX 10.1 Getting Started

Transcript
In Case of Problems
If you encounter difficulty when you try this test, then there is a problem in your installation,
and you need to correct it before you begin real work with ILOG CPLEX.
For example, if you get a message from the compiler such as
ilolpex3.cpp 1: Can’t find include file ilcplex/ilocplex.h
then you need to verify that your compiler knows where you have installed ILOG CPLEX
and its include files (that is, its header files).
If you get a message from the linker, such as
ld: -lcplex: No such file or directory
then you need to verify that your linker knows where the ILOG CPLEX library is located on
your system.
If you get a message such as
ilm: CPLEX: no license found for this product
or
ilm: CPLEX: invalid encrypted key "MNJVUXTDJV82" in
"/usr/ilog/ilm/access.ilm";run ilmcheck
then there is a problem with your license to use ILOG CPLEX. Review the ILOG License
Manager User’s Guide and Reference to see whether you can correct the problem. If not,
call the technical support hotline and repeat the error message there.
If you successfully compile, link, and execute one of the examples in the standard
distribution, then you can be sure that your installation is correct, and you can begin to use
ILOG CPLEX with ILOG Concert Technology seriously.
The Anatomy of an ILOG Concert Technology Application
ILOG Concert Technology is a C++ class library, and therefore ILOG Concert Technology
applications consist of interacting C++ objects. This section gives a short introduction to the
most important classes that are usually found in a complete ILOG Concert Technology
CPLEX application.
Constructing the Environment: IloEnv
An environment, that is, an instance of IloEnv is typically the first object created in any
Concert Technology application.
72
ILOG CPLEX 10.1
— GETTING STARTED