FRAMES NO FRAMES

IloSetTimesBackward

public IloGoal IloSetTimesBackward(const IloEnv env, IloActivitySelector activitySelector=IloSelLastActMaxStartMin)
public IloGoal IloSetTimesBackward(const IloEnv env, const IloNumVar criterion, IloActivitySelector activitySelector=IloSelLastActMaxStartMin)
Definition file: ilsched/iloschedgoals.h
Include file: <ilsched/iloscheduler.h>

This function creates and returns a goal that assigns an end time to all activities in the model. If the argument criterion is given, then this variable will be bound, if possible, to its maximal value at the end of the search. By default, that is, if no activity selector is given as an argument, the activity selector IloSelLastActMaxStartMin selects the next activity.

Note
WARNING In order to ensure a purely anti-chronological scheduling, the supplied activity selector should always choose an unscheduled activity of maximal latest end time. Furthermore, scheduling an activity at time t should not have an impact on the latest end times of later activities.

In particular, one should be careful in using precedence constraints with a negative delay (and similar Solver constraints on start and end variables).

For further details about the interpretation of the IloSetTimesBackward goal in the Scheduler Engine and about these restrictions, see IlcSetTimesBackward.

See Also: