IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Adding Transition Times > Solve the Problem |
Solve the Problem |
INDEX
![]() |
The function IloRankForward
returns a goal that ranks all resource constraints while minimizing makespan
. By default, IloRankForward
uses the resource selector IloSelResMinGlobalSlack
to select the next resource to be ranked, and the resource constraint selector IloSelFirstRCMinStartMax
to select the next resource constraint to be ranked first.
IloSelResMinGlobalSlack
selects a resource on which not all activities are ordered and that has minimal slack. (Slack is the difference between the demand for a resource and its availability over a specific period of time. For more information, see IlcDiscreteResource
in the IBM ILOG Scheduler Reference Manual.)
IloEnv env; IloNumVar makespan; IloModel model = DefineModel(env, makespan); IloSolver solver(model); IloGoal goal = IloRankForward(env, makespan); |
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |