[R] Constraint Partitioning

From: <aminzoll_at_ece.tamu.edu>
Date: Fri, 07 Dec 2007 19:04:18 -0600

Dear all,
  I appreciate to let me know if there is any method in R to find all the possible solutions (non-negative integers) to the following constraint partitioning problem:

  X_1+X_2+...+X_(2k)=N

   X_1+X_2<=r_1
   X_3+X_4<=r_2
   X_5+X_6<=r_3

   .....
   X(2k-1)+X(2k)=r_k

  Thank you,
  Amin Zollanvari



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 08 Dec 2007 - 17:17:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 08 Dec 2007 - 18:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.