[gecode-users] BoolVarArgs in unary Scheduling

hamideh izadyar hamidehizadyar at gmail.com
Mon Aug 1 18:19:56 CEST 2011


Thanks a lot!

On Mon, Aug 1, 2011 at 2:22 PM, Christian Schulte <cschulte at kth.se> wrote:

>  Just use a constraint that assigns a value, that is, if you want to
> assign the value 1 to a Boolean variable b, the following:****
>
>                 rel(home, b, IRT_EQ, 1);****
>
> does the trick.****
>
> ** **
>
> Christian****
>
> ** **
>
> --****
>
> Christian Schulte, KTH, web.it.kth.se/~cschulte/****
>
> ** **
>
> *From:* users-bounces at gecode.org [mailto:users-bounces at gecode.org] *On
> Behalf Of *hamideh izadyar
> *Sent:* Monday, August 01, 2011 11:48 AM
> *To:* users at gecode.org
> *Subject:* [gecode-users] BoolVarArgs in unary Scheduling****
>
> ** **
>
> Hi
> I want to use unary function for scheduling. I want to excluse some task
> which are known to me from unary scheduling. I have read the gecode
> document, I know that I can pass a BoolVarArgs to the unary function. How
> can I give value to this BoolVarArgs in my program? All the examples I saw,
> give value to BoolVarArgs in the model by constraints. I want to assign
> value to this array in the main function.
> Would you please help me.
>
> Best Regards
>
> --
> *-------------------------------------------------------------------------
>
> Hamideh Izadyar
> Graduate Student
> Computer Engineering Dep.
> Sharif University of Technology
> http://ce.sharif.edu/~izadyar *****
>



-- 
*-------------------------------------------------------------------------

Hamideh Izadyar
Graduate Student
Computer Engineering Dep.
Sharif University of Technology
http://ce.sharif.edu/~izadyar
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20110801/419a6569/attachment.htm>


More information about the users mailing list