I looked for the task manager and i found that just one core is used. Do i need 
to add something else to the code ?
Thanks.


Subject: Re: [gecode-users] Parallel search
From: [email protected]
Date: Mon, 16 Mar 2015 08:44:27 +1100
CC: [email protected]
To: [email protected]

Have a look at the Windows task manager, can you see if your model.exe is 
actually making use of all four cores?  If yes, it is possible that it's just a 
peculiarity of your model, i.e., that it simply doesn't parallelise well.  You 
can try different search strategies, that can sometimes make a difference for 
parallelisation as well.
Cheers,Guido

On 16 Mar 2015, at 2:28 am, mehdi m <[email protected]> wrote:


Hi everyone,
I'm trying to make the serach more efficient using several threads (Parallel 
seacrh) presented in section 9.2 in MPG.On my machine with four cores and 
employing gecode 4.0.0, i use the option :
model.exe  -threads 4
I'm using the serach engine BAB and calling branch (home, Var, 
INT_VAR_DEGREE_MAX(), INT_VAL_MAX() );
But it seems that it does not work, the runtime still the same without this 
option.
If you have some details about this, it will be helpful. 
Thanks                                    
_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

                                          
_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to