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?

  • 1
    $\begingroup$ 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. $\endgroup$ – rcollyer May 17 '13 at 20:37
  • $\begingroup$ OK.did it.and my OS is Mac 10.6.8 $\endgroup$ – Alex May 17 '13 at 20:45
  • 1
    $\begingroup$ I put the InputForm of the graph into a code block. Look at the [revisions][mathematica.stackexchange.com/posts/25410/revisions] to see what I did, or better yet, the edit window. $\endgroup$ – rcollyer May 17 '13 at 20:56
  • $\begingroup$ @rcollyer That input crashes the kernel. You will report it? $\endgroup$ – Szabolcs May 17 '13 at 21:25
  • $\begingroup$ @rcollyer The graph related functionality in particular seems to have too many bugs. :-( $\endgroup$ – Szabolcs May 17 '13 at 21:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.