Ticket #6680 (closed enhancement: duplicate)

Opened 13 months ago

Last modified 9 months ago

Flow, Matching, Connectivity, and some Hard problems

Reported by: ncohen Owned by: rlm
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: graph theory Keywords:
Cc: tombuc Author(s):
Report Upstream: N/A Reviewer(s):
Merged in: Work issues:

Description (last modified by ncohen) (diff)

Hello everybody !!!

Here are several new functions for the Graph class in Sage :

  • def min_dominating_set(g, value_only=False,log=0):
  • def min_independent_dominating_set(g, value_only=False,log=0):
  • def min_vertex_cover(g,value_only=False,log=0):
  • def max_matching(g,value_only=False, use_edge_labels=True):
  • def max_flow(g,x,y,value_only=True,integer=False, use_edge_labels=True):
  • def min_edge_cut(g,s,t,value_only=True,use_edge_labels=True):
  • def min_vertex_cut(g,s,t,value_only=True):
  • def edge_connectivity(g,value_only=True,use_edge_labels=True):
  • def vertex_connectivity(g,value_only=True):

If you have no LP Solver installed, you can download GLPK or CBC from this address : http://www.sagemath.org/packages/optional/

Attachments

graphfunctions-1.patch Download (24.5 KB) - added by ncohen 10 months ago.

Change History

Changed 13 months ago by ncohen

  • description modified (diff)

Changed 13 months ago by was

test

Changed 13 months ago by ncohen

  • summary changed from [with patch, needs review] (uses Linear Programming) to [with patch, needs review] Flow, Matching, Connectivity, and some Hard problems (uses Linear Programming)

Changed 13 months ago by ncohen

  • description modified (diff)

Changed 12 months ago by ncohen

  • description modified (diff)

Changed 12 months ago by ncohen

  • description modified (diff)

Changed 12 months ago by ncohen

  • summary changed from [with patch, needs review] Flow, Matching, Connectivity, and some Hard problems (uses Linear Programming) to [with patch, needs review] Flow, Matching, Connectivity, and some Hard problems

Changed 12 months ago by ncohen

  • summary changed from [with patch, needs review] Flow, Matching, Connectivity, and some Hard problems to [with patch, needs work] Flow, Matching, Connectivity, and some Hard problems

As the functions dealing with LP have not been reviewed, I prefer to rewrite the MIP class for Sage to make it easier to use. I will post a new version of the MIP patch as soon as possible, along with all the patches for functions using it.

Sorry for the trouble, I'll try to make it quick !

Nathann

Changed 12 months ago by ncohen

  • description modified (diff)
  • summary changed from [with patch, needs work] Flow, Matching, Connectivity, and some Hard problems to [with patch, needs review] Flow, Matching, Connectivity, and some Hard problems

New version attached !! Will put some energy into Sage's graph library ! ;-)

Changed 10 months ago by ncohen

  • cc tombuc added

Changed 10 months ago by ncohen

  • description modified (diff)

Changed 10 months ago by ncohen

  • description modified (diff)

Changed 10 months ago by ncohen

Changed 9 months ago by ncohen

  • upstream set to N/A

I am splitting this ticket into smallers ones

Changed 9 months ago by ncohen

  • status changed from needs_review to closed
  • resolution set to duplicate

Totally duplicated ! See :

#7592 Flow method using LP #7593 Matching using LP #7594 Dominating set and Independent dominating Set #7599 vertex_cut and edge_cut ( minimum s-t cut ) #7600 Vertex cover #7601 Graph.edge_connectivity #7605 Graph.vertex_connectivity

Can be closed as duplicate.

Changed 9 months ago by ncohen

Let's say : * #7592 Flow method using LP * #7593 Matching using LP * #7594 Dominating set and Independent dominating Set * #7599 vertex_cut and edge_cut ( minimum s-t cut ) * #7600 Vertex cover * #7601 Graph.edge_connectivity * #7605 Graph.vertex_connectivity

Changed 9 months ago by mvngu

  • summary changed from [with patch, needs review] Flow, Matching, Connectivity, and some Hard problems to Flow, Matching, Connectivity, and some Hard problems
  • milestone changed from sage-4.3 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.