Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to solve a LP format using OPL model ?

    Posted 06/14/12 02:50 PM

    Originally posted by: SystemAdmin


    Hi,
    I have raised this question already in another thread but I dint get reply for nearly 4 days....I am struggling to implement my model in OPL. So I have planned to use other way. Since I have already a LP format of my model, I would like to pass the LP model and just solve the problem using OPL and view the output. In that case, will my output can be viewed in the OPL model itself? The reason why I want to use OPL is, since I can view my results using OPL in a better format for each variables.

    You mentioned me to use this way shown below,

    main
    {
    cplex.importModel("model.lp");
    cplex.solve();
    }
    But is this code alone enough to set up a OPL model file? I would like to know the entire code for solving and viewing the output in OPL by using LP format file.
    It would be great if you help me in providing a step by step code for the above task mentioned. As I am new to this cplex and finding it difficult.
    I am really in need of urgent help. I am struggling for a long time....
    Thanks in Advance!!!
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to solve a LP format using OPL model ?

    Posted 06/14/12 03:48 PM

    Originally posted by: SystemAdmin


    Did you check past messages in the forums? I believe a similar request has been addressed in the following thread:
    How to convert CPLEX LP format to OPL format
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: How to solve a LP format using OPL model ?

    Posted 06/14/12 05:57 PM

    Originally posted by: SystemAdmin


    Hi,

    Sorry the link you have mentioned is not working. Its just refreshing to the same page of my thread. But I am also interested in viewing my output for each variables using the OPL as I mentioned in the previous post.
    Thanks
    #DecisionOptimization
    #OPLusingCPLEXOptimizer