bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] GLPK 4.44: examples/csv/transp_csv.mod


From: Noli Sicad
Subject: Re: [Bug-glpk] GLPK 4.44: examples/csv/transp_csv.mod
Date: Mon, 7 Jun 2010 10:20:54 +1000

I think Xypron contributed this one.

I think Xypron might be referring to the .value suffix (e.g.
supply[i].value ~ SUPPLY_VAL,). This one works in .43 and .38 patch
Xypron suffixes.

It is not working. Try putting the statements (below) in the current
/transp_csv.mod in glpk4.44 and run glpk4.44.

Is .value not supported in glpk4.44? What is the correct equivalent
suffix for ".value"?

BTW, is there any reason why the GLPK Lab doesn't have all the
examples present in the glpk official release?

Thanks.

Regards, Noli

~~~~~~~~~~~~~~~



solve;

table tab_result{(i,j) in K} OUT "CSV" "result.csv" :
  i ~ plant, j ~ market, x[i,j] ~ shipment;

 table ts {i in I} OUT 'CSV' 'supply.csv' :
 i ~ PLANT,
 supply[i].value ~ SUPPLY_VAL,
 supply[i].lb ~ SUPPLY_LB,
 supply[i].ub ~ SUPPLY_UB,
 supply[i].dual ~ SUPPLY_DUAL;

table td {j in J} OUT 'CSV' 'demand.csv' :
 j ~ MARKET,
 demand[j].value ~ DEMAND_VAL,
 demand[j].lb ~ DEMAND_LB,
 demand[j].ub ~ DEMAND_UB,
 demand[j].dual ~ DEMAND_DUAL;


On 6/7/10, Andrew Makhorin <address@hidden> wrote:
>> the issue is still open in GLPK 4.44.
>
>>>
>>> the following lines are superfluous in
>>> examples/csv/transp_csv.mod
>>>
>>> param f;
>>> /* freight in dollars per case per thousand miles */
>>>
>>> The value is read from a CSV file to param e{L}.
>>>
>
> Who contributed this example model? It was not me.
>
>
>
>
> _______________________________________________
> Bug-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-glpk
>



reply via email to

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