This article outlines everything you need to know about optimization objectives on the Optimize page.
- What are optimization objectives?
- Default optimization objectives
- Customizing optimization objectives
- Technical documentation of objectives
What are optimization objectives?
Every time that a scenario optimization is run in ALICE, the scheduling algorithm evaluates millions of possible solutions. The Optimize page shows dots that represent the best schedules from all possible solutions. But, how is “best” defined?
Optimization objectives are the evaluation criteria that the ALICE algorithm uses to intelligently search for schedules from the multitude of possible schedules. The “best” schedules are defined as schedules that best satisfy these criteria.
ALICE has a default set of optimization objectives that reliably produces high quality schedules - no configuration is required to use these, they come out of the box.
Advanced users can also choose to customize or reorder the priority of optimization objectives to fine-tune the ALICE algorithm towards their goal. Read on to learn about the default settings and how to modify them if needed.
Default Optimization Objectives
Every schedule produced by ALICE uses the default optimization preset unless the user manually changes the settings.
Optimization objectives, in priority order:
- Minimize negative float (do not violate soft constraints)
- Minimize project duration
When to use this preset: This is the best choice for most schedules and users to balance honoring soft restrictions and reducing duration. As a reminder, ALICE honors all mandatory restrictions automatically, so this does not need to be specified as an objective.
Custom optimization objectives
Users can define their own set of objectives from the available options. It is important to understand the logic by which the scheduling algorithm will execute against multiple objectives.
When multiple objectives are selected, the algorithm first tries to optimize the first objective, then the second while the first objective value stays the same, then third while first and second objective value stay the same and so on.
We strongly recommend to use no more than 3 objectives at once in order to produce high-quality results. If the scheduling algorithm is overly constrained my too many objectives, it may not produce optimal results.
If an objective is not selected, or is prioritized lower than others, the schedules generated will potentially perform poorly on that objective. For example, if “minimize project duration” is not selected, then the generated schedules may have a long duration, because the scheduler is prioritizing other factors, such as milestone completion or resource efficiency.
This feature is powerful but can require some advanced training and support for users to become confident. Reach out to your Customer Success Manager for advanced training and enablement.
How to set custom optimization objectives
- From the Optimize page, click New Scenario and select Scenario Optimization. Click Next.
- On the Scenario Options window, the Optimization Objectives appear along the top. Click the down arrow to the right to expand the Optimization Objectives menu,
- On this page you can choose your objectives, define their priority order, or define a required end date.
- Drag and drop to define the priority, with the top row representing the top priority.
Technical Documentation of Objectives
Minimize negative float
Negative float describes how well are the schedule task constraints respected. Lower negative float means better constraint date times position with respect to the original ones.
The negative float objective only applies to the following 4 primary constraints: Start on, Start on or before, Finish on, Finish on or before
Even without the negative float objective, the release dates of the following constraints cannot be violated: Start on / or after, Finish on / or after, Mandatory start / finish
Minimize project duration
Minimizes total project duration by prioritizing the end date of the last task in the schedule to be as early as possible.
Prioritize precedence logic over resource logic
Minimizes the slack between pairs of tasks which are connected via a precedence and share some resource. This objective can help minimize instances where resources jump between unconnected tasks.
Suppose you have a simple construction project with 2 buildings. All the tasks only use a single resource and in the original schedule, you had 2 units of that resource so the 2 buildings were constructed in parallel.
After limiting the capacity of the resource to a single unit and using the default objectives, you can get a solution as below:
In this solution, the single resource unit moves between the buildings after finishing every task. When you use the Prioritize precedence logic over resource logic objective, this is going to be avoided and you will get a solution as below, where all the linked tasks in one building are completed before the tasks in the other building are initiated:
Minimize number of crews
Minimizes the number of crews used by tasks. The algorithm will identify the crew with the highest resource profile and seek to lower resource peaks by reducing the demand of that crew. When possible, the algorithm will spread tasks out to reduce the number of parallel tasks using the same crew. Project duration can be prolonged due to using less workers and reducing parallel work.
Prioritize In-Progress Tasks
Prioritizes resources to complete in progress tasks over not-started tasks. This is helpful for continuity of work.
Prioritize end milestones
Select one or more end milestones in your project and prioritize minimizing the time between the schedule’s start and the milestone’s completion. If multiple milestones are selected, the order does not matter and all will be equally prioritized. This objective is useful when some part of the project must be done sooner than others.
Maximize compactness by custom property/area
User Defined Properties (UDFs) can be used to group tasks into clusters. Each custom property definition corresponds to a single cluster family and each property value defines a single cluster within that family. The goal of the objective is to minimize the duration between the start of the first task and the finish of the last task in a cluster thus making the clusters compact. It should be used as a secondary objective with Project duration being the primary objective.
The main purpose of this objective is to prevent unnecessary mobilization of crews or equipment. Suppose we have a construction project with 3 buildings where all tasks are using the same resources with a unit capacity. A custom property Building is used to distinguish which tasks represent work on which building . The property has 3 distinct values: A, B and C. The values of the property denote which tasks belong to which building. Ideally, we would like the buildings to be finished one after the other so the single resource unit won’t jump between the buildings like in the schedule below:
A1 and A2 are building A; B1 and B2 building B; C1 and C2 building C
The custom property “Building” defines the cluster family. The 3 property values define the 3 clusters of the family. The custom property “Building” can therefore be used in the objective. Using it should result in a schedule, where the buildings are built in a compact manner, one after the other.
Prioritize Activities (Beta)
Imagine you have two activities on site: installing wall panels in Building A and lifting the HVAC units onto the roof of Building B. The two activities do not depend on each other, so both are ready to start at the same time. But both need the crane, and there is only one crane on site. Which activity should get the crane first? With the Prioritize activities objective, you can make this decision. You give the HVAC lifting a higher priority, and the crane goes to Building B first. When the HVAC units are in place, the crane moves to Building A for the wall panels.
Custom property definitions (UDFs) and Activity Codes can be used on the Plan page to set the order in which activities receive resources. When two or more activities can run at the same time but need the same resource, the scheduler must decide which activity goes first. Without priorities, it chooses the order that best supports the main objective, for example the shortest project duration. This objective lets you decide the order yourself: activities with a higher priority receive the resource first. The objective is meant for resource allocation.
Example, plan page: Create custom properties P1 and P2 and give them priority values 1…4
When setting the objective on the Optimize page, you select one or more custom properties and a sort direction. With Ascending, a smaller value means a higher priority. With Descending, a larger value means a higher priority. The scheduler ranks activities by the first property. If two activities have the same value, it uses the next property, and so on. It’s recommended to rank priorities using plain numbers like 1,2,3…
The objective is a goal, not a fixed rule. Relationships, resource limits and calendars always come first, so the order is followed as closely as possible but is not guaranteed. It should be used as a secondary objective with Project duration as the primary objective.
Prioritize activities can also be combined with Maximize compactness; the order of the two objectives in the list decides which one has more weight.
Example, Plan page
Example, Optimize page:
In this use case, ALICE evaluates the sequence across two dimensions:
Compactness: ALICE keeps work within the same cluster (e.g., SOUTH) contiguous, ensuring crews finish a physical area efficiently before demobilizing. Remember to set your resource as “heavy resource” in the resources window on the plan page.
Prioritize activities: Determines the sequence inside that area (looking at custom properties P1, P2 and their values).
Minimize resource idle time
This objective minimizes the duration between the start of the first task and the finish of the last task using a selected resource identified by the user.
Suppose you have a simple project with 5 tasks, all of which require the same resource A. Additionally, 2 tasks (Task 2 and Task 4) require a second resource B. In the schedule below, resource B is idle throughout the duration of Task 3.
When using the reduce idle time objective, the duration between the start of Task 2 and the finish of Task 4 is minimized, thus getting a schedule without idle time as below.