Overview | Group | Tree | Graph | Index | Concepts |
This function returns a goal that assigns a possible resource as the selected one for an alternative resource constraint.
IloAltResSet
, it considers all the constraints on
that instance of IloAltResSet
.IloResource
, it considers all the constraints on
instances of IloAltResSet
for which that resource is a possible
alternative.IloResourceSelector
, it considers all the
constraints on instances of IloAltResSet
for which that resource is a possible
alternative.The goal uses the selector possibleSel
to choose the
resource. If no argument of type IloResourceSelector
is given, the goal uses the default
selector, IloSelAltRes
. The goal selects posted and metaposted
alternative resource constraints in arbitrary order. To customize this
behavior it is necessary to directly use the Scheduler Engine classes
IlcAssignAlternative
and
IloSelector<IlcAltResConstraint>
.
Implementation
See IlcAssignAlternative
for an example
of how this function can be defined.
See Also:
IloAltResSet, IloResource, IlcAssignAlternative