Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  cplex version

    Posted 01/06/12 02:53 PM

    Originally posted by: PingLiu


    if I addpath for both cplex 12.2 and 12.3 in matlab,
    why cplex.getVersion() is 12.3 not 12.2?
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: cplex version

    Posted 01/06/12 08:18 PM

    Originally posted by: SystemAdmin


    Given that you are adding the Matlab paths of both CPLEX 12.2 and 12.3, the version that will actually be used when instantiating a Cplex object would depend on which version's shared dll's appear first in your 'Path' variable. You could check this by printing the value of the 'Path' environment variable in the 'Command window' via the following line:

    getenv('Path')
    


    I suspect that 12.3 appears before 12.2 in there, resulting in 12.3's Cplex object being used and thus 12.3 being printed for the cplex.getVersion command.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: cplex version

    Posted 01/06/12 08:28 PM

    Originally posted by: SystemAdmin


    Also, I forgot to mention that, it is not a good idea to add in the paths to more than one version of CPLEX to any given Matlab session since it could lead to ambiguous behavior and/or crashes.
    #CPLEXOptimizers
    #DecisionOptimization