RunCompleted not being called in Custom Optimizer
Author: Panache
Creation Date: 12/16/2016 3:51 AM
profile picture

Panache

#1
I inserted the following code in today's project, which is a custom optimizer:

CODE:
Please log in to see this code.


Any ideas why I'm not getting any debug output from this method?

Second question -- The documentation talks about being able to create a separate tab. Is there any way to simply display a message in the status bar, etc.? As indicated in the comment, I'd like to be able to display the performance benefit of this optimizer over an exhaustive optimization.

Finally, at the risk of repeating what I suggested last year, I'm assuming there is nothing I can put in a custom optimizer to prevent the message box from showing when the Optimization is complete. I'd much prefer to generate a sound instead.
profile picture

LenMoz

#2
I think you need "override" in your method signature...
CODE:
Please log in to see this code.
This works in Particle Swarm Optimizer.
profile picture

Eugene

#3
QUOTE:
Finally, at the risk of repeating what I suggested last year, I'm assuming there is nothing I can put in a custom optimizer to prevent the message box from showing when the Optimization is complete. I'd much prefer to generate a sound instead.

Your assumption is absolutely correct: it's not possible to override this behavior. Please voice your opinion to Fidelity.
profile picture

Panache

#4
QUOTE:
Is there any way to simply display a message in the status bar, etc.?

Eugene -- Do I have any options besides adding a tab?

QUOTE:
Please voice your opinion to Fidelity.

I did last year, but I'll call them again today.

QUOTE:
I think you need "override" in your method signature...

That was the problem. Thank you.

profile picture

Eugene

#5
QUOTE:
I did last year, but I'll call them again today.

One thing you could try is to come up with an AutoIT script that suppresses those messages.