I would like to know if there is a package in R handling non linear integer optimization.
"Basically", I would like to solve the following problem:
max f(x) s.t x in (0,10) and x is integer
.
I know that some branching algorithms are able to handle the linear version of this problem, but here my function f()
might be more complicated. (I can't even make sure it would be quadratic of the form f(x)=xQx
).
I guess there is always the brute force solution to test all the possibilities as long as they are bounded, but I was wondering if there wasn't anything smarter.
x
, so what is the problem with brute force? – Cloison