Documentation

Task scheduling data

The dataset format of the task scheduling model: every table at its JSON path, every field the model reads, the model's parameters.

A dataset is one JSON document. These are its tables, each at its JSON path, with every field the model reads. The Workbench data editor shows the same tables with a typed editor per field. What each field does to the score is explained with the rules on the constraints page.

Machines and people resources

FieldLabelKindRequiredValues
name Name text optional
kind Kind text required Machine, Person
machineType Machine type text optional an id from machineTypes
initialTaskType Set up for text optional an id from taskTypes
start Available from date time required
tags Tags list of objects: tag, from, until optional
unavailable Unavailable list of objects: start, end, label optional
freezeTasksUntil Keep tasks starting before date time optional
tasks Runs list of objects: task, start, end, changeoverStart, changeoverDuration written by the solver
idleTime Idle minutes written by the solver
changeovers Changeovers integer written by the solver
changeoverTime Changeover time minutes written by the solver

Tasks tasks

FieldLabelKindRequiredValues
name Name text optional
duration Length minutes optional
durationOn Length on list of objects: resource, duration optional
taskType Task type text optional an id from taskTypes
minStart Not before date time optional
maxEnd Done by date time optional
idealEnd Ideally done at date time optional
dueDate Due date time optional
priority Priority integer (points) optional
requiredResources Only on list optional an id from resources
requiredTags Needs tags list optional an id from tags
dependencies After list of objects: task, anchor, minOffset, maxOffset, sameResource, noIntermediateTasks optional
consumes Uses up list of objects: part, quantity optional
produces Makes list of objects: part, quantity optional
noInterruptions Runs without pausing boolean optional
pinned Pinned boolean optional

Changeovers changeovers

FieldLabelKindRequiredValues
machineType Machine type text required an id from machineTypes
from From task type text required an id from taskTypes
to To task type text required an id from taskTypes
duration Takes minutes required

Hand-overs resourceTransitions

FieldLabelKindRequiredValues
from From text required an id from resources
to To text required an id from resources
reward Reward integer (points) optional
forbidden Forbidden boolean optional

Stock stock

FieldLabelKindRequiredValues
part Part text required
quantity Quantity integer required
at Arrives date time optional

Tags tags

FieldLabelKindRequiredValues
name Name text optional

Task types taskTypes

FieldLabelKindRequiredValues
name Name text optional

Machine types machineTypes

FieldLabelKindRequiredValues
name Name text optional

Parameters

Settings of the model itself. A profile or a dataset sets them; the default applies otherwise.

ParameterDefaultMeaning
defaultPriority
Default priority
1 points Priority of a task that sets none; priorities weigh unassigned tasks, ideal ends and resources outside a task's list.
interruptible
Tasks pause over breaks
true Whether a task pauses over its resource's unavailable spans and continues afterwards, unless the task sets noInterruptions; when false, tasks wait for a gap long enough to run whole.
brokenLinkPenalty
Cost of a broken link
1000 hard points Hard cost of one broken structural link: a dependency left unassigned, split across resources, interrupted by other tasks, or handed over on a forbidden transition.