Share

choco

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Shop Scheduling exercise solution

You are viewing a single message from this topic. View all messages.

  1. 2009-07-08 19:43:27 UTC
    Out of curiosity, why does something like this not work:

    Constraint ResourceA = Choco.disjunctive(new TaskVariable[ ]{Task1, Task2});

    Constraint ResourceB = Choco.disjunctive(new TaskVariable[ ]{Task4, Task5});

    Constraint temp = Choco.or(Choco.disjunctive(new TaskVariable[ ]{Task1, Task2, Task3}), Choco.disjunctive(new TaskVariable[]{Task4, Task5, Task3}));
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.