Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: fminsearch and integers

$
0
0
"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.

Viewing all articles
Browse latest Browse all 19628

Trending Articles