Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!postnews.google.com!f10g2000hsf.googlegroups.com!not-for-mail
From: shapper <mdmoura@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Find Minimum
Date: Mon, 11 Feb 2008 08:19:32 -0800 (PST)
Organization: http://groups.google.com
Lines: 25
Message-ID: <ac460e51-a1a5-4e93-9031-220be5a23e5a@f10g2000hsf.googlegroups.com>
NNTP-Posting-Host: 213.22.64.130
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1202746772 2696 127.0.0.1 (11 Feb 2008 16:19:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 11 Feb 2008 16:19:32 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f10g2000hsf.googlegroups.com; posting-host=213.22.64.130; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) 
Xref: news.mathworks.com comp.soft-sys.matlab:450590


Hello,

I have a function as follows:

X = MyFun(A, B, C)

The only thing I know is to evaluate the function value.

I need the values of A, B and C that minimizes the value of X using
the following constraints:

- A must be an integer.
- B be a multiple of 10 between 0 and 200, i.e., 10, 20, 30, 40, ...
- C must be a multiple of 0.01 between 0 and 1, i.e, 0.01, 0.02, ... ,
0.98, 0.99, 1

I think the best way to solve this would be random search like genetic
algorithms.

Can I solve this problem in Matlab?

Could someone, please, provide me an example?

Thanks,
Miguel