Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.1K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

How to output best solution found so far in Simulated Annealing?

Posted 11 years ago
POSTED BY: F H
2 Replies
POSTED BY: Daniel Lichtblau
Posted 11 years ago

Thanks, the method described works in making evaluations with repeated parameters of the function much faster

StressError[p1_?NumericQ, p2_?NumericQ, p3_?NumericQ, p4_?NumericQ, p5_?NumericQ]:= StressError[p1, p2, p3, p4, p5] = ...

By adding "?NumericQ" I define the function to only evaluate with numeric input (that is how I defined the function initially), so numeric evaluation shouldn't take place.

POSTED BY: F H
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard