Question

I am starting to work with CPLEX Optimization Studio, and I am wondering if there are any quick start guides, hello world examples, etc. Some things I would like to be able to do include loading and running a simple LP or ILP through the Optimization Studio, interacting with AMPL model and data files, and integrating CPLEX into C++ or Java code...

Was it helpful?

Solution

First place to look would be the examples that are included with CPLEX studio when you install it. On my windows 7 PC the CPLEX examples are in:

C:\Program Files (x86)\IBM\ILOG\CPLEX_Studio1251\cplex\examples

while the OPL examples are in:

C:\Program Files (x86)\IBM\ILOG\CPLEX_Studio1251\opl\examples\opl

There are lots of examples there, particularly the CPLEX examples, including what you are looking for in C++, Java, C# etc...

OTHER TIPS

As mentioned by @TimChippingtonDerrick CPLEX Studio includes documentation and examples. However, AFAIK it doesn't provide any special facilities for working with AMPL models and data. For these you might want to try AMPL IDE instead.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top