Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  ### UNEXPECTED ERROR ...

    Posted 07/24/08 11:22 AM

    Originally posted by: SystemAdmin


    [shadi said:]

    hello
    i have a cpConfig0 configuration which i use for finding some preprocessing data,
    when i finsh with this configuaration i want to free all the pointers so i use the folowing command:
    cpConfig0.endAll();

    and i get the following error:

    ### UNEXPECTED ERROR ...
    and i get the error window which ask me to (debug, send error report or dont sent).

    when i use the endall command on the end of my main model, i dont get this error, WHY?

    my goal is to free all the pointers before the end of the main model...

    Kshieboun Shadi



    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: ### UNEXPECTED ERROR ...

    Posted 07/24/08 04:15 PM

    Originally posted by: SystemAdmin


    [alain.chabrier said:]

    Hi,

    may be you double-ended some part of the model.
    Do you have other calls to end() ?

    Which version of OPL are you using ?

    In the IDE the end() calls are protected (disactivated) to avoid this kind of  problem. They can be activated explicitely with mainEndEnable option.

    Alain
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: ### UNEXPECTED ERROR ...

    Posted 07/24/08 05:47 PM

    Originally posted by: SystemAdmin


    [shadi said:]

    Dear Alain
    >"may be you double-ended some part of the model."
    no becuase when i use this command at the end of the main model, i dont get this error.

    >"Which version of OPL are you using ?"
    Version: 6.0

    Kshieboun Shadi

    #CPLEXOptimizers
    #DecisionOptimization