Dear R users,
I have a question about optimization. Is that possible set a constraint that
only integer values are allowed for the optim in the R base and some other
optimizers such as psoptim in the package pso? For instance, my lower bound
is 0 and upper bound is 100 and I only want integer from 0 to 100. Is this
possible? Thank you very much for any help in advance.
with kind regards,
Chun
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.