[gecode-users] Idea for extending ViewBrancher

Christian Schulte cschulte at kth.se
Wed Sep 1 16:42:36 CEST 2010


Hi,

I just added the idea to the trunk. Please find attached an excerpt of MPG
describing the idea.

Comments?

Best
Christian

--
Christian Schulte, www.ict.kth.se/~cschulte/


-----Original Message-----
From: Guido Tack [mailto:tack at gecode.org] 
Sent: Tuesday, August 31, 2010 1:34 PM
To: cschulte at kth.se
Cc: 'Felix Brandt'; users at gecode.org
Subject: Re: [gecode-users] Idea for extending ViewBrancher

Christian Schulte wrote:
> How about the following generalization: one can pass to a brancher a
filter
> function (that is, a member function of the space). If a filter function
is
> passed it is used for selecting variables for branching: only if the
filter
> function returns true for a variable, the variable is considered for
normal
> selection. The function can be passed through the normal options for
> branching (VarBranch) that is also used for tie breaking and randomized
> selection. 
> 
> Would that make sense? It is less general than what Guido proposed but
> easily available to the average modeler. I thought about it a little and I
> know how to efficiently implement it.

The filter function could get the index of the variable in addition to the
variable itself. That would make it just as general as my approach, I think
(you could use a different interval for each variable without having to go
through the whole array to find out which variable you are dealing with).

Cheers,
	Guido

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter.pdf
Type: application/pdf
Size: 50156 bytes
Desc: not available
URL: <http://www.gecode.org/pipermail/users/attachments/20100901/44281ee4/attachment-0001.pdf>


More information about the users mailing list