FRAMES NO FRAMES

IloSequenceBackward

public IloGoal IloSequenceBackward(const IloEnv env, const IloUnaryResource uRes)
public IloGoal IloSequenceBackward(const IloEnv env, const IloNumVar criterion, IloResourceSelector rSel=IloSelResMinGlobalSlack)
public IloGoal IloSequenceBackward(const IloEnv env, IloResourceSelector rSel=IloSelResMinGlobalSlack)
public IloGoal IloSequenceBackward(const IloEnv env, const IloNumVar criterion, const IloTransitionParam param, IloSequenceIndexSelector iSel=IloSelPrevRCMaxCostStartMin, IloResourceSelector rSel=IloSelResMinGlobalSlack)
public IloGoal IloSequenceBackward(const IloEnv env, const IloUnaryResource uRes, const IloTransitionParam param, IloSequenceIndexSelector iSel=IloSelPrevRCMaxCostStartMin)
public IloGoal IloSequenceBackward(const IloEnv env, const IloTransitionParam param, IloSequenceIndexSelector iSel=IloSelPrevRCMaxCostStartMin, IloResourceSelector rSel=IloSelResMinGlobalSlack)
Definition file: ilsched/iloschedgoals.h
Include file: <ilsched/iloscheduler.h>

These functions return instances of IloGoal that sequence instances of IloUnaryResource from their teardown activity to their setup activity (sequencing in reverse). The involved resources must be instances of IloUnaryResource, and they must not be kept open.

When the argument uRes is given, the function returns an instance of IloGoal that sequences uRes. When there is no resource argument, all the unary resources in the model that are not to be kept open are successively sequenced in reverse according to the unary resource selector argument rSel. By default, the resource selector is IloSelResMinGlobalSlack.

The selector iSel, a value from the enumeration IloSequenceIndexSelector, selects a possible value of a previous resource constraint of each resource constraint. The default selector is IloSelPrevRCMaxCostStartMin.

When the argument criterion is used, the goal also assigns it to its smallest consistent value after the sequencing has been completed.

When an IloSequenceIndexSelector is used, the estimation of the cost will be determined by the IloTransitionParam parameter passed to the constructor. The default value for such an index selector is IloSelPrevRCMaxCostStartMin.

See Also: