The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniPlan General (http://forums.omnigroup.com/forumdisplay.php?f=37)
-   -   Subtle problem with end constraints (http://forums.omnigroup.com/showthread.php?t=24046)

psidnell 2012-04-27 11:08 AM

Subtle problem with end constraints
 
The very last item in my plan is scheduled As Late As Possible and has an end constraint. All other things being equal I would expect it to be scheduled so it finishes at it's end constraint time.

Yet when I level the resources it gets rescheduled to several days earlier than it's end constraint for some reason I can't fathom.

However if I add an unrelated milestone to the project at some point in the future beyond the end constraint time above and level, my task is rescheduled to end at it's end constraint time - as I would expect.

This only occurs to the task that is furthest in the future in my project.

Have I misunderstood something?

(Using V2.0.3)

psidnell 2012-04-27 11:20 AM

OK - quicker example.

Create a new project with one task.

Set an end constraint on that task of several days into the future, schedule it As Late As Possible and level.

It seems to stay where it is, as if it were scheduled As Soon As Possible.

Add a second task beyond the first and level.

The first task moves to finish on it's end constraint time.

Remove the second task and level.

The first tasks shifts back.

Is this correct?

whpalmer4 2012-04-27 12:20 PM

I don't know if it is correct, but it fails the "I could explain this to my mother" test!

It looks to me like that constraint needs something to "push against". If I create a milestone and set its start/finish date to the date I was using as the end constraint, everything appears to work as I would expect. The ALAP task gets shoved back against the milestone, if I put a dependent task on the ALAP task, that gets shoved against the milestone with the ALAP task as close as possible, etc. Without some other task to push against, it looks like the ALAP task will be scheduled ASAP. To me, that sounds like someone missed a case, but maybe it is intentional.

(I was testing with 2.1.2 sneaky peek r166098, just in case it matters)

psidnell 2012-04-27 12:43 PM

Thanks.

I've solved the problem by leaving a dangling EndOfTheWorld milestone at the end of my project, guess I'll be leaving there then.

psidnell 2012-04-28 12:51 AM

I've filed a bug report for the issue.

I have a project (my Son's not inconsiderable homework diary) that OP is the ideal tool for.

What I was doing:

For each item of homework I'd have a milestone representing when it must be handed in. To that I'd wire a work task scheduled ALAP (of course!). This worked fine but meant two tasks (the work and the milestone) for each piece of homework and some wiring to do. A little too much data entry work for my liking.

What I want to do:

Simply have a single task for each piece of homework where the due date is the end constraint for each task. Then there'd be only one task to enter per piece of HW, no wiring and the plan would be easier to read.

I did discover that it's not just the last task that's affected by the issue, it can cause other problems that disappear if tasks are needlessly wired together.

[QUOTE=whpalmer4;109872]
It looks to me like that constraint needs something to "push against". [/QUOTE]

It certainly looks that way.

I guess, this is probably a mode of use people don't use much - tasks a usually wired together with a milestone at the end.

psidnell 2012-04-28 03:37 AM

3 Attachment(s)
Boiled it down to this (which actually has no constraints it's the ALAP that's the issue I think):

This is a new project (using 2.1.1.) Add two tasks using Resource 1 and a milestone then wire it up thus:

[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2352&stc=1&d=1335611749[/IMG]

Task 1 and Task 2 are scheduled ASAP by default, all is good, no violations.

Flip Task 1 & Task 2 to ALAP and:

[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2353&stc=1&d=1335611970[/IMG]

I would have expected that both tasks would have shifted to the right a little, but not that they would overlap and conflict.

By adding a dependency from Task 1 to Task 2 the problem goes away:

[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2354&stc=1&d=1335612918[/IMG]

psidnell 2012-04-29 05:07 AM

AHA! user error.

Discovered the project setting "Direction" to "Backwards from fixed end" makes it do exactly what I want.

I hadn't realised there were global scheduling engine settings.

whpalmer4 2012-04-29 08:02 AM

I knew about global setting, and I still think I can demonstrate counter-intuitive and/or broken behavior.

Create a single task, set to be scheduled ALAP. Set an end constraint on it sometime in the future. Level. Where is the task scheduled? Change the project's scheduling direction. Level. Does the task move?

Create an ASAP plan with two identical tasks. Set both tasks to be scheduled ALAP. Assign both tasks to Resource 1. Level. You should get a violation about couldn't fit task during resource leveling. Why? It knows how to handle the same case with ASAP scheduling. Same error occurs if done with an ALAP plan and ASAP scheduling of the tasks. The violation window also reports "Task 1 has an end constraint date of " (but no date). Does that seem like the intended result to you? :-)

psidnell 2012-04-29 09:18 AM

[QUOTE=whpalmer4;109924]Does that seem like the intended result to you? :-)[/QUOTE]

Well, it's certainly non-optimal :-)

Clearly there are several scenarios above where there is an obvious violation free solution that the scheduling engine isn't finding, whatever the settings.

If my son did his homework ASAP rather than ALAP I never would have noticed :-)

lighttech12 2012-09-03 09:47 AM

I don't get it...
 
[QUOTE=whpalmer4;109924]I knew about global setting, and I still think I can demonstrate counter-intuitive and/or broken behavior.

Create a single task, set to be scheduled ALAP. Set an end constraint on it sometime in the future. Level. Where is the task scheduled? Change the project's scheduling direction. Level. Does the task move?

Create an ASAP plan with two identical tasks. Set both tasks to be scheduled ALAP. Assign both tasks to Resource 1. Level. You should get a violation about couldn't fit task during resource leveling. Why? It knows how to handle the same case with ASAP scheduling. Same error occurs if done with an ALAP plan and ASAP scheduling of the tasks. The violation window also reports "Task 1 has an end constraint date of " (but no date). Does that seem like the intended result to you? :-)[/QUOTE]

Hi there, I've just discovered this issue/occurrence as well, and am rather perplexed by it. But it seems that you understand it and/or why omni plan is doing it. I was wondering if you'd be able to elaborate a little more as to why omni plan causes this scheduling conflict? I'm just trying to wrap my brain around why it chooses to cause a violation of the tasks. I know this thread is a little old now, but if you're able to try and explain it any more, i'd really appreciate it. Thanks! (Or is this actually a bug?)


All times are GMT -8. The time now is 02:46 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.