Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Can't find cplex.log

    Posted Thu May 29, 2014 08:36 AM

    Originally posted by: USMC


    I am trying to run using OPL on two different windows machines.

    On the first one running windows 7, when I optimize from the OPL interface cplex.log is not generatated.  Is it supposed to be this way or is there a setting I am missing?  I can at least generate the file when I run Cplex in interactive mode, but that is not a very user friendly way to run.

    I would prefer to use my windows 8 machine to run these problems because it has a better processor and more ram.  But, I don't get cplex.log running either from OPL or interactively. Again, is there a setting I am missing?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Can't find cplex.log

    Posted Fri May 30, 2014 04:46 AM

    The only tool that creates the cplex.log file by default is the interactive optimizer.

    In the OPL IDE the same information is available in the "Engine Log" view. If you want to create a log file from OPL then you have to set "Language->Run->Engine log file" in the settings editor to a non-empty value.

    In your last sentence, are you saying that you do not get a cplex.log file from the interactive on Windows 8? That would be unexpected. Do you have write permission on the folder in which you are executing the interactive? Does it help to use

    CPLEX> set log C:\path\to\folder\logfile.log
    

    to change the log file location to a place where you are guaranteed to have write permission (don't use a path with blanks)?


    #CPLEXOptimizers
    #DecisionOptimization