help-glpk
[Top][All Lists]
Advanced

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

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


From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: need help about gusek]
Date: Thu, 03 Apr 2014 15:07:46 +0400

-------- Forwarded Message --------
From: 郑志鹏 <address@hidden>
To: Makhorin <address@hidden>
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)
detected.in 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


Attachment: static_odme_coded_by_GLPK.rar
Description: Binary data


reply via email to

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