FRAMES NO FRAMES

Global Constraints
PREVIOUS NEXT
Description
Description

The global constraints are:

const IloInt IloRestoreNothing,
             IloRestoreActivityStart,
             IloRestoreActivityEnd,
             IloRestoreActivityDuration,
             IloRestoreActivityProcessingTime,
             IloRestoreActivityExternal,
             IloRestoreRCNext,
             IloRestoreRCPrev,
             IloRestoreRCDirectPredecessor,
             IloRestoreRCDirectSuccessor,
             IloRestoreRCSetup,
             IloRestoreRCTeardown,
             IloRestoreRCCapacity,
             IloRestoreRCSelected,
             IloRestoreAll;

Global constants are used to parameterize the restoration of IloActivity and IloResourceConstraint objects in the following four contexts.

  • Local search
  • An IloRestoreSolution goal
  • IloSolution::getConstraint method
  • IloSolution::restore method

In each of these contexts, the data that is restored (that is, inserted into the solver or, in the case of IloSolution::getConstraint added, via a constraint, to the model) depends on the value of the restoreFields flag that is associated with the extractable. The restoreFields are associated with an extractable in the IloSchedulerSolution::add method or by using the IloSchedulerSolution::setRestorable and IloSchedulerSolution::setNonRestorable methods.

ValueField
IloRestoreNothingnone
IloRestoreActivityStartstart time variable of an IloActivity
IloRestoreActivityEndend time variable of an IloActivity
IloRestoreActivityDurationduration variable of an IloActivity
IloRestoreActivityProcessingTimeprocessing time variable of an IloActivity
IloRestoreActivityExternalexternal variable associated with an IloActivity
IloRestoreRCNextnext relation of an IloResourceConstraint
IloRestoreRCPrevprevious relation of an IloResourceConstraint
IloRestoreRCDirectSuccessordirect successors of an IloResourceConstraint
IloRestoreRCDirectPredecessordirect predecessors of an IloResourceConstraint
IloRestoreRCSetupsetup status of an IloResourceConstraint
IloRestoreRCTeardownteardown status of an IloResourceConstraint
IloRestoreRCCapacitycapacity variable of an IloResourceConstraint
IloRestoreRCSelectedselected resource of an IloResourceConstraint
IloRestoreAllall possible restorable fields of the associated extractable

See Also

IloActivity, IloSchedulerSolution, IloResourceConstraint.

PREVIOUS NEXT