[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: need help about gusek]
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] [Fwd: need help about gusek] |
Date: |
Thu, 03 Apr 2014 19:09:10 +0400 |
> 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])|.
>
You may look at some examples included in the glpk distribution, namely,
cf12a.mod, cf12b.mod, cflsq.mod, qfit.mod, xyacfs.mod, and yacfs.mod.