Overview | Group | Tree | Graph | Index | Concepts |
Parameters are used to change the default behavior of activities and resources.
Several kinds of constraints can be posted on a resource:
Instances of IloResourceParam
are used to specify whether
and how these constraints posted on resources must be taken into account
during the search.
This class inherits from the IBM® ILOG® Concert Technology class
IloExtractable
. That class is documented in the IBM ILOG
Concert Technology Reference Manual.
For more information, see Calendars, Parameter Classes, Temporal Relations, Parameters Organized by Function, Resource Usage Profiles, Transition Costs, Transition Times, and Resource Enforcement as Global Constraint Declaration.
See Also:
IloResource, IloEnforcementLevel
Constructor Summary | |
---|---|
public | IloResourceParam() |
public | IloResourceParam(IloResourceParamI * impl) |
public | IloResourceParam(const IloEnv env, const char * name=0) |
Constructor Detail |
---|
This constructor creates a new instance of IloResourceParam
in the given environment env
.
Method Detail |
---|
This member function returns IloTrue
if the calendar of
the resources depending on this parameter is to be ignored. Otherwise, it
returns IloFalse
.
This member function returns IloTrue
if the usage of the
resources depending on this parameter is to be ignored. Otherwise, it
returns IloFalse
.
This member function returns IloTrue
if the precedence
relations defined on the resources depending on this parameter are to be
ignored. Otherwise, it returns IloFalse
. Precedence relations
are expressed with the member function IloResourceConstraint::setSuccessor.
This member function returns IloTrue
if the sequencing
relations defined on the resources depending on this parameter are to be
ignored. Otherwise, it returns IloFalse
. Sequencing relations
are expressed with the following member functions:
IloResourceConstraint::setNext
, IloResourceConstraint::setNotNext
,
IloResourceConstraint::setSetup
, IloResourceConstraint::setNotSetup
, IloResourceConstraint::setTeardown
,
and IloResourceConstraint::setNotTeardown
.
This member function returns IloTrue
if the transition time
defined on the resources depending on this parameter is to be ignored.
Otherwise, it returns IloFalse
.
This member function returns the enforcement level for calendar constraint of the
invoking parameter. See also: IloResourceParam::getCalendarEnforcement
This member function returns the capacity enforcement level of the
invoking parameter. See also: IloResourceParam::setCapacityEnforcement
This member function returns the enforcement level on the duration
of the invoking parameter. See also: IloResourceParam::setDurationEnforcement
This member function returns the enforcement level for precedence
relations of the invoking parameter. See also: IloResourceParam::setPrecedenceEnforcement
This member function returns the enforcement level for sequencing
relations of the invoking parameter. See also: IloResourceParam::setSequenceEnforcement
This member function returns the enforcement level for transition time
relations of the invoking parameter. See also: IloResourceParam::setTransitionTimeEnforcement
This member function allows you to specify whether the calendar constraints of the
resources depending on this parameter will be ignored. If the argument
ignored
is equal to IloTrue
, it will behave as if
no calendar is attached to the resources depending on this parameter.
This member function allows you to specify whether the capacity or state
constraints on the resources depending on this parameter will be ignored. If
the argument ignore
is equal to IloTrue,
and the
resource is a capacity resource, it will behave as if the capacity
constraints on the resource are ignored. If the resource is a state
resource, it will behave as if the required state constraints on the
resource are ignored.
This member function allows you to specify whether the precedence
relations defined on the resources depending on this parameter will be
ignored. If the argument ignore
is equal to
IloTrue
, it will behave as if the precedence relations are
ignored. Precedence relations are expressed with the member function
IloResourceConstraint::setSuccessor.
This member function allows you to specify whether the sequence relations
defined on the resources depending on this parameter will be ignored. If the
argument ignore
is equal to IloTrue
, it will
behave as if the sequence relations are ignored. Sequence relations are
expressed with the member functions IloResourceConstraint::setNext
and IloResourceConstraint::setNotNext
.
This member function allows you to specify whether the transition times
defined on the resources depending on this parameter will be ignored. If the
argument ignore
is equal to IloTrue
, it will
behave as if the transition time constraints are ignored.
This member function returns IloTrue
if the resource
depending on this parameter should be kept open. Otherwise, it returns
IloFalse
. See also: IloResourceParam::keepOpen
If the argument open
is equal to IloTrue
, this
member function states that the resources depending on this parameter must
be kept open when starting to solve the problem. It means that additional
activities requiring or providing these resources may be added during
solving. Otherwise, if the argument open
is equal to
IloFalse
, it states that all the activities requiring or
providing the resources depending on this parameter are known before
starting to solve the problem. By default, it is supposed that all the
activities requiring or providing the resources are known before starting to
solve the problem.
This member function allows specifying an enforcement level for the calendar
of the resources. The level of enforcement of calendar constraints describes how the
solver will enforce these calendar constraints. The semantics of these
levels is solver dependent. The default enforcement level is
IloBasic
. For more information on the enforcement levels and
how they are interpreted in Scheduler Engine, see IloEnforcementLevel
and
Resource Enforcement as Global Constraint Declaration.
This member function allows specifying an enforcement level for the usage
of the resources depending on this parameter. The level of enforcement of
resource usage describes how the solver will enforce this resource usage.
The semantics of these levels is solver dependent. The default enforcement
level is IloBasic
. For more information on the enforcement
levels and how they are interpreted in Scheduler Engine, see IloEnforcementLevel
and Resource Enforcement as Global Constraint Declaration.
This member function allows specifying an enforcement level for
the duration of activities using the resources depending on this
parameter. The level of enforcement describes how the
solver will enforce these durations. The semantics of these levels
is solver dependent. The default enforcement level is
IloBasic
. For more information on the enforcement
levels and how they are interpreted in Scheduler Engine, see
IloEnforcementLevel
and Resource Enforcement as Global Constraint Declaration.
This member function allows specifying an enforcement level for the
precedence relations defined on the resources depending on this parameter.
Precedence relations can be expressed with the member function
IloResourceConstraint::setSuccessor
.
The level of enforcement of
precedence relations describes how the solver will enforce these
constraints. The semantics of these levels is solver dependent. The default
enforcement level is IloBasic
. For more information on the
enforcement levels and how they are interpreted in Scheduler Engine, see
IloEnforcementLevel
and Resource Enforcement as Global Constraint Declaration.
This member function allows specifying an enforcement level for the
sequencing relations defined on the resources depending on this parameter.
Sequencing relations are expressed by the member functions IloResourceConstraint::setNext
and IloResourceConstraint::setNotNext
.
The level
of enforcement of sequencing relations describes how the solver will enforce
these relations. The semantics of these levels is solver dependent. The
default enforcement level is IloBasic
. For more information on
the enforcement levels and how they are interpreted in Scheduler Engine, see
IloEnforcementLevel
and Resource Enforcement as Global Constraint Declaration.
This member function allows specifying an enforcement level for the
transition times defined on the resources depending on this parameter.
Transition times can be associated with a resource with the member functions
of the class IloTransitionTime
. The level of
enforcement of transition times describes how the solver will enforce these
relations. The semantics of these levels is solver dependent. The default
enforcement level is IloBasic
. For more information on the
enforcement levels and how they are interpreted in Scheduler Engine, see
IloEnforcementLevel
and Resource Enforcement as Global Constraint Declaration.