Re: [sage-support] Re: Binary variables in Integer Programs solved with CPLEX have wrong bounds

2014-01-08 Thread Nathann Cohen
Yo !!! I upgraded to Sage 6.0, and the output is still wrong. I then checked IBM, and a new version of CPLEX was released in early December 2013. With CPLEX 12.6.0 and Sage 6.0, I now get the correct answers. HMmmm O_o So it seems that CPLEX 12.5.10 was the culprit.

Re: [sage-support] Re: bogus entry in local/include/ecl directory when build ecl package (sage -f ecl)

2014-01-08 Thread Jeroen Demeyer
This looks like a problem upstream with ECL, not the Sage interface with ECL. I think it's best to report this problem with ECL: http://sourceforge.net/p/ecls/bugs/?source=navbar -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe

Re: [sage-support] Re: bogus entry in local/include/ecl directory when build ecl package (sage -f ecl)

2014-01-08 Thread Jskud
Thanks for the clear guidance -- problem reported: #280 bogus entry in include/ecl directory after install https://sourceforge.net/p/ecls/bugs/280/ On Wednesday, January 8, 2014 12:47:47 AM UTC-8, Jeroen Demeyer wrote: This looks like a problem upstream with ECL, not the Sage interface with

[sage-support] From sage poset/lattice to tikz

2014-01-08 Thread Jori Mantysalo
Is there an easy way to make tikz picture from sage poset? How about prettyprinting poset that can also be seen as lattice? To give concrete example: Poset(([0,1,2,3,4,5,6,7,8], [[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [1, 5], [2, 5], [3, 5], [4, 5], [5, 8], [6, 8], [7, 8]])).show()

[sage-support] why I get error for these function?

2014-01-08 Thread Neda
Hello, I want to compute this: G= graphs.CompleteGraph(4) G.delete_edge({1,2}) L = [u for u in G.vertices()] for x in L: for y in L: A = Set(G.neighbors(x)) B = Set(G.neighbors(y)) C= A.union(B) if (C in Subsets(G.neighbors(1))): print(x,y) the

[sage-support] Re: From sage poset/lattice to tikz

2014-01-08 Thread Andrew
Using sage 6.0, both posets display without crossings using the show() method for me. To generate tikz output use latex() -- personally, I think that this should be a method but it isn't: sage: P=Poset(([0,1,2],[[0,2],[1,2]])) sage: P.show() sage: latex(P) \begin{tikzpicture} %