Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Bug introduced in 9.0 and fixed in 10.0
FindMinimumCostFlow is introduced in 9.0.

I updated my Mathematica recently to 9.0.1 cause the previous version was giving me freaky result especially in FindMinimumCostFlow and OptimumFlowData. But even in new version I have problems.It can not still solve the multi-source multi-sink problem even the same example of Mathematica documentation such as first of basic examples:

 Graph[{1, 2, 3, 4, 5, 6}, {UndirectedEdge[1, 2], 
   UndirectedEdge[2, 3], UndirectedEdge[3, 4], UndirectedEdge[1, 5], 
   UndirectedEdge[5, 6], UndirectedEdge[6, 4], UndirectedEdge[2, 5], 
   UndirectedEdge[3, 6]}, {ImageSize -> 110, 
   VertexShapeFunction -> {"Name"}}], 
{1, 3, 4, -3, -4, -1}]

After evaluation it doesn't return any result. Can somebody help me on that?

share|improve this question
A couple of things. First, you are trying to post the full box structure of something, and stackexchange does not interpret that correctly. Since you mention the documentation, can you post a link to it and someone might be able to get something better working. Second, the grave marks ( ` ) are for inline formatting only. To set up a code block, indent by four spaces. – rcollyer May 17 '13 at 20:37
OK.did it.and my OS is Mac 10.6.8 – Alex May 17 '13 at 20:45
I put the InputForm of the graph into a code block. Look at the [revisions][] to see what I did, or better yet, the edit window. – rcollyer May 17 '13 at 20:56
@rcollyer That input crashes the kernel. You will report it? – Szabolcs May 17 '13 at 21:25
@rcollyer The graph related functionality in particular seems to have too many bugs. :-( – Szabolcs May 17 '13 at 21:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.