#6962: [with patch, needs review] Feedback vertex set, Feedback arc set
--------------------------+-------------------------------------------------
Reporter: ncohen | Owner: rlm
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.1.2
Component: graph theory | Keywords:
Reviewer: | Author:
Merged: |
--------------------------+-------------------------------------------------
Adds the functions :
* DiGraph.feedback_arc_set
* DiGraph.feedback_vertex_set
You will find a full description of the problem in the docstrings, or
there :
* http://en.wikipedia.org/wiki/Feedback_vertex_set
* http://en.wikipedia.org/wiki/Feedback_arc_set
The functions use Linear Programming, which needs one of the two optional
packages GLPK
{{{
sage: install_package('cbc')
}}}
or CBC
{{{
sage: install_package('glpk')
}}}
installed. You will find a helpful documentation about the construction of
the Linear Program in the docstring.
One of the docstrings uses the function min_vertex_cover from #6680.
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6962>
Sage <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---