Re: [R] Subset sum problem.

2009-12-11 Thread Geert Janssens
Hans, you're my personal hero today ! The function seems to work fine for the tests I did already. Thank you very much ! Geert On Thursday 10 December 2009, Hans W Borchers wrote: > Geert Janssens telenet.be> writes: > > On Wednesday 9 December 2009, Hans W Borchers wrote: > > > Geert Janssens

Re: [R] Subset sum problem.

2009-12-11 Thread Geert Janssens
Hans, you're my personal hero today ! The function seems to work fine for the tests I did already. Thank you very much ! Geert On Thursday 10 December 2009, Hans W Borchers wrote: > Geert Janssens telenet.be> writes: > > On Wednesday 9 December 2009, Hans W Borchers wrote: > > > Geert Janssens

Re: [R] Subset sum problem.

2009-12-09 Thread Hans W Borchers
Geert Janssens telenet.be> writes: > > On Wednesday 9 December 2009, Hans W Borchers wrote: > > Geert Janssens telenet.be> writes: > > > [ ... ] > > > Has anybody tackled this issue before in R ? If so, I would be very > > > grateful if you could share your solution with me. > > > > Is it really

Re: [R] Subset sum problem.

2009-12-09 Thread Geert Janssens
On Wednesday 9 December 2009, Hans W Borchers wrote: > Geert Janssens telenet.be> writes: > > Hi, > > > > I'm quite new to the R-project. I was suggested to look into it because I > > am trying to solve the "Subset sum" problem", which basically is: > > Given a set of integers and an integer s, do

Re: [R] Subset sum problem.

2009-12-09 Thread Geert Janssens
On Wednesday 9 December 2009, Hans W Borchers wrote: > Geert Janssens telenet.be> writes: > > Hi, > > > > I'm quite new to the R-project. I was suggested to look into it because I > > am trying to solve the "Subset sum" problem", which basically is: > > Given a set of integers and an integer s, do

Re: [R] Subset sum problem.

2009-12-09 Thread Hans W Borchers
Geert Janssens telenet.be> writes: > > Hi, > > I'm quite new to the R-project. I was suggested to look into it because I am > trying to solve the "Subset sum" problem", which basically is: > Given a set of integers and an integer s, does any non-empty subset sum to s? > (See http://en.wikipedi

Re: [R] Subset sum problem.

2009-12-08 Thread David Winsemius
On Dec 8, 2009, at 9:14 AM, Geert Janssens wrote: On Tuesday 8 December 2009, David Winsemius wrote: On Dec 8, 2009, at 8:29 AM, Geert Janssens wrote: Thank you for your reply. Unfortunately, I don't have any experience with this kind of mathematics. I don't understand what the wiki page tri

Re: [R] Subset sum problem.

2009-12-08 Thread Geert Janssens
On Tuesday 8 December 2009, David Winsemius wrote: > On Dec 8, 2009, at 8:29 AM, Geert Janssens wrote: > > Thank you for your reply. > > > > Unfortunately, I don't have any experience with this kind of > > mathematics. I > > don't understand what the wiki page tries to tell me. > > > > Please don't

Re: [R] Subset sum problem.

2009-12-08 Thread David Winsemius
On Dec 8, 2009, at 8:29 AM, Geert Janssens wrote: Thank you for your reply. Unfortunately, I don't have any experience with this kind of mathematics. I don't understand what the wiki page tries to tell me. Please don't misinterpret his, but I simply don't have the time to learn a) how to

Re: [R] Subset sum problem.

2009-12-08 Thread Geert Janssens
Thank you for your reply. Unfortunately, I don't have any experience with this kind of mathematics. I don't understand what the wiki page tries to tell me. Please don't misinterpret his, but I simply don't have the time to learn a) how to interpret the math description on wikipedia and b) how t

Re: [R] Subset sum problem.

2009-12-07 Thread guohao.huang
0:56 PM To: Subject: [R] Subset sum problem. Hi, I'm quite new to the R-project. I was suggested to look into it because I am trying to solve the "Subset sum" problem", which basically is: Given a set of integers and an integer s, does any non-empty subset sum t

[R] Subset sum problem.

2009-12-07 Thread Geert Janssens
Hi, I'm quite new to the R-project. I was suggested to look into it because I am trying to solve the "Subset sum" problem", which basically is: Given a set of integers and an integer s, does any non-empty subset sum to s? (See http://en.wikipedia.org/wiki/Subset_sum_problem) I have been searchin