How to perform supply demand calculation while using closest point as the crow flies?

Discussion created by wrayda on Feb 23, 2011
The problem I am trying to solve is allocating pigs from a sow farm (400 farms) to a nursery farm (600 farms) using the closest nursery location as the crow flies and not a real road network.  I am using the arcscript that uses the COIN algorithm and a real road network based on length as cost.

How do I use shortest distance as the crow flies for my transportation cost?

My first thought is to create a line network using pointdistance command and addxy coords o generate my road network for shortest distance as the crow flies.

Any help would be appreciated.