Overview | Group | Tree | Graph | Index | Concepts |
Resource Constraints on a Resource
These functions (1st and 4th) create and return a goal that ranks all
resource constraints of the unary or state resource res
. The
resource constraint selector indicated by rcSel
selects the
next resource constraint to be ranked first. By default (when no resource
constraint selector is given as an argument), the resource constraint
selector IloSelFirstRCMinStartMax
selects the next resource
constraint to be ranked first.
Resource Constraints in a Model
This function (2nd) creates and returns a goal that ranks all resource
constraints of all unary or state resources in the model. The resource
selector indicated by rSel
selects the next resource. The
resource constraint selector rcSel
selects the next resource
constraint to be ranked first.
This function will rank either all the state resources (if rSel ==
IloSelStateRes
), or all the unary resources (if rSel ==
IloSelResMinGlobalSlack
, or IloSelResMinLocalSlack
). By
default (when no selectors are given as arguments), the resource selector
IloSelResMinGlobalSlack
selects the next resource, and the
resource constraint selector IloSelFirstRCMinStartMax
selects
the next resource constraint to be ranked first.
Resource Constraints in a Model with a Criterion
This function (3rd) creates and returns a goal that is a logical AND of
the goal described in the previous section with a goal that attempts to
instantiate criterion
. The instantiation goal tries values for
criterion
in ascending order.
Implementation
For an example of how the goals returned by these functions could be implemented, see IlcRank. Also see Ranking .
See Also:
IloStateResource, IloUnaryResource, IlcSchedule, IlcRank, IloResourceConstraintSelector