Topic
  • 1 reply
  • Latest Post - ‏2013-06-24T07:48:37Z by AlexFleischer
waterstyler
waterstyler
2 Posts

Pinned topic except some value

‏2013-06-20T02:01:02Z |

Hello

forall(i in Facility EXCEPT WHEN i EQUAL ALPHA,j in Facility,t in Time)Except:L[i][j][t]==0;

 

Is there any way to code this constraint. Thank you in advance

  • AlexFleischer
    AlexFleischer
    1803 Posts

    Re: except some value

    ‏2013-06-24T07:48:37Z  

    Hi

     

    have you tried

     

    forall(i in Facility ,j in Facility,t in Time: i!=ALPHA)Except:L[i][j][t]==0;

     

    regards