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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:09:44+00:00 2026-06-01T17:09:44+00:00

I hava a problem which is described below. Do you have any good solution

  • 0

I hava a problem which is described below. Do you have any good solution or this problem is just another form of any “classics” or “have been solved” problem?

The problem is :

There are some group of numbers,e.g.

A(1 8 9)

B(1 4 5)

C(2 4 6)

D(3 4 7)

E(2 10 11)

F(3 12 13)

There are “A-F” six group. we have numbers “1,2,3,4,5,6,7,8,9,10,11,12,13”.
Now find the minimum amount of number set which satisfies each group must have a number in this set at least. For examlpe, we can find the set “1 4 2 13 12” that A has “1”,B has “1,4”,C has “2,4”,D has “4” ,E has “2”,F has “12,13” .

But set “1 2 4” is not that we find ,F does not has any number in the set.

The best set is “1,2,3”,every gruop has a number in the set,and the size of the set is optimal. It has only three numbers. THIS is What we want. If there are many best sets,finding any one is OK. Thanks.

  • 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-01T17:09:45+00:00Added an answer on June 1, 2026 at 5:09 pm

    This is equivalent to the set cover problem. In this case, each of your sets A, B, …, F are the elements of the set cover problem, and each of the numbers 1, 2, …, 13 are the sets. For example, in this mapping 1 becomes {A, B}, and 11 becomes the set {E}.

    Set cover is NP-hard. The integer linear programming formulation on the linked Wikipedia page is probably as good as you’ll get for exact solutions; the greedy algorithm there is a decent approximation for large problems.

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

Sidebar

Related Questions

Good day! I have met problem with synchronizing threads. I am writing program which
I hava a thread in which I have an infinite loop, doing some network
I have a problem constructing a DSL in Clojure. This is the concrete problem
I hava a problme to make a query. This query which I created WITH
i have some small problem. I hava some class Processor and Process . Process
I hava a problem with this mssql_query in PHP : $query = 'SELECT Ville
I hava a form (form_remote_tag) that updates a comments section. The form is in
i hava an xml file like this: <name> <entry> <date>2012-03-18 13:53:23</date> <ID>1</ID> <category>questions</category> <question>who
i want to hava a RibbonGallery in my menue (like this ). This is
I am trying to upload an image to the server. I hava a form

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.