Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  how to read .lp file in cplex optimization studio

    Posted 05/10/14 01:52 PM

    Originally posted by: Sanias


    I am new to CPLEX and don't know how to use it. I need to read an .lp file to solve the problem within, but I have no idea how to. Could someone please give me a step by step process on how to do this? I am not computer savvy at all! 


    #DecisionOptimization
    #MathematicalProgramming-General


  • 2.  Re: how to read .lp file in cplex optimization studio

    Posted 05/11/14 04:07 AM

    Hi

    could

    main

    {

    cplex.importModel("file.lp");

    cplex.solve();

    }

     

    help ?

    regards


    #DecisionOptimization
    #MathematicalProgramming-General


  • 3.  Re: how to read .lp file in cplex optimization studio

    Posted 05/11/14 11:27 AM

    Originally posted by: Sanias


    Where would I put this code? I want to read this model and then solve it. Btw, I am using CPLEX 12.6.

     

    EDIT: I just figured it out, thanks! 


    #DecisionOptimization
    #MathematicalProgramming-General


  • 4.  Re: how to read .lp file in cplex optimization studio

    Posted 05/12/14 01:37 AM

    If you are using the IDE then you can just put what Alex wrote into a .mod file and run that in the IDE. It could also help to start with the tutorial.

    If you are using one of the programming APIs then you will have to tell us what API you are using.


    #DecisionOptimization
    #MathematicalProgramming-General