如何在 GLPK 中使用以下参数距离?像参数距离 {line in Line, dir in Direction , ori in Station , des in Station};?
data;
set Direction := Eastbound Westbound;
set Line := District Piccadilly;
set Station := ACTON_TOWN ALDGATE_EAST ALPERTON ARNOS_GROVE...;
param Distance := # Line Direction StationFrom StationTo Kilometers
District Eastbound ACTON_TOWN CHISWICK_PARK 1.22
District Eastbound ALDGATE_EAST WHITECHAPEL 0.82
District Eastbound BARKING UPNEY 1.38
District Eastbound BARONS_COURT WEST_KENSINGTON 0.64
District Eastbound BAYSWATER PADDINGTON 0.98
District Eastbound BECONTREE DAGENHAM_HEATHWAY 1.37
...
end;