[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] [Fwd: need help about gusek]

From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: need help about gusek]
Date: Thu, 3 Apr 2014 14:04:19 +0200

Dear Zheng,

your mail had to be forwarded manually be cause you are not registered for the 
GLPK help list. See

With statement

table tab_movementproportion IN "CSV" "movement_proportion_back.csv":

the following records are read:


Both contain identical field values
for set Q and hence would create duplicates in Q.

Best regards

Heinrich Schuchardt

Heinrich Schuchardt

> -------- Forwarded Message --------
> Subject: need help about gusek
> Date: Thu, 3 Apr 2014 17:38:17 +0800
> Hello,Andrew:
>   My name is Zheng Zhipeng,I am a student from China,these days I am
> using the GUSEk program.
>   There are some problems I don't know to handle.First,when I use the
> CSV file to store the data,I defined the sets and parameters,but when I
> run GUSEK,it told me that :duplicate tuple (4023,20,4136,4022,9715)
> fact ,there is only one (4023,20,4136,4022,9715) in the CSV
> file ,so I have to delete it ,it can run successfully,but sometimes I
> need this data .
> Second ,if  I want to solve the least-absolute-deviation problem using
> gusek,how should I convert the objective function.My objective function
> is following:
>          sum{a in A,c in C}|(sum{i in I,j in J}
> pl[i,j,a,c]*d[i,j]-col[a,c])|
>           +sum{a in A,b in B,c in C}|(sum{i in I,j in J}
> pls[i,j,a,b,c]*d[i,j]-cot[a,b,c])|
>                      +sum{i in I,j in J}|(d[i,j]-dt[i,j])|.
> There is an attachment which is my GUSEK code ,if you can help me check
> the error I mentioned previous,it will be a great help for me.Thank you
> very much!
> Your Sincerely
> _______________________________________________
> Help-glpk mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]