Re: [gecode-users] Segmentation fault in a very simple model

2009-08-04 Thread Guido Tack
Dear Alfredo, I think the problem lies in the initialization of the BoolVarArray. Even for BoolVars, you have to give an initial domain, so you should change the code to m_vars = BoolVarArray(*this,900, 0,1); The way you wrote it, you just allocated an array of size 900 with uninitializ

[gecode-users] Segmentation fault in a very simple model

2009-08-04 Thread Alfredo Esteban
Hello, I'm getting started with Gecode reading "Modeling with Gecode". I have experience in Constraint Programming using iLog software. I installed Gecode and I created a project to test it. I used SendMoreMoney example. Everything is ok and I can compile and execute this example. However, when