mainly on the edge cost formulation
Merge pull request #19 from tttor/v.2.9

mainly on the edge cost formulation