Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Problem with the command NMinimize' topicStudent Support Forum > General > "Problem with the command NMinimize"

Next Comment >Help | Reply To Topic
Author Comment/Response
10/10/08 1:33pm

Hello! I'm trying to solve an optimization problem with 51 variables with nonnegative constraints and I'm using the command NMinimize (student version 6) to solve it. I want to solve 10 instances of this problem with different initial points. When I execute the command

Do[Print[i, " ",
NMinimize[{f, constr}, vars,
Method -> { "SimulatedAnnealing", "RandomSeed" -> i,
"PerturbationScale" -> 3, "SearchPoints" -> 100}]], {i, 10}],

the program solves only the first instance and the kernel exits...

Anybody would explain me this behavior?



URL: ,

Subject (listing for 'Problem with the command NMinimize')
Author Date Posted
Problem with the command NMinimize Rodrigo 10/10/08 1:33pm
Re: Problem with the command NMinimize yehuda ben-s... 10/12/08 07:40am
Next Comment >Help | Reply To Topic