Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  ImportModel from a different location

    Posted 05/09/12 08:29 AM

    Originally posted by: Inspiredlallu


    Hi,

    I want to import a model from a location other than the project space. If my project space is "C:\Working\Project\", I want to import my model from "C:\Setups\Database\".

    In java whenever I give cplex.importModel("C:\\Setups\\Database\\1.lp"), it gives me the following error

    "CPLEX Error 1609: Line 6: Expected identifier first."

    Can anyone tell me how to import model from a different directory other than project directory.

    Thanks and Regards,
    Neha Bhatia
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: ImportModel from a different location

    Posted 05/09/12 09:59 AM

    Originally posted by: SystemAdmin


    The error message suggests that your 1.lp file is invalid.
    Did you look at line 6 of that file? Maybe the syntax is just wrong?
    #CPLEXOptimizers
    #DecisionOptimization