Topic
  • 4 replies
  • Latest Post - ‏2013-10-04T10:38:38Z by pickup
pickup
pickup
19 Posts

Pinned topic no values!!!!!!!!!!!!!!

‏2013-10-02T19:16:39Z |

Hi, I have a problem in the simulations. when I execute the model it shows me " no values " although it does not display any  errors or warning 

 

 
F : no values????????

Xijv : no values?????????

Yijvk : no values??????

below the model attachement

Best regards 

 

Updated on 2013-10-03T18:54:03Z at 2013-10-03T18:54:03Z by pickup
  • AlexFleischer
    AlexFleischer
    1788 Posts
    ACCEPTED ANSWER

    Re: no values!!!!!!!!!!!!!!

    ‏2013-10-03T15:07:20Z  

    Hi,

     

    your model is not feasible. When I run it in the IDE I get a relaxed solution.

    If I run it with oplrun, I get no solution.

    Regards

  • AlexFleischer
    AlexFleischer
    1788 Posts

    Re: no values!!!!!!!!!!!!!!

    ‏2013-10-03T15:07:20Z  

    Hi,

     

    your model is not feasible. When I run it in the IDE I get a relaxed solution.

    If I run it with oplrun, I get no solution.

    Regards

  • pickup
    pickup
    19 Posts

    Re: no values!!!!!!!!!!!!!!

    ‏2013-10-04T01:23:12Z  

    Hi,

     

    your model is not feasible. When I run it in the IDE I get a relaxed solution.

    If I run it with oplrun, I get no solution.

    Regards

    hi, please i have a problem ,

    i want to say : forall(i in I, j in J, v in V:j!=i

          (Xijv[i][j][v] ==1) ==> (F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v])

    in cplex : 

     forall (i in I, j in J, v in V:j!=i)  

    if  ( Xijv ==1)  then  F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v]; //   Xijv is a decision variable

    errors : the if-then loop can not contain a variable decision, 

    so what can i do??

    Best regards 

  • AlexFleischer
    AlexFleischer
    1788 Posts

    Re: no values!!!!!!!!!!!!!!

    ‏2013-10-04T05:00:33Z  
    • pickup
    • ‏2013-10-04T01:23:12Z

    hi, please i have a problem ,

    i want to say : forall(i in I, j in J, v in V:j!=i

          (Xijv[i][j][v] ==1) ==> (F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v])

    in cplex : 

     forall (i in I, j in J, v in V:j!=i)  

    if  ( Xijv ==1)  then  F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v]; //   Xijv is a decision variable

    errors : the if-then loop can not contain a variable decision, 

    so what can i do??

    Best regards 

    Hi,

     

    you should rewrite

     ( Xijv ==1)  then  F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v];

    into something like

     ( Xijv ==1)  =>  (F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v]);

    regards

  • pickup
    pickup
    19 Posts

    Re: no values!!!!!!!!!!!!!!

    ‏2013-10-04T10:38:38Z  

    Hi,

     

    you should rewrite

     ( Xijv ==1)  then  F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v];

    into something like

     ( Xijv ==1)  =>  (F[i][v] + item (TIJ,<i.i,j.j>).temp <= F[j][v]);

    regards

    Thank you 

    it works now .

     

    Best regards