[sage-support] Re: Minimum Diameter Spanning Subgraph

2016-08-15 Thread Dominique Laurain
+1 with Dima I cannot help if you don't write the message error and if you have not given points16-txt file content. After copying your code in sageworksheet cell and running cell, I have only the error IOError: [Errno 2] No such file or directory: 'points-16.txt' Post too your computer

[sage-support] Re: Minimum Diameter Spanning Subgraph

2016-08-14 Thread Dima Pasechnik
On Sunday, August 14, 2016 at 3:49:03 PM UTC+1, aida wrote: > > Hello! > Does anybody sees where is the probleme with this code: > > # Weights w and parameter B are given > def MinDiameterSpanningSubgraph(G, B): > > > # ILP returns minimum diameter in a spanning subgraph > I =