Originally posted by: SystemAdmin
[phlab said:]
Hello Trilia,
[color=blue]I have two questions for you :
- What is the equivalent of the rank OPL instruction (or rankLocal or rankGlobal) with Scheduler ?[/color]
The equivalent of rank in ILOG Scheduler is the goal IloRankForward, it is documented in the ILOG Scheduler Reference Manual. If you want to rank all unary and state resources of your model with the default selectors, you can simply use:
IloGoal goal = IloRankForward(env);
[color=blue]- What is the equivalent of the DDSSearch() with Scheduler ? I have to use IloDDSEvaluator ?[/color]
You indeed need to use a DDS evaluator. You can do:
IloGoal goal = IloRankForward(env);
IloGoal ddsgoal = IloApply(env, goal, IloDDSEvaluator(env));
There are several optional parameters for the DDS evaluator creation function. They are documented in the ILOG Solver Reference Manual.
Note that for the problem you describe (machine scheduling with setup-dependent transition time and tardiness cost), you could also try our new generation of scheduling model and search in ILOG CP Optimizer. This product provides a powerful model and a robust default search for solving scheduling problems. It has been shown to produce good quality solutions on problems involving setup-dependent transition times and tardiness costs. ILOG CP Optimizer is one of the engines accessible from ILOG OPL 6.X. A trial version can be downloaded from the OPL page ([url=http://www.ilog.com/products/oplstudio/]http://www.ilog.com/products/oplstudio/[/url]) .
Hope it helps,
Philippe
#CPOptimizer#DecisionOptimization