IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Searching for Solutions > Tools for Searching > Ranking Goals |
Ranking Goals |
INDEX
![]() |
A set of instances of IloResourceConstraint
may be ranked (ordered along the time line) for a resource which defines a mutually exclusive relationship between activities that require it. Ranking is defined for the classes IloUnaryResource
and IloStateResource
.
Ranking is possible for any resource constraint with an IloFromStartToEnd
time extent.
When a constraint is ranked first, the activity corresponding to it is positioned at the head of the activities not already ranked. Therefore, at any moment when ranking the resource constraints of a resource, there are:
See Figure 2.1.
This same breakdown applies in reverse chronological order for ranking resource constraints last.
Note |
Ranking the activities on a resource does not necessarily bind their start and end times. |
Scheduler provides predefined functions that return a goal that ranks resource constraints.
IloGoal IloRankForward(const IloEnv env,
const IloUnaryResource resource);
resource
. The duration and capacity required by the activities is assumed to be bounded. By default, the resource constraint selector IloSelFirstRCMinStartMax
selects the next resource constraint to be ranked first.
IloGoal IloRankForward(const IloEnv env,
const IloStateResource resource);
resource
. The duration required by the activities is assumed to be bounded. By default, the resource constraint selector IloSelFirstRCMinStartMax
selects the next resource constraint to be ranked first.
IloGoal IloRankForward(const IloEnv env);
IloResourceParam
in the IBM ILOG Scheduler Reference Manual). By default the next resource to be ranked is chosen by the selector IloSelResMinGlobalSlack
and the next resource constraint on the resource is selected by the selector IloSelFirstRCMinStartMax
.
IloGoal IloRankForward(const IloEnv env,
const IloNumVar criterion);
IloResourceParam
in the IBM ILOG Scheduler Reference Manual), while minimizing criterion
. By default, the next resource to be ranked is chosen by the selector IloSelResMinGlobalSlack
and the next resource constraint on the resource is selected by the selector IloSelFirstRCMinStartMax
.
IloGoal IloRankBackward(const IloEnv env,
const IloUnaryResource resource);
resource
. The duration and capacity required by the activities are assumed to be bounded. By default, the resource constraint selector IloSelLastRCMaxEndMin
selects the next resource constraint to be ranked last.
IloGoal IloRankBackward(const IloEnv env,
const IloStateResource resource);
resource
. The duration required by the activities are assumed to be bounded. By default, the resource constraint selector IloSelLastRCMaxEndMin
selects the next resource constraint to be ranked last.
IloGoal IloRankBackward(const IloEnv env);
IloResourceParam
in the IBM ILOG Scheduler Reference Manual).
By default the next resource to be ranked backward is chosen by the selector IloSelResMinGlobalSlack
and the next resource constraint on the resource is selected by the selector IloSelLastRCMaxEndMin
.
IloGoal IloRankBackward(const IloEnv env,
const IloNumVar criterion);
IloResourceParam
in the IBM ILOG Scheduler Reference Manual), while maximizing criterion
. By default the next resource to be ranked backward is chosen by the IloSelResMinGlobalSlack
selector and the next resource constraint on the resource is selected by the IloSelLastRCMaxEndMin
selector.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |