Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Read data from a file

    Posted 05/13/12 03:54 PM

    Originally posted by: Rommelds


    Hello, good day.

    I have a 5x5 matrix in a .txt file.

    How can CPLEX read it from the file?

    Thanks!
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Read data from a file

    Posted 05/14/12 05:22 AM
    Hi,

    have you tried the class IloOplInputFile ?
    With this, you should be able to read your file.

    Regards
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Read data from a file

    Posted 05/15/12 08:10 PM

    Originally posted by: Rommelds


    Hey Alex,

    Thanks. I have solved my problem with it!

    Rommel.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Read data from a file

    Posted 05/20/12 07:45 AM

    Originally posted by: Maissa


    hi,
    and how can i write the matrix of model A,b & C in a excel file or .txt file?
    Please HELP ME SOON!
    Thank you
    #DecisionOptimization
    #OPLusingCPLEXOptimizer