"pietro " <bracardi82@email.it> wrote in message <kn0gdk$710$1@newscl01ah.mathworks.com>...
>
>
> Or you could make your variables interger in your objective function using floor or round
I would not recommend that. Doing so makes every feasible integer value a local minimum of the objective (because floor and round are locally flat) and the algorithm can very easily get stuck anywhere.
>
>
> Or you could make your variables interger in your objective function using floor or round
I would not recommend that. Doing so makes every feasible integer value a local minimum of the objective (because floor and round are locally flat) and the algorithm can very easily get stuck anywhere.