Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Hybrid Optimization Techniques' topicStudent Support Forum > General > Archives > "Hybrid Optimization Techniques"

Next Comment >Help | Reply To Topic
Author Comment/Response
Shannon Bowling
10/31/10 10:35am

I was wondering if someone could help me out with this command and tell me why it is not working,


NMinimize[
FindMinimum[
E^Sin[50 i] + Sin[60 E^j] + Sin[70 Sin[i]] + Sin[Sin[80 j]] -
Sin[10 (i + j)] + 1/4 (i^2 + j^2), {i, x}, {j, y}][[1]], {x, y},
Method -> "DifferentialEvolution"]

Basically I am trying to analyze a hybrid meta-heuristic where I first use a local search technique to find the local minimum, then I use a meta-heuristic to find the global minimum.

Here is how I have the formula broken down,

FindMinimum[
E^Sin[50 i] + Sin[60 E^j] + Sin[70 Sin[i]] + Sin[Sin[80 j]] -
Sin[10 (i + j)] + 1/4 (i^2 + j^2), {i, x}, {j, y}][[1]]

should output just a number because I am using the Part function to extract the answer, of course this function alone will not work because the initial starting conditions are variables (x,y), however if x and y are set to some number like 2 and 3 it works fine.

However, I would think that the command,
NMinimize[ "First Command", {x, y},
Method -> "DifferentialEvolution"]

would set the values of x and y to some guess so the FindMinimum command would be initialized with values for x and y. Am I missing something, please help.

Shannon Bowling

URL: ,

Subject (listing for 'Hybrid Optimization Techniques')
Author Date Posted
Hybrid Optimization Techniques Shannon Bowl... 10/31/10 10:35am
Re: Hybrid Optimization Techniques Forum Modera... 10/31/10 4:18pm
Re: Re: Hybrid Optimization Techniques yehuda ben-s... 11/01/10 11:35am
Next Comment >Help | Reply To Topic