[gecode-users] Setting search stop option from minimize script

Zaremby, David david.zaremby at lmco.com
Tue Apr 20 18:55:03 CEST 2010


Community,

I am looking for a hook in the minimize script setup where I can set my custom stop function that triggers off of user input. Is there a way to set the search option for a custom stop function when using  a minimize script? The only way I see to set search options is with the definition below but that seems to be the incorrect function because it assumes a string value. If there is no way to do it via a script I suppose I will need to replace my script with an engine that defines the compare function for the cost. If anyone has an example that might be useful.


void

search<http://www.gecode.org/doc-latest/reference/classGecode_1_1Options.html#a3573e1904d6626bdb5847b8a72bb0471> (int v, const char *o, const char *h=NULL)



Add search option value for value v, string o, and help h.


Thanks,

David Zaremby
Senior Software Engineer
LSS / Strategic Products

Lockheed Martin Simulation, Training & Support
12506 Lake Underhill Road, MP-823
Orlando, FL 32825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20100420/82938b72/attachment.htm>


More information about the users mailing list