12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

◆◆file reading and writing routines move information from the file system of youroperating system into your application, or from your application into the file system;parameter routines enable you to query, set, or modify parameter values maintained by<strong>ILOG</strong> <strong>CPLEX</strong>.Licenses<strong>ILOG</strong> <strong>CPLEX</strong> runs under the control of the <strong>ILOG</strong> License Manager (ILM). Before you canrun any application program that calls <strong>ILOG</strong> <strong>CPLEX</strong>, you must have established a validlicense that it can read. Licensing instructions are provided to you separately when you buyor upgrade <strong>ILOG</strong> <strong>CPLEX</strong>. Contact your local <strong>ILOG</strong> support department if this informationhas not been communicated to you or if you find that you need help in establishing your<strong>ILOG</strong> <strong>CPLEX</strong> license. For details about contacting <strong>ILOG</strong> support, click "CustomerSupport" at the bottom of the first page of <strong>ILOG</strong> <strong>CPLEX</strong> online documentation.Compiling and LinkingCompilation and linking instructions are provided with the files that come in the standarddistribution of <strong>ILOG</strong> <strong>CPLEX</strong> for your computer platform. Check the readme.html file fordetails.Using the Callable Library in an ApplicationThis section tells you how to use the Callable Library in your own applications. Briefly, youmust initialize the <strong>ILOG</strong> <strong>CPLEX</strong> environment, instantiate a problem object, and fill it withdata. Then your application calls one of the <strong>ILOG</strong> <strong>CPLEX</strong> optimizers to optimize yourproblem. Optionally, your application can also modify the problem object and re-optimize it.<strong>ILOG</strong> <strong>CPLEX</strong> is designed to support this sequence of operations—modification andre-optimization of linear, quadratic, or mixed integer programming problems (LPs, QPs, orMIPs)—efficiently by reusing the current feasible solution (basis or incumbent) of aproblem as its starting point (when applicable). After it finishes using <strong>ILOG</strong> <strong>CPLEX</strong>, yourapplication must free the problem object and release the <strong>ILOG</strong> <strong>CPLEX</strong> environment it hasbeen using. The following sections explain these steps in greater detail.Initialize the <strong>ILOG</strong> <strong>CPLEX</strong> Environment<strong>ILOG</strong> <strong>CPLEX</strong> needs certain internal data structures to operate. In your own application, youuse a routine from the Callable Library to initialize these data structures. You must initializethese data structures before your application calls any other routine in the <strong>ILOG</strong> <strong>CPLEX</strong>Callable Library.To initialize a <strong>ILOG</strong> <strong>CPLEX</strong> environment, you must use the routine CPXopen<strong>CPLEX</strong>.<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 111

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!