Decision Optimization

 View Only
  • 1.  Where to find cplex log file

    Posted Sun December 06, 2020 11:47 PM
    This is very simple question.
    http://home.eng.iastate.edu/~jdm/ee458/CPLEX-UsersManual2015.pdf
    As per the above link page 111 when we run a cplex opl model we can find the cplex.log file.

    Quoted as below.
    "As CPLEX is working, it can record messages to a log file. By default, the
    Interactive Optimizer creates the log file in the directory where it is running, and it
    names the file cplex.log . If such a file already exists, CPLEX adds a line
    indicating the current time and date and then appends new information to the end
    of the existing file. That is, it does not overwrite the file, and it distinguishes
    different sessions within the log file. By default, there is no log file for Component
    Library applications."

    Imagine I ran the cplex provided example bidding from my IDE.But when I ran the model there is no cplex.log file in its directory.
    "D:\Programs\cplex samples\opl\examples\opl\models\Bidding"

    Can someone advise where it is created.

    ------------------------------
    Suresh Abeyweera
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Where to find cplex log file

    Posted Mon December 07, 2020 02:52 AM
    Hi,

    you can set the log file in the settings editor. (.ops files)



    ------------------------------
    [Alex] [Fleischer]
    [EMEA CPLEX Optimization Technical Sales]
    [IBM]
    ------------------------------



  • 3.  RE: Where to find cplex log file

    Posted Tue December 08, 2020 05:52 AM
    Could you provide an advise for below.
    Thanks Alex.This was good for my investigation. I have an another question based on this..If we take IBM TM1 we have there error logs where a Administrator can go and check error log file and find where it has gone wrong if some thing is incorrect. I though from this engine log I can get that understanding. But that content does not provide my requirement.   In cplex where I can find the error log report for the Configurations we run.

    And if we use docplex do we have that capability to see the error log.If so in which directory that file is created.

    Thanks alex for your input.

    ------------------------------
    Suresh Abeyweera
    ------------------------------