Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Problems when migrating to a new version!!!

  • 1.  Problems when migrating to a new version!!!

    Posted 01/21/08 10:53 PM

    Originally posted by: SystemAdmin


    [tanrisev said:]

    Hi,

    I have been using cplex 9.0, in a C++ environment, to solve a large stochastic program. The code was working fine until recently, my university upgrades to cplex 10.1. However, now, the same code is giving me segmentation errors in cplex 10.1! I expect to the new versions to be backward compatible. I wonder if there is a compatibility issue between cplex versions 9.0 and 10.1 and if there are some guidelines that may help me to solve my problem. I suspect that I'm getting segmentation errors because of some multi-dimensional array issues.

    Thanks.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Problems when migrating to a new version!!!

    Posted 02/01/08 09:42 PM

    Originally posted by: SystemAdmin


    [EdKlotz said:]

    Each new release of CPLEX comes with release notes that describe any conversion issues required to update your application.  If your university
    went from CPLEX 9.0 to 10.1 directly, you may be missing the release notes
    for versions 9.1 and 10.0.  If so, release notes for all versions are available
    in the public section of the support.ilog.com web site.  Specifically, point
    your browser to https://support.ilog.com/public/products/faq.cfm?FAQ=185&Product=CPLEX.  Take a look at the conversion notes for
    Concert Users.  I didn't see conversion issue that seemed likely
    to result in a segmentation fault, but you should still have a look.

    Also, keep in mind that the source of the problem may not relate directly to
    the change in version.  The problem may have existed in your program when using 9.1, but it didn't cause a crash.  The change in version changed the
    executable in a way that the problem now resulted in a crash.  The most common example of this involves uninitialized memory.  With this in mind,
    all the usual debugging recommendations apply.  Specifically,

    1)  Try to reproduce the problematic behavior in interactive CPLEX or a small
    sample program.

    2)  Make good use of memory debugging tools like Purify, Valgrind, Insure, or whatever else you have access to.

    3)  Turn on CPLEX's datacheck parameter to see if that sheds any light on the problem.

    Point your browser to  https://support.ilog.com/public/products/faq.cfm?FAQ=3&Product=CPLEX for additional debugging tips.

    #CPLEXOptimizers
    #DecisionOptimization