FRAMES NO FRAMES

Enumeration IloResourceSelector

Definition file: ilsched/iloschedgoals.h
Include file: <ilsched/iloscheduler.h>

This enumeration is used to indicate how resources should be selected by the goals IloRankForward, IloRankBackward, IloSequenceForward, IloSequenceBackward, and IloAssignAlternative.

Not all the values of the enumeration can be used for selecting any kind of resource. To select an IloUnaryResource, use one of IloSelResMinGlobalSlack, IloSelResMinLocalSlack, IloSelResSequenceMinGlobalSlack, or IloSelResSequenceMinLocalSlack. To select one resource of an alternative, use one of IloSelResMinGlobalSlack, IloSelResMinLocalSlack, IloSelResMinCapacity, or IloSelAltRes. To select a state resource, use IloSelStateRes. If a wrong selector is used in a goal, an IloException is raised.

IloSelResMinGlobalSlack selects the non-ranked unary resource with minimal global slack.

IloSelResMinLocalSlack selects the non-ranked unary resource with minimal local slack.

IloSelResSequenceMinGlobalSlack selects the non-sequenced unary resource with minimal global slack.

IloSelResSequenceMinLocalSlack selects the non-sequenced unary resource with minimal local slack.

IloSelResMinCapacity selects the resource with minimal capacity.

IloSelStateRes selects an unranked state resource.

IloSelAltRes selects a possible resource for an alternative resource constraint.

See Also:

Fields

IloSelResMinGlobalSlack = 0 
IloSelResMinLocalSlack 
IloSelResSequenceMinGlobalSlack 
IloSelResSequenceMinLocalSlack 
IloSelResMinCapacity 
IloSelStateRes 
IloSelAltRes