Decision Optimization

Decision Optimization

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

 View Only
  • 1.  opl IDE GNU/Linux

    Posted Thu October 14, 2010 12:42 PM

    Originally posted by: GuneyPetek


    Could not locate the oplide binary in the GNU package distributed through the academic initiative. Isn't there one?

    \\Guney
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: opl IDE GNU/Linux

    Posted Thu October 14, 2010 02:13 PM

    Originally posted by: SystemAdmin


    > GuneyPetek wrote:
    > Could not locate the oplide binary in the GNU package distributed through the academic initiative. Isn't there one?

    No. The Linux distribution contains everything the Windows distribution contains except the IDE, which is Windows only. That's particularly frustrating because the OPL IDE is a customized version of the Eclipse IDE with a plugin for OPL and the ILOG solvers. Since the Eclipse IDE runs perfectly fine on every Linux distro I've heard of, there should not be any real problem porting the plugin to Linux. But the Windows version of the IDE will not run out of the box on a Linux system (I tried it).

    /Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: opl IDE GNU/Linux

    Posted Thu October 14, 2010 02:18 PM

    Originally posted by: GuneyPetek


    This is exactly why I was surprised that there is no elf binary for oplide. I use Eclipse perfectly for Java and C++ development on GNU/Linux for a long time now. Also did some search on IBM website and on the Internet in general but could not see anything related to this issue. It would be very nice if somebody from the cplex development team could reflect some light on this.
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: opl IDE GNU/Linux

    Posted Thu October 14, 2010 06:02 PM

    Originally posted by: SystemAdmin


    > GuneyPetek wrote:
    > This is exactly why I was surprised that there is no elf binary for oplide. I use Eclipse perfectly for Java and C++ development on GNU/Linux for a long time now. Also did some search on IBM website and on the Internet in general but could not see anything related to this issue. It would be very nice if somebody from the cplex development team could reflect some light on this.

    I raised the point with someone at IBM/ILOG/CPLEX (particularly as the download link for the Linux version says it's OPL Studio, not just OPL). His explanation was that at some point (I suspect before IBM bought ILOG) they had dropped Linux support for the IDE due to a combination of the development/maintenance cost and low demand. I whined a bit -- it's a skill -- and he said he'd log a +1 user request for it. If they get enough user requests, they may reconsider the decision. (Unfortunately, while I'm quite skilled at whining, I'm an academic user, which means I represent a revenue stream of zero. It would help if commercial customers started agitating for a Linux IDE.)

    /Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: opl IDE GNU/Linux

    Posted Fri October 15, 2010 09:45 AM

    Originally posted by: Ferenc Katai


    to provide some puzzle pieces first. the historical piece (OPL has been around for over 10years, so it has some history): at the beginning OPL was not really aiming at deployment rather at prototyping. If I remember well, in that era there was IDE on Linux. But then from 4.0, OPL was completely re-written to step out of the prototyping box and it meant some sacrifices -> the Linux IDE was gone; the market piece: we observe that the majority of deployments are not done on Windows meanwhile Windows is used as development platform a lot. We don't have IDE on Linux+AIX+Solaris but with "oplrun" from the commandline a user can execute OPL models/projects on these platforms; the 0-revenue piece: IBM is a commercial organization indeed, so it seems Academic/Research users' voice are not heard with that much "intensity"... but they are probably the most sophisticated and loudest users. So not listening to them - when they "whine" - would be a big mistake! Well, put together the pieces and at least for me the picture shows that Linux IDE is needed. When it happens though, I can't say...

    a bit straying away from the topic: It is interesting that you raise OPL (the Studio as it is called now) question as a CPLEX "issue" since OPL is not developed by the CPLEX algorithm guys and it is not about "CPLEX only", though definitely lots of users are solving math programming problems in it. You can do constraint programming and constraint-based scheduling in OPL (solving with CP Optimizer = CPO) and on scheduling models CPO is a match for CPLEX in performance/scalability/expressiveness (btw, you can combine the 2 technologies in case of problem decomposition). OPL provides convenience and speed for every step of the model development process in general.

    jfk
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: opl IDE GNU/Linux

    Posted Tue October 19, 2010 05:58 AM

    Originally posted by: Cedric Doens


    I could run an OPLIDE on my Lucid Ubuntu, and solve some models,
    by shaking an Eclipse 3.4.2 and a Windows OPLIDE cocktail, to consume with the libraries of the Linux distrib.
    I'm sure there is no guaranties nor support for this kind of tinkering, but this opldeploy script may please someone :

    #!/bin/sh
    1. set ECLIPSE_HOME to the location of the extracted eclipse-SDK-3.4.2-linux-gtk.tar.gz
    2. set OPLIDE_HOME to the location of a Windows installation copy.
    3. set OPLRUN_HOME to the location of OPL in a Linux install

    ECLIPSE_HOME=./eclipse
    OPLIDE_HOME=./oplide
    OPLRUN_HOME=./ILOG/CPLEX_Studio122/opl

    cp $ECLIPSE_HOME/eclipse.ini $ECLIPSE_HOME/eclipse.bak
    cp $ECLIPSE_HOME/configuration/config.ini $ECLIPSE_HOME/configuration/config.ini.bak

    1. "java.lang.RuntimeException: Widget disposed too early" without this
    echo "-Dorg.eclipse.swt.browser.XULRunnerPath=./configuration/org.eclipse.osgi/bundles/129/1/.cp/libswt-xulrunner-gtk-3452.so" >> $ECLIPSE_HOME/eclipse.ini

    cp -R $OPLIDE_HOME/plugins/* $ECLIPSE_HOME/plugins/.
    cp -R $OPLIDE_HOME/features/ilog* $ECLIPSE_HOME/features/.
    cp -R $OPLIDE_HOME/configuration/oplide $ECLIPSE_HOME/configuration/.
    cp $OPLIDE_HOME/configuration/config.ini $ECLIPSE_HOME/configuration/.

    export LD_LIBRARY_PATH=$OPLRUN_HOME/bin/x86_sles10_4.1
    $ECLIPSE_HOME/eclipse
    #CPLEXOptimizers
    #DecisionOptimization