Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Attaching CPLEX Javadoc in Eclipse

    Posted 06/27/12 10:21 AM

    Originally posted by: GeoffGross


    I am attempting to use CPLEX 12.3 for Java within the Eclipse IDE. For some reason my installation of CPLEX contains no documentation folder. Where can I either obtain the javadoc directory locally on my hard drive (in which case I know how to link the javadoc) or link via the web to successfully integrate into the Eclipse IDE?

    I have tried linking to the documentation on the IBM page (http://pic.dhe.ibm.com/infocenter/cosinfoc/v12r4/index.jsp), but this does not work.

    Thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Attaching CPLEX Javadoc in Eclipse

    Posted 06/27/12 12:20 PM

    Originally posted by: SystemAdmin


    Here is what works for me (COS-12.4):
    1. Project->Properties->Java Build Path->Libraries
    2. Expand the entry for cplex.jar
    3. Select "Javadoc location", click "Edit"
    4. Point eclipse to COSDIR/doc/html/en-US/refjavacplex/html
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Attaching CPLEX Javadoc in Eclipse

    Posted 06/27/12 12:35 PM

    Originally posted by: GeoffGross


    I'm not sure where "COSDIR" is located, I do not have such a directory. Is the documentation not included in the academic initiative version of CPLEX?
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Attaching CPLEX Javadoc in Eclipse

    Posted 06/27/12 12:54 PM

    Originally posted by: SystemAdmin


    "COSDIR" is just the directory in which you installed CPLEX. Don't you have a doc/html/en-US/refjavacplex subdirectory there?
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Attaching CPLEX Javadoc in Eclipse

    Posted 06/27/12 01:06 PM

    Originally posted by: SystemAdmin


    I just checked. Directory doc/html/en-US/refjavacplex/html exists in my COS-12.4 academic installation (Linux).
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: Attaching CPLEX Javadoc in Eclipse

    Posted 06/27/12 04:32 PM

    Originally posted by: GeoffGross


    Sorry about the confusion the original link might have caused, but I do in fact have CPLEX 12.3 installed on a Windows machine. Within the install directory (CPLEX_Studio_Academic123) there is no documentation folder anywhere to be found. Can this be downloaded somewhere?

    Perhaps I should try reinstalling, but in talking to someone else with the same version installed they are also lacking the documentation folder.
    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: Attaching CPLEX Javadoc in Eclipse

    Posted 06/27/12 10:09 PM

    Originally posted by: GuangFeng


    The actual documentation of CPLEX 12.3 can be found at

    <CPLEX_Studio123>\opl\oplide\plugins\ilog.odms.<component>.help_12.3.0.<time>

    Starting from 12.4, in addition to the above folder, you can find HTML doc at

    <CPLEX_Studio124>\doc\html

    I don't program in Eclipse, so I have not tried to configure help in Eclipse...
    #CPLEXOptimizers
    #DecisionOptimization


  • 8.  Re: Attaching CPLEX Javadoc in Eclipse

    Posted 06/28/12 02:20 PM

    Originally posted by: GeoffGross


    I ended up installing CPLEX 12.4 and setting the javadoc location to: <CPLEX_Studio124>/doc/html/en-US/refjavacplex/html/

    I now have the documentation attached within Eclipse. Thanks.
    #CPLEXOptimizers
    #DecisionOptimization