Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Appending to output file.

    Posted 03/28/11 05:15 PM

    Originally posted by: IbrahimC


    Hi all,

    When I am trying to create an output file, OPL always generates a new file. However I would like to append the current file. I will appreciate it if you could let me know how I can do that.

    I am using version 12.2 build id: b00030.

    Here is the part of the code:
    var ofile= new IloOplOutputFile();
    ofile.open("L://Result//test.txt", append);

    Thanks in advance.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Appending to output file.

    Posted 03/31/11 05:10 PM

    Originally posted by: SystemAdmin


    You can use following constuctor:
    IloOplOutputFile(path, append) 
     
    with append = true
    

    Regards,
    Faisal
    #DecisionOptimization
    #OPLusingCPLEXOptimizer