Hi, instead of using the Driver module to run the search, simply call a search engine directly. This is documented in Sect. 2.5 (Best Solution Search) in "Modelling and Programming with Gecode".
Cheers, Guido On 09/12/2012, at 4:55 , Holmes Giovanny Salazar Osorio <hgsoso...@gmail.com> wrote: > Hi all, > > I'm coding my grade job with Gecode 3.7.3. And I'm using maximize script and > BAB, in order to find the best solution to my CSP. > > Now, in the print function, I write an xml file with the solution to the > problem, but, I have a problem, the print function is called each time that > gecode finds a solution better than the last. Then, the xml file is written > each time that the print function is called. > > My question is, If it can be modified the print function? in order to write > the xml file only when the best solution is found. > > Thanks in advance, > > Holmes > > > -- > "El secreto del éxito, está en la disciplina" > Holmes Giovanny Salazar Osorio > Ingeniería de Sistemas > Universidad del Valle - Sede Tuluá > > _______________________________________________ > Gecode users mailing list > users@gecode.org > https://www.gecode.org/mailman/listinfo/gecode-users -- Guido Tack, http://www.csse.monash.edu/~guidot/
_______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users