• VRP with GAMS

    From nazireozke@gmail.com@21:1/5 to All on Sat Apr 23 17:03:31 2016
    Hi there,
    I'm working on VRP with time windows and the model that i write on Gams makes an error "Uncontrolled set entered as constant". So I need help urgently. Could anybody tell me reason of the problem? Model is as follows:

    sets i customers/1,2,3,4,5,6,7/;
    k vehicles/1,2,3,4/
    Alias (i,j)


    Table g(i,j) The total transportation and service time
    0 1 2 3 4 5 6 7
    0 100000 13.71 13.12 11.20 9.95 15.65 13.96 12.34
    1 13.36 100000 0.97 2.47 3.40 2.56 0.89 1.52
    2 12.82 1.02 100000 2.02 2.73 3.24 1.53 1.07
    3 11.00 2.62 2.12 100000 3.85 4.27 2.78 1.21
    4 9.55 3.35 2.63 3.65 100000 5.56 4.16 3.25
    5 15.45 2.71 3.34 4.27 5.76 100000 2.02 3.89
    6 13.76 1.04 1.63 2.78 4.36 2.02 100000 2.40
    7 12.09 1.62 1.12 1.16 3.40 3.84 2.35 100000



    binary variables X(i,j,k);
    positive variables s(j,k);

    time to start service at customer i (i,j) $((ord(i) ne (ord(j) and (ord(j) ne 1))))..s(i,k)-s(j,k)+sum(k,X(i,j,k))*10000=l=10000-g(i,j);

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From osamaboi@gmail.com@21:1/5 to All on Sun Apr 15 12:06:33 2018
    when you are mentioning S(i,k), its not sumed, neither mentioned in the beginning thats why ts saying that its uncontrolled. o you need to summ them on k as well.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kapilgumtejai@gmail.com@21:1/5 to forogh.t...@gmail.com on Sun Nov 10 22:38:13 2019
    On Monday, 27 July 2015 23:01:10 UTC+5:30, forogh.t...@gmail.com wrote:
    On Monday, October 2, 2006 at 8:47:45 AM UTC+3:30, Kumar wrote:
    Hi alI

    We have GAMS & CPLEX software and want to solve VRP problem.Could
    anybody send me any type of VRP problem.

    Thanks

    hi, I have a VRP problem, could I send you?email?

    Hello, Can you send me VRP sample code of GAMS software. I am at learning stage of GAMs, it will help me a lot and coding.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From anilerensan@gmail.com@21:1/5 to All on Sun Apr 26 08:51:44 2020
    hocam aynı projeyi ben de yapıyorum da şuan bi şansımı denemek istedim. Eğer duruyorsa gams kodunu gönderebilir misin ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From shiyuanwsaran@gmail.com@21:1/5 to All on Sun Jun 14 16:10:54 2020
    forogh.t...@gmail.com於 2015年7月27日星期一 UTC-5下午12時31分10秒寫道:
    On Monday, October 2, 2006 at 8:47:45 AM UTC+3:30, Kumar wrote:
    Hi alI

    We have GAMS & CPLEX software and want to solve VRP problem.Could
    anybody send me any type of VRP problem.

    Thanks

    hi, I have a VRP problem, could I send you?email?

    Hi, I am also working on a VRP problem. Could you please share your code with me? I would be very grateful if you'd like to help me.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From lele@21:1/5 to All on Sun Jun 28 14:45:35 2020
    Am Montag, 2. Oktober 2006 07:17:45 UTC+2 schrieb Kumar:
    Hi
    can someone send me the VRP GAMS Code? I just know the basics of GAMS so I would be very grateful if someone could help me.

    Thank you :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)