Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  3D matrix variable with bounds

    Posted 01/15/12 05:18 PM

    Originally posted by: lokoloko


    Hi!

    How can I in cplex write that I have binary variable u[i][j][z] and 0<=u[i][j][z]<=1
    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: 3D matrix variable with bounds

    Posted 01/16/12 04:32 AM

    Originally posted by: SystemAdmin


    Hello,
    I think you can just do:

    
    
    
    int ni=...; 
    
    int nj=...; 
    
    int nz=...; dvar 
    
    int u[1..ni][1..nj][1..nz] in 0..1;
    


    If you have questions concerning CPLEX, you should post them on the CPLEX forum.

    Philippe
    #CPOptimizer
    #DecisionOptimization