Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Big number in contraints

    Posted Tue January 06, 2009 09:31 PM

    Originally posted by: SystemAdmin


    [a_shraideh said:]

    hello every body ,
    i use CplexV9+ Java,
    i have some comstraint that have a very big integer number some thing like this
    X1+X2+X3+......X120<= 2^120<br />when i implemnet this in cplex i get the following value
    -1e+20 
    (which is an error) instead of the real value for 2^120 which is = 1.3292279957849158729038070602803e+36
    how can i extend the size of my term??
    in the other hand when i multiply the value 2^20 by X1, it gives the correct value
    1.3292279957849158729038070602803e+36 X1
    can you help me please??

    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Big number in contraints

    Posted Thu January 08, 2009 02:02 AM

    Originally posted by: SystemAdmin


    [MaryFenelon said:]

    Java CPLEX considers values over 1e+20 to be infinity so it just can not handle the sort of constraint you are trying to use.  What are you trying to model with such a constraint?
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Big number in contraints

    Posted Fri January 09, 2009 09:46 PM

    Originally posted by: SystemAdmin


    [a_shraideh said:]

    thank you very much

    #CPLEXOptimizers
    #DecisionOptimization