Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8169505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:51:41+00:00 2026-06-06T20:51:41+00:00

I am working on a program where I have divided objects in to two

  • 0

I am working on a program where I have divided objects in to two sets, and I have a measurement of how similar each object is with every other object, and I want to find the optimal way to match them together.

If the sets were to be words and distance defined by edit-distance, then the optimal matching of the set “this”, “is”, “a”, “test” with “and”, “this”, “is”, “best”, then I would match “this” with “this” (for a score of 0), “is” with “is” (for a score of 0), “a” with “and” (for a score of 2), and “best” with “test” (for a score of 1).

I have reduced the problem to finding a maximal bipartite matching-like problem. Here is a description:

Given a bipartite graph where edges have integral weights, find a set of edges such that (a) every vertex has only one edge in the set and (b) the sum of the weights in this set is of maximal size.

I don’t believe this problem is NP-complete (or, even if it isn’t, but if the algorithm could be very slow), is there some way to approximate the answer to some good degree?

Currently I pick the minimum weight edge, remove it and the nodes it connects to, and repeat, but this seems suboptimal. I’ve thought about reducing this to some sort of flow-problem (as you do with the normal bipartite matching), but it doesn’t work in this case.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T20:51:43+00:00Added an answer on June 6, 2026 at 8:51 pm

    This is the maximum bipartite matching problem (weighted). It has a poly-time solution using augmenting paths.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a program that will have several users connected to each other
I have a large program that is working other then one .h file that
I'm working a program that will have a bunch of threads processing data. Each
I have a working program in C++ that generates data for a Mandelbrot Set.
I have a working C program where the length of an array of strings
I have a program that I'm working on that register global hotkeys I would
I have this program that I am working on for class, I think the
I'm working on a vbscript program and I have got and Expected Statement Error.
I am working on kind of drawing program but I have a problem with
I'm working on a small uni project where I have a program for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.