[gecode-users] How can I get all the solutions

Mikael Zayenz Lagerkvist zayenz at gmail.com
Thu Feb 14 11:45:55 CET 2008


Hi,

Running ./examples/money --help gives the following output for the
solutions argument:
        ...
        -solutions (unsigned int) default: 1
                number of solutions (0 = all)
        ...

/Mikael

On Thu, Feb 14, 2008 at 11:34 AM, Mauricio Toro <mauriciotorob at gmail.com> wrote:
> Hello,
>
> How can I get all the solutions to a problem using gecode.
> I can use options and say: opt.solutions(10);
> But how can I get all the solutions available,
> is there any other way? or do I have to specify
> the number of all possible solutions?
>
>
> Thank you
>
>
> mauricio
>
> --
> Mauricio Toro Bermudez
> Estudiante de Ingeniería de Sistemas
>  Pontificia Universidad Javeriana, Colombia
>
> Stagiare à l'Ircam
> 1, place Igor-Stravinsky 75004 Paris,
> France de 2008 à 2009
> _______________________________________________
>  Gecode users mailing list
>  users at gecode.org
>  https://www.gecode.org/mailman/listinfo/gecode-users
>
>



-- 
Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/




More information about the gecode-users mailing list