Decision Optimization

Decision Optimization

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

 View Only
  • 1.  memory profiler

    Posted Mon July 21, 2008 11:52 AM

    Originally posted by: SystemAdmin


    [shadi said:]

    Hello

    i use a oplrun in order to run my main model (the main model calls another submodels (cp and cplex)).
    how i can check the memory profiler in order to see which models occupe more amounts of memory???

    Kshieboun Shadi
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: memory profiler

    Posted Tue July 22, 2008 02:48 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi,

    You need to use "oplrun -profile", this will provide you with info regarding all models solved with CP or CPLEX within your script.

    Sofiane
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: memory profiler

    Posted Tue July 22, 2008 05:26 PM

    Originally posted by: SystemAdmin


    [shadi said:]

    Dear Sofiane
    these as the steps which i use in order to run my project:
    1. set the configuration that has the main  as defult
    2. Run -> External Tools -> Run as -> oplrun

    so how i can chose the option "oplrun -profile"??

    thank you
    Kshieboun Shadi
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: memory profiler

    Posted Tue July 22, 2008 05:52 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi,

    OK, in the IDE, in the external tools dialog you can try to add "-profile" before "-p".

    You can also directly from command line (DOS window) use C:\ILOG\OPL60\bin\x86_win32\oplrun -profile -p your-project-dir your-run-configuration.

    Sofiane
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: memory profiler

    Posted Tue July 22, 2008 06:12 PM

    Originally posted by: SystemAdmin


    [shadi said:]

    Dear Sofiane
    the i cant add -profile before -p in the IDE.
    in the opl5.5 i was runing my project using the oplrun command as following

    C:\OPLFiles>oplrun -p "nateev express.prj"
    after i install the opl6 on my machine i migrate my project into opl6.
    how i can run it now using the command line???

    thank you
    Kshieboun Shadi
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: memory profiler

    Posted Tue July 22, 2008 06:24 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi,

    You can then use : C:\OPLFiles>oplrun -profile -p directoryInWhichYourProjectFileIs RunConfiguration ("directoryInWhichYourProjectFileIs" is a sub directory in OPLFiles, it was created when you migrated you file: should be automatically named nateev express). "RunConfiguration" is a run configuration defined in the OPL IDE (by default it's named Configuration1).

    Hope this helps,

    Sofiane



    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: memory profiler

    Posted Wed July 23, 2008 11:36 AM

    Originally posted by: SystemAdmin


    [shadi said:]

    Dear Sofiane
    i wrote the following command in the command line:
    C:\OPLFiles>oplrun -p -profile C:\OPLFiles Configuration1

    and it start run but how i can see the profiler now???

    how i can run it from dos window and watchthe profiler from the opl ide????

    thank you
    Kshieboun Shadi
    #CPLEXOptimizers
    #DecisionOptimization


  • 8.  Re: memory profiler

    Posted Wed July 23, 2008 01:33 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi Shadi,

    You can see profiler info at the end of the run (the run has to go to the end).

    When using oplrun you can't see profiler info in the OPL IDE profiler panel.

    You can then either:
    - Solve your script from the IDE and then have profiler info in the profiler panel.
    - Solve using oplrun from the IDE using the external tools dialog: click on the configuration > Run External Tools > oplrun. Befor launching the run, do Run > External Tools > Open External Tools Dialog and in "Argments", add "-profile": -p -profile. trace will be displayed in the "Console"
    - Solve using oplrun (-p -profile) from command line

    Sofiane
    #CPLEXOptimizers
    #DecisionOptimization


  • 9.  Re: memory profiler

    Posted Wed July 23, 2008 03:53 PM

    Originally posted by: SystemAdmin


    [shadi said:]

    Dear Sofiane
    i really tried all your options but i still cant watch the memory profiler, it is empty no details inside...

    thank you
    Kshieboun Shadi
    #CPLEXOptimizers
    #DecisionOptimization


  • 10.  Re: memory profiler

    Posted Wed July 23, 2008 04:43 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi Shadi,

    OK, I think you should send your project files to the ILOG support then.

    Sofiane
    #CPLEXOptimizers
    #DecisionOptimization


  • 11.  Re: memory profiler

    Posted Wed July 23, 2008 05:33 PM

    Originally posted by: SystemAdmin


    [shadi said:]

    Dear Sofiane
    how i can send it?
    is there a specified email???

    Kshieboun Shadi

    #CPLEXOptimizers
    #DecisionOptimization


  • 12.  Re: memory profiler

    Posted Wed July 23, 2008 05:56 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi Shadi,

    The support contact info are in the OPL doc : Getting Assistance > Getting help.

    Sofiane
    #CPLEXOptimizers
    #DecisionOptimization