Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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:

FindMinimumCostFlow[
 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
1  
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
1  
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. –  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

 
discard

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

Browse other questions tagged or ask your own question.