x?Integers can be used to specify that a variable can take on only integer values.
(from the documentation)
NMinimize can make some variables integers and some real, but Minimize cannot.
Thank you. Can you please let me know how to define variables within NMinimize