Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  LP format to OPL format ???

    Posted 06/06/12 10:24 AM

    Originally posted by: SystemAdmin


    Hi all,

    I have my model in LP format. I would like to convert the LP format to OPL format. Is it possible to do by any means???

    Kindly let me know

    Thanks
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: LP format to OPL format ???

    Posted 06/07/12 05:19 AM
    Hi,

    in OPL you can solve an LP model with

    main
    {
     cplex.importModel("model.lp");
     cplex.solve();
    }
    


    But is that enough for you?

    Regards
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: LP format to OPL format ???

    Posted 06/11/12 02:16 AM

    Originally posted by: SystemAdmin


    Hi,

    Thanks for the info. Yeah I have some more questions. May be I will brief a little about my case.
    I have a mathematical model file already which is created using other modeling language(Open source). So based on that, I was able to convert to a CPLEX LP format somehow. What I am interested now is to, using the converted LP format file, I want to use in the OPL model. So how to do this approach. As I am interested to view the output through OPL in a better way.
    As you gave the codes in the previous reply, is that alone enough?

    I have an empty OPL project file now. How can I use my LP format and view the results in the OPL project file?
    This is my problem. Kindly help me as I am struck here....
    Thanks
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: LP format to OPL format ???

    Posted 06/11/12 04:45 PM

    Originally posted by: SystemAdmin


    Hi,

    Kindly please reply to my previous post. I am waiting for ur suggestions and help.

    Thanks!!!
    #DecisionOptimization
    #OPLusingCPLEXOptimizer