Code covered by the BSD License  

Highlights from
Minimum Perfect Matching Tool

3.0

3.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 1.95 KB File ID: #27181

Minimum Perfect Matching Tool

by Vojtech Knyttl

 

07 Apr 2010 (Updated 11 Aug 2010)

Function to solve the Minimum Perfect Matching Problem on non-biparite graphs.

| Watch this File

File Information
Description

Function to solve the Minimum Perfect Matching on non-biparite graphs problem using Integer linear programming.

Returns vector of matched indices and cost of the match. Requires symmetric adjacent matrix of even rank.
 
function [ indices, cost ] = min_perfect_matching( G )

Function _requires_ integer linear programming tool "mixed-integer LP" by Sherif Tawfik, available at:

http://www.mathworks.com/matlabcentral/fileexchange/6990-mixed-integer-lp

Required Products Optimization Toolbox
MATLAB release MATLAB 7.8 (R2009a)
Other requirements "mixed-integer LP" by Sherif Tawfik, available at: http://www.mathworks.com/matlabcentral/fileexchange/6990-mixed-integer-lp
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
20 Dec 2011 Tseng Tzu-Yueh

good

Please login to add a comment or rating.
Updates
11 Aug 2010

Incident matrix => adjacent matrix.

Tag Activity for this File
Tag Applied By Date/Time
optimization Vojtech Knyttl 07 Apr 2010 10:06:26
linear programming Vojtech Knyttl 07 Apr 2010 10:06:26
graphs Vojtech Knyttl 07 Apr 2010 10:06:26
matching Vojtech Knyttl 07 Apr 2010 10:06:26
perfect matching Vojtech Knyttl 07 Apr 2010 10:06:26

Contact us at files@mathworks.com