-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help: How to allow task overlap in JobShop like problem? #1379
Comments
Use a Cumulative constraint.
Laurent Perron | Operations Research | lperron@google.com | (33) 1 42 68 53
00
Le mar. 25 juin 2019 à 20:06, gustavo-barros <notifications@github.com> a
écrit :
… Hi,
I have a set of machines that can do tasks on parallel, how can I allow
these tasks to overlap?
I tried this:
[image: image]
<https://user-images.githubusercontent.com/36746102/60121925-87a37c80-975a-11e9-97e0-c6e45634dee5.png>
Applying this way the NoOverlap constraint only to the normal machines and
ignoring the parallel ones. At first it seemed to work. But because some
unkown reason some taks simply dissappear. Any Ideas?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1379?email_source=notifications&email_token=ACUPL3O4SE5WHZM3KSMZHFLP4JNBRA5CNFSM4H3K4DJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3TVMSA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACUPL3K3TKG6J3S6FBCIU6DP4JNBRANCNFSM4H3K4DJA>
.
|
How I use that, you have an example? |
Can you start reading the doc ?
Le mar. 25 juin 2019 à 20:16, gustavo-barros <notifications@github.com> a
écrit :
… How I use that, you have an example?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1379?email_source=notifications&email_token=ACUPL3LPUW7PWX33CI5NB3TP4JOGPA5CNFSM4H3K4DJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYRECHY#issuecomment-505561375>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACUPL3OUNCIZR2UDUNEJQYLP4JOGPANCNFSM4H3K4DJA>
.
|
I have no documentation for C# currently. |
Thank you for the link Laurent. The problem is I don't understand how that will help me to make the tasks overlap with each other in the chosen machine. Maybe I don't have the knowledge required to understand what that function actually does, despite I understand the code it expresses. I made some tests here, but I was not able to extract some sense of it. |
All that I need is to tell the solver, "hey, in this machine the tasks can run free and wildly as they want to". My first idea was simply remove the NoOverlap constraint, but that seems not to work. |
Here is another explanation on the cumulative constraint:
http://www.emn.fr/x-info/sdemasse/gccat/Ccumulative.html
Laurent Perron | Operations Research | lperron@google.com | (33) 1 42 68 53
00
Le jeu. 27 juin 2019 à 16:36, gustavo-barros <notifications@github.com> a
écrit :
… All that I need is to tell the solver, "hey, in this machine the tasks can
run free and wildly as they want to". My first idea was simply remove the
NoOverlap constraint, but that seems not to work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1379?email_source=notifications&email_token=ACUPL3JSBSCYVFSUNN2CUMDP4TF6TA5CNFSM4H3K4DJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXKIFQ#issuecomment-506373142>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACUPL3KMQSMD7EVU635SL5DP4TF6TANCNFSM4H3K4DJA>
.
|
I propose that for each interval 'i', you create an optional interval 'i_c' using the start, duration and end variable of the interval 'i', and an new Boolean variable 'p'. Then you add all 'i_c' to the no_overlap. Now to enforce the no_overlap, just set the 'p' variables to true. |
Hi,
I have a set of machines that can do tasks on parallel, how can I allow these tasks to overlap?
I tried this:
Applying this way the NoOverlap constraint only to the normal machines and ignoring the parallel ones. At first it seemed to work. But because some unkown reason some taks simply dissappear. Any Ideas?
The text was updated successfully, but these errors were encountered: