Hi everyone
I wanna to find minimize a function or a list, I wrote a sample code that shows my purpose.
In[3]:= F[1]:=1*1024 *1024;(* 1MBps *)
F[2]:=700 *1024;(* 700kBps *)
MAX:=10*1024*1024; (* 10MBps *)
In[6]:= Minimize[{F[i],
10<=F[i]<=MAX &&
1<=i<=2 },{i},Integers]
Out[6]= Minimize[{F[i],10<=F[i]<=10485760&&1<=i<=2},{i},Integers]
In[7]:= F[1]
In[8]:= 1048576
F[2]
Out[8]= 1048576
Out[9]= 716800
But as you can see Minimize solve the optimization! I'm new in Mathematica an I didn't find any solution on the internet.
I would appreciate any ideas.