Decision Optimization

Decision Optimization

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


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

syntax errors 2

  • 1.  syntax errors 2

    Posted 09/26/13 07:37 AM

    Originally posted by: pickup


    Hi M. ALEX,

    for this constraint,

    c4: forall ( v in V)  ( sum of  i in SEGP (0) ) X 0iv =1 ; to say all successors of node  0 ( 0 is the index of dépot) 

     

    c5: forall ( v in V)  ( sum of  i in SEGM (0) ) X i0v =1 ; to say all predecessors of node  0 ( 0 is

     

    for c4 it works now thank you,  c4: forall (v in V) 
    sum (i in SEGM:i.n==0)Xijv[<i.e>][item(ICF,0)][v]==1;

    but in c5 : i have error 

     

    c5: forall (v in V) 
    sum (i in SEGM:i.n==0)Xijv[<i.e>][item(ICF,0)][v]==1;

    best regards 

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: syntax errors 2

    Posted 09/26/13 08:24 AM

    Hi,

    which error do you have ?

    Can you attach your model ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer