Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Tuple and constraint

Archive User

Archive UserWed May 11, 2016 02:12 PM

ALEX FLEISCHER

ALEX FLEISCHERWed May 11, 2016 03:38 PM

  • 1.  Tuple and constraint

    Posted Wed May 11, 2016 02:12 PM

    Originally posted by: Ghostwriter_muc


    Hello,

     

    I only recently started working with Cplex and i have some questions about tuples.

     

    I connected the Data from the excel sheet to the tuple arc. 

    I need for the following constraint the values from the tuple arc:

    S[ j ] - S[ i ] >= sigma[ i ][ j ]

     

    For S[ j ] i need the data from column B, for S[ i ] from column A and sigma[ i ][ j ] from column C.

     

    I don't know how to do this. Is this possible to do?

     

    .Mod

     

    .data

     

    Excel

     

    I read the documentation but it is too general and I cannot find solutions for my specific problem.

     

    Many thanks in advance!!

     

    Kind regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Tuple and constraint

    Posted Wed May 11, 2016 03:38 PM

    Try

    forall(<i,j,sigma> in Arcs) S[j]-S[i]>=sigma;

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer