FRAMES NO FRAMES

IloSetTimesForward

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

This function creates and returns a goal that assigns a start time to all activities in the model. If the argument criterion is given, then this variable will be bound, if possible, to its minimal value at the end of the search. By default, that is, if no activity selector is given as an argument, the activity selector IloSelFirstActMinEndMax 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 IloSetTimesForward goal in the Scheduler Engine and about these restrictions, see IlcSetTimes.

See Also: