RELAX: a computer code for minimum cost network flow problems