Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

How to usecplex.getRay(vals, vars) for multidimensional variables?

  • 1.  How to usecplex.getRay(vals, vars) for multidimensional variables?

    Posted 07/27/11 02:08 AM

    Originally posted by: sjayaswal


    My problem is something similar to the problem on Extreme Rays already discussed in the forum elsewhere, but more complicated.
    I have two types of variables, say X and Y. Both are multidimensional. Let's say both are 2-dimensional arrays.
    If I use cplex.getRay(vals, vars) to obtain the Extreme Ray, then vals and vars are required to be declared as single dimensional
    arrays. In such a case, how would I know which values in vals are for X variables and which ones are for Y variables?

    I am stuck on this for a week now, and would very much appreciate any help.

    Thanks and Regards,
    Sachin
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to usecplex.getRay(vals, vars) for multidimensional variables?

    Posted 07/27/11 03:29 AM

    Originally posted by: SystemAdmin


    Please do not post the same question multiple times. And if you do so please cross reference the questions.
    We have started to answer your question here.
    #CPLEXOptimizers
    #DecisionOptimization