Decision Optimization

Decision Optimization

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

 View Only
  • 1.  can constraints writed like this?

    Posted Tue April 17, 2018 11:04 PM

    Originally posted by: jdpfreefly


    To may it concered, hello.

     

    I writed a model, some constraints like this, it is ok in CPLEX grammer? 

     

    Thanks


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: can constraints writed like this?

    Posted Wed April 18, 2018 05:47 AM

    What do you mean by "CPLEX grammar"? From your picture it seems you are trying to write an LP file? For LP file format your picture does not look correct. You can find a specification of LP file format here. Thinks like '+(-30pw_10_1_4)' have to be expanded to just '-30pw_10_1_4'.

    A good way to validate your file is to read it into the interactive, write it out again to a different file and then check that the created file still looks as expected. Did you try something like that?


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: can constraints writed like this?

    Posted Wed April 18, 2018 05:59 AM

    Originally posted by: jdpfreefly


    Thank you VERY MUCH. I got it and i find the error.


    #CPLEXOptimizers
    #DecisionOptimization