Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Problem size limits exceeded.

    Posted Tue December 03, 2013 09:40 PM

    Originally posted by: jason1234


    hi all,

    when i run my cplex model,"CPLEX Error  1016: Restricted version.  Problem size limits exceeded." occurs,what is the problem. I have searched in

    internet,some said it is because my cplex is a trial version,is this right? and another question,i want to round  a data which data type is IloNumVar or

    IloNumExpr,is there any method like Math.round() in cplex. Thanks a lot in advance.

    jason. 


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Problem size limits exceeded.

    Posted Wed December 04, 2013 07:46 AM

    Please create two different posts if you are asking two questions that are completely unrelated.

    1. Yes, the error message 1016 means that you are using a trial/restricted version. These versions are limited in the number of variables/constraints they can process.
    2. There is round() function that you could apply to an instance of IloNumVar. If you intend to round the value of that variable in a solution then use Math.round(cplex.getValue(v)). If you instead want to have something round(x)+y<=5 as a constraint then there is no easy way to do that. You would have to use additional integer variables to model that.

    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  回复:Re: Problem size limits exceeded.

    Posted Wed December 04, 2013 09:21 PM

    Originally posted by: jason1234


    ok,i got it,Thanks very much!!!


    #CPLEXOptimizers
    #DecisionOptimization