Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Disabling output log

    Posted 04/06/22 05:32 AM
    Is there any way to disable engine/scripting log in CPLEX?
    I am trying to run MIP code(.mod file & .dat file) using oplrun in command prompt and the engine log is getting piled up in cmd which is causing an issue for me.
    So, is there any way to disable the engine log that is being output on cmd?

    ------------------------------
    Sam
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Disabling output log

    Posted 04/06/22 05:35 AM
    Hi,

    in the OPL model have you tried

    execute
    {
      cplex.mipdisplay=0;
    }​

    ?




    ------------------------------
    [Alex] [Fleischer]
    [Data and AI Technical Sales]
    [IBM]
    ------------------------------



  • 3.  RE: Disabling output log

    Posted 04/06/22 05:44 AM
    Still getting some output in command prompt, is there any way to completely disable any output from being written to cmd ?

    ------------------------------
    Sam
    ------------------------------



  • 4.  RE: Disabling output log

    Posted 04/06/22 05:54 AM
    Hi,

    if you use the command line oplrun then you may redirect the log into a file and then you won't get any log in the command line:

    oplrun model.mod > log.log​


    ------------------------------
    [Alex] [Fleischer]
    [Data and AI Technical Sales]
    [IBM]
    ------------------------------



  • 5.  RE: Disabling output log

    Posted 04/06/22 06:01 AM
    It worked. Thank you very much Alex.

    ------------------------------
    Sam
    ------------------------------



  • 6.  RE: Disabling output log

    Posted 05/31/22 09:57 AM
    hi,
    i have also same issue to get output.

    ------------------------------
    saleem sohail
    ------------------------------