Initializing help system before first use

set_task_attributes

Purpose
Sets some attributes for a task.
A cptask is represented by three cpvar:
  • start representing the start time of the task
  • end representing the completion time of the task
  • duration representing the duration of the task.
These three structural variables are linked with the following constraint: task + duration ≤ end. The start time variable represents two specific parameters of the task: the Earliest Start Time (EST, represented by its lower bound) and its Latest Start Time (LST, represented by its upper bound). The end variable represents another two parameters of the task: the Earliest Completion Time (ECT, represented by its lower bound) and its Latest Completion Time (LCT, represented by its upper bound). The duration variable represents the following two parameters of the task: the minimum task duration (Dmin, represented by its lower bound) and the maximum task duration (Dmax, represented by its upper bound). The graphic below illustrates these properties:
Scheduling/task.png
Synopsis
procedure set_task_attributes(task:cptask, duration:integer, resource:cpresource, precedences:set of cptask)
procedure set_task_attributes(task:cptask, duration:integer, resource:cpresource)
procedure set_task_attributes(task:cptask, duration:integer)
procedure set_task_attributes(task:cptask, duration:integer, precedences:set of cptask)
procedure set_task_attributes(task:cptask, resource:cpresource, requirement:integer)
Arguments
task 
the task to set attributes
duration 
the duration of the task
resource 
a resource that is required during the execution of the task
precedences 
the set of tasks that must precede t in the schedule
requirement 
amount of the specified resource required per time unit

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.