1. 08 Jul, 2015 1 commit
  2. 02 Jul, 2015 21 commits
    • Volker Braun's avatar
      Updated Sage version to 6.8.beta7 · 6bc31bda
      Volker Braun authored
      6bc31bda
    • Release Manager's avatar
      Trac #18837: module_list.py: remove foo_depends variables · 4e24d02e
      Release Manager authored
      These days, Cython knows that included files are a dependency. So in
      most cases, the
      {{{
      depends = [...]
      }}}
      lines in `module_list.py` are not needed.
      
      This ticket removes `flint_depends`, `singular_depends` and
      `givaro_depends` with one exception: the dependency of
      `sage.libs.linbox.linbox` on Givaro is not automatically detected (I
      don't know whether it's a real dependency, but I'm keeping the explicit
      dependency to be safe).
      
      To check that Cython really knows the dependencies, you can check the
      metadata on top of each generated `.c`/`.cpp` file. You will see that
      (with the one exception mentioned before), Cython knows the
      dependencies.
      
      Note that in some cases, `flint/flint.h` was a dependency before but not
      after this ticket. In all those cases, other FLINT files like
      `flint/ulong_extras.h` are still a dependency, so this is not a problem.
      
      URL: http://trac.sagemath.org/18837
      Reported by: jdemeyer
      Ticket author(s): Jeroen Demeyer
      Reviewer(s): Jean-Pierre Flori
      4e24d02e
    • Release Manager's avatar
      Trac #18833: Clean up cliquer library interface · 509df17d
      Release Manager authored
      There is really no need to add `.h` files just to compile extra C code.
      
      URL: http://trac.sagemath.org/18833
      Reported by: jdemeyer
      Ticket author(s): Jeroen Demeyer
      Reviewer(s): Nathann Cohen, Jean-Pierre Flori
      509df17d
    • Release Manager's avatar
      Trac #17392: Make list of built-in normal form games · 146ea485
      Release Manager authored
      In comment:13:ticket:16333, the idea arises of having built-in normal
      form games for pedagogical (or other) purposes, similarly to in our
      discrete math areas.
      {{{
      sage: graphs.[tab]
      graphs.Balaban10Cage
      graphs.Balaban11Cage
      graphs.BalancedTree
      graphs.BarbellGraph
      graphs.BidiakisCube
      graphs.BiggsSmithGraph
      graphs.BishopGraph
      graphs.BrinkmannGraph
      <snip>
      sage: matroids.[tab]
      matroids.AG               matroids.Uniform
      matroids.named_matroids
      matroids.CompleteGraphic  matroids.Wheel
      matroids.PG               matroids.Whirl
      }}}
      There are quite a few such games out there in the literature that would
      be assumed as 'standard'.
      
      URL: http://trac.sagemath.org/17392
      Reported by: kcrisman
      Ticket author(s): Vincent Knight, James Campbell
      Reviewer(s): Karl-Dieter Crisman, Travis Scrimshaw
      146ea485
    • Release Manager's avatar
      Trac #18830: implement Lovasz theta-function for graphs · bfd679bb
      Release Manager authored
      Use a dedicated SDP solver from csdp for this problem to compute the
      well-known  [https://en.wikipedia.org/wiki/Lov%C3%A1sz_number Lovasz
      theta-function]  for graphs.
      
      URL: http://trac.sagemath.org/18830
      Reported by: dimpase
      Ticket author(s): Dima Pasechnik
      Reviewer(s): Nathann Cohen
      bfd679bb
    • Release Manager's avatar
      Trac #18825: cython() command does not find ginac_wrap.h · 552767d7
      Release Manager authored
      {{{
      sage: cython("from sage.symbolic.expression cimport Expression")
      ------------------------------------------------------------------------
      ---
      RuntimeError                              Traceback (most recent call
      last)
      <ipython-input-1-f62c41763f0f> in <module>()
      ----> 1 cython("from sage.symbolic.expression cimport Expression")
      
      /usr/local/src/sage-config/src/sage/misc/cython_c.pyx in
      sage.misc.cython_c.cython_compile
      (build/cythonized/sage/misc/cython_c.c:920)()
           61     tmpfile = tmp_filename(ext=".spyx")
           62     open(tmpfile,'w').write(code)
      ---> 63     cython_import_all(tmpfile, globals(),
           64                       verbose=verbose,
      compile_message=compile_message,
           65                       use_cache=use_cache,
      
      /usr/local/src/sage-config/local/lib/python2.7/site-
      packages/sage/misc/cython.pyc in cython_import_all(filename, globals,
      verbose, compile_message, use_cache, create_local_c_file)
          721     m = cython_import(filename, verbose=verbose,
      compile_message=compile_message,
          722                      use_cache=use_cache,
      --> 723                      create_local_c_file=create_local_c_file)
          724     for k, x in m.__dict__.iteritems():
          725         if k[0] != '_':
      
      /usr/local/src/sage-config/local/lib/python2.7/site-
      packages/sage/misc/cython.pyc in cython_import(filename, verbose,
      compile_message, use_cache, create_local_c_file, **kwds)
          698                              use_cache=use_cache,
          699
      create_local_c_file=create_local_c_file,
      --> 700                              **kwds)
          701     sys.path.append(build_dir)
          702     return __builtin__.__import__(name)
      
      /usr/local/src/sage-config/local/lib/python2.7/site-
      packages/sage/misc/cython.pyc in cython(filename, verbose,
      compile_message, use_cache, create_local_c_file, annotate,
      sage_namespace, create_local_so_file)
          491         log = open('%s/log'%build_dir).read()
          492         err = open('%s/err'%build_dir).read()
      --> 493         raise RuntimeError("Error compiling
      {}:\n{}\n{}".format(filename, log, err))
          494
          495     # Move from lib directory.
      
      RuntimeError: Error compiling
      /home/jdemeyer/.sage/temp/tamiyo/2158/tmp_8b95YB.spyx:
      running build
      running build_ext
      building '_home_jdemeyer__sage_temp_tamiyo_2158_tmp_8b95YB_spyx_0'
      extension
      creating build
      creating build/temp.linux-x86_64-2.7
      gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
      -I/usr/local/src/sage-config/local/include -I/usr/local/src/sage-
      config/local/include/python2.7 -I/usr/local/src/sage-
      config/local/lib/python2.7/site-packages/numpy/core/include
      -I/usr/local/src/sage-config/local/lib/python2.7/site-packages
      -I/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/ext
      -I/home/jdemeyer/.sage/temp/tamiyo/2158 -I/usr/local/src/sage-
      config/local/include/python2.7 -c
      _home_jdemeyer__sage_temp_tamiyo_2158_tmp_8b95YB_spyx_0.c -o build/temp
      .linux-
      x86_64-2.7/_home_jdemeyer__sage_temp_tamiyo_2158_tmp_8b95YB_spyx_0.o -w
      -O2
      
      _home_jdemeyer__sage_temp_tamiyo_2158_tmp_8b95YB_spyx_0.c:257:24: fatal
      error: ginac_wrap.h: No such file or directory
       #include "ginac_wrap.h"
                              ^
      compilation terminated.
      error: command 'gcc' failed with exit status 1
      }}}
      
      URL: http://trac.sagemath.org/18825
      Reported by: jdemeyer
      Ticket author(s): Jeroen Demeyer
      Reviewer(s): François Bissey
      552767d7
    • Release Manager's avatar
      Trac #18815: Polyhedron.to_linear_program · 54e5a89d
      Release Manager authored
      There is already a `MixedIntegerLinearProgram` function. This one is the
      opposite, and may be useful if we implements tools to count/enumerate
      integer points of a polytope (see #18812), as they can/will appear both
      on the Polyhedron side and on the LP solver side.
      
      Nathann
      
      URL: http://trac.sagemath.org/18815
      Reported by: ncohen
      Ticket author(s): Nathann Cohen
      Reviewer(s): Dima Pasechnik
      54e5a89d
    • Release Manager's avatar
      Trac #18811: Boost Clustering Coefficient · c649ee52
      Release Manager authored
      Apply Boost algorithm for computing the clustering coefficient, using
      the interface of Ticket !#18564.
      
      URL: http://trac.sagemath.org/18811
      Reported by: borassi
      Ticket author(s): Michele Borassi
      Reviewer(s): Nathann Cohen
      c649ee52
    • Release Manager's avatar
      Trac #17574: Empty hypergraph and __str__ function · 86c2ae74
      Release Manager authored
      Right now an exception is raised when building the empty hypergraph.
      This branch fixes it:
      {{{
      sage: sage: IncidenceStructure([])
      Incidence structure with 0 points and 0 blocks
      }}}
      
      Also, right now the class has both a `__repr__` and a `__str__`
      function, which means that typing `H` in a console does not produce the
      same output as typing `print H` in a script. The two functions are made
      equal: I work often with this class and pretty often the result of
      `print H` takes a whole screen, as it displays *all blocks*.
      
      Nathann
      
      URL: http://trac.sagemath.org/17574
      Reported by: ncohen
      Ticket author(s): Nathann Cohen
      Reviewer(s): Dima Pasechnik
      86c2ae74
    • Nathann Cohen's avatar
      30fd44a7
    • Dima Pasechnik's avatar
      do not use PPL on exact irrationals · f692f2ed
      Dima Pasechnik authored
      f692f2ed
    • Nathann Cohen's avatar
      trac #18815: Polyhedron.to_linear_program · 85a33096
      Nathann Cohen authored
      85a33096
    • Release Manager's avatar
      Trac #18820: Upgrade R to 3.2.1 · da114f1d
      Release Manager authored
      This minor update (mostly bugfixes) deserves admission in R in order to
      be able to get support on R-help.
      
      Original tarball [http://cran.r-project.org/src/base/R-3/R-3.2.1.tar.gz
      here] (too fat to be attached).
      
      URL: http://trac.sagemath.org/18820
      Reported by: charpent
      Ticket author(s): Emmanuel Charpentier
      Reviewer(s): Nathann Cohen
      da114f1d
    • Release Manager's avatar
      Trac #18768: Change name of InfinityPathModel · 47b1c3bb
      Release Manager authored
      In #18470, `InfinityPathModel` is introduced.  However, this name may be
      confused with the Kyoto path model realization of `B(oo)` which is
      defined in a different manner.  The crystal introduced in #18470 should
      be something like `PolyhedralRealizationOfInfinityCrystal` (or something
      involving ''polyhedral realization'').
      
      URL: http://trac.sagemath.org/18768
      Reported by: bsalisbury1
      Ticket author(s): Ben Salisbury
      Reviewer(s): Travis Scrimshaw
      47b1c3bb
    • Release Manager's avatar
      Trac #15412: Simplify cythonization of sage/combinat. · 8044966c
      Release Manager authored
      Use new glob-style pattern.
      
      URL: http://trac.sagemath.org/15412
      Reported by: robertwb
      Ticket author(s): Robert Bradshaw, Jeroen Demeyer
      Reviewer(s): Nathann Cohen, Jean-Pierre Flori
      8044966c
    • Release Manager's avatar
      Trac #15410: Simplify cythonization of many sage extensions. · 525be4e5
      Release Manager authored
      No need to enumerate modules if we don't use special flags.
      
      URL: http://trac.sagemath.org/15410
      Reported by: robertwb
      Ticket author(s): Robert Bradshaw, Jeroen Demeyer
      Reviewer(s): Nathann Cohen, Jean-Pierre Flori
      525be4e5
    • Nathann Cohen's avatar
      trac #17574: broken optional doctests · 514dd648
      Nathann Cohen authored
      514dd648
    • Nathann Cohen's avatar
      trac #17574: Merged with 6.8.beta6 · 9c0b7d46
      Nathann Cohen authored
      9c0b7d46
    • Release Manager's avatar
      Trac #18159: cardinality must output Infinty or a Sage integer · 938dae78
      Release Manager authored
      We add a `._test_cardinality()` method in the category `Sets` that takes
      care of checking that the output of `.cardinality()` is a Sage integer
      or +Infinity.
      
      URL: http://trac.sagemath.org/18159
      Reported by: vdelecroix
      Ticket author(s): Vincent Delecroix
      Reviewer(s): Jean-Pierre Flori
      938dae78
    • Michele Borassi's avatar
      582ce346
    • Michele Borassi's avatar
      c365d029
  3. 01 Jul, 2015 17 commits
  4. 30 Jun, 2015 1 commit