[gecode-users] Branching question

Christian Schulte cschulte at kth.se
Fri Apr 11 08:57:33 CEST 2008


Best solution search is independent of branching. Instead, the model must
have a method

void constrain(Space* s) { ... }

which implements the objective function as follows: The space on which the
method is run (this) must be constrained with respect to the so-far best
solution passed as argument s.

For examples, please see golomb-ruler, photo, tsp, ... in the example
subdirectory.

Christian



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


-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Dhananjay Thiruvady
Sent: Friday, April 11, 2008 4:00 AM
To: users at gecode.org
Subject: [gecode-users] Branching question

Hi,

I want to know how I could use branch with minimization of an objective
function?

Thanks,

Dhananjay

_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users





More information about the gecode-users mailing list