help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] optimization problem


From: Andrzej Mazurkiewicz
Subject: Re: [Help-glpk] optimization problem
Date: Sat, 21 Mar 2009 13:57:37 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27.19-3.2-default; KDE/4.1.3; x86_64; ; )

Thanks for Xypron for the explanation.

I have understood that there in one bag there are marbles of one color only.

Thanks once again.
Regards
Andrzej Mazurkiewicz


Saturday 21 of March 2009 13:48:40 xypron napisaƂ(a):
> Hello Andrzej,
>
> Bugzilla from address@hidden wrote:
> > Hello everybody.
> >
> > Isn't it a problem of choice of bags from a list and simply checking
> > whether
> > we have already chosen a bag with this color. For that you need a list
> > object
> > with its operations and a set object with its operations.
> > I am afraid that I see no purpose in using just LP for that task.
>
> Each bag contains multiple colors. The task is to cover the maximum number
> of colors with a given number of bags. A greedy heuristic like choosing as
> next
> bag the one with the most new colors does not guarantee an optimum
> solution.
>
> Example:
> Cover the maximum number of letters with 3 bags.
>
> all sets:
> abcde
> fghi
> fgj
> hik
> j
>
> greedy heuristic:
> abcde
> fghi
> hik
>
> optimum:
> abcde
> fgj
> hik
>
> You can find a discussion of set covering problems here:
> http://iris.gmu.edu/~khoffman/papers/set_covering.html
>
> Best regards
>
> Xypron





reply via email to

[Prev in Thread] Current Thread [Next in Thread]