[gecode-users] Que: Alternative to stretch-cycle constraint in Gecode

Guido Tack tack at gecode.org
Sun Nov 2 23:44:47 CET 2014


Hi,

if a constraint is not available natively in Gecode you have two options: decompose it into simpler constraints, or implement a propagator for it (see MPG).

Cheers,
Guido

> On 2 Nov 2014, at 5:10 am, Sohail Khan <sohail.ceme at gmail.com> wrote:
> 
> Dear all,
> 
> I am implementing the "employee scheduling program" from book "Hybrid Optimization" by Michela Milano 2011.
> 
> I am unable to find how can i implement the stretch-cycle constraint in Gecode. I have checked the manual and the mailing list archives. The sequence constraint is not sufficient in my case. 
> 
> Please guide me!
> 
> Thanks
> Sohail
> 
> Wien, Austria
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users




More information about the users mailing list