[gecode-users] how to write flatzinc solutions into a file

Guido Tack tack at gecode.org
Mon Apr 25 08:26:47 CEST 2011


Dear Andi,

that option is already implemented and will be part of the next release (you can try compiling the current svn trunk to get it already now).  Other than that, you can always use output redirection in the shell (i.e., call fz.exe fznfile.fzn > outputfile).

Cheers,
	Guido

Andrei Neboian wrote:

> Dear All,
> 
> I am using the fz.exe to generate solutions out of my flatzinc model using the GeCode solver.
> 
> How can I direct the stream of solutions into a text-file rather than the shell output? In Minizinc, there is such an option (-o <filename>), what about GeCode?
> 
> Thanks for help!
> 
> Best,
> Andi
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users

-- 
Guido Tack, http://people.cs.kuleuven.be/~guido.tack/







More information about the users mailing list