#16924: Read DIMACS files
-------------------------------------+-------------------------------------
       Reporter:  malb               |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  interfaces:        |   Resolution:
  optional                           |    Merged in:
       Keywords:                     |    Reviewers:  Martin Albrecht
        Authors:  Travis Scholl      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  79c7c68572efc3c5c01848051d6afa30954331c4
  u/tscholl2/read_dimacs_16924       |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Hello,

 The docstring of the function should follow the scheme
 {{{
 def my_function(x,y,z):
     r"""
     one line description

     longer description if needed

     EXAMPLES::

         sage: my_function(1,2,3)
 }}}

 The following is not helpful in the documentation
 {{{
 See http://trac.sagemath.org/ticket/16924
 }}}
 It would make sense in an `AUTHOR` section. Or within the `TESTS` section
 if it would correspond to some bug fix. Moreover, the syntax is now
 {{{trac:`16924`}}}.

 In your example, I do not understand what you want to show.
 {{{
 sage: solver.read(file_object)
 sage: solver
 DIMACS Solver: ''
 }}}
 It seems that nothing happened... Would it be possible to print the
 clauses?

 Vincnet

--
Ticket URL: <http://trac.sagemath.org/ticket/16924#comment:20>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to