Skip to content
Prev 58392 / 398502 Next

integer

I just went to www.r-project.org -> search -> "R site search" -> 
"integer programming".  This brought 99 hits, the 23rd of which referred 
to function "lp" in package "lpSolve".  This may solve the problem if 
"f" in linear. 

      Otherwise, if f is defined and reasonably well behaved for non 
integer values, one could find the minimum over non integers then search 
all combinations of integers near the non integer minimum.

      hope this helps. 
      spencer graves
Ludovic Tambour wrote: