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 6962149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:37:20+00:00 2026-05-27T15:37:20+00:00

I have an assignment problem with cost matrix C, eg: 21 30 26 16

  • 0

I have an assignment problem with cost matrix C, eg:

21 30 26 16 20
27 29 28 20 38
39 25 21 19 23
28 24 30 29 16
30 33 32 17 31

where C[i][j] means cost for worker i to do job j.

How can I solve this with a network flow algorithm?

  • 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-05-27T15:37:20+00:00Added an answer on May 27, 2026 at 3:37 pm

    In case you are still looking for a solution, you can solve this as a Minimum-cost flow problem:

    1. Create a source node connected to your N workers by edges with
      capacity 1 and cost 0
    2. Connect each worker i to each job j by edges of capacity 1 and cost C[i][j]
    3. Finally connect each job to a sink node with edges of capacity 1 and cost 0

    Your problem is equivalent to minimizing the cost of pushing N flow units through the network from source to sink.

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

Sidebar

Related Questions

This is a follow up question from Problem with array assignment I now have
Since an assignment problem can be posed in the form of a single matrix,
I have this assignment to prove that this problem: Finite alphabet £, two strings
Continuing on this problem , but I'll reiterate: For a homework assignment I have
This was a homework assignment problem which I know I have incorrectly answered. I
I've been trying to figure out this problem. I have an assignment to make
Are there exceptions for types which can't have thier assignment operator overloaded? Specifically, I'm
I have this Perl subroutine that is causing a problem: sub new { my
I'm working on a problem which we have to use semaphores to solve. I
This problem is best described with an example. I have the following ClientBundle in

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.