Download IBM ILOG OPL IDE Tutorials

Transcript
Executing the nurses project (1)
The nurse scheduling project has been designed with infeasible data. The IDE lets you know
when a project is infeasible, proposes relaxations, and displays conflicts to help you make
it feasible. In this section, you are going to execute the model and observe infeasibility.
1. Double-click on the settings file, nurses.ops, to open it in the editing area.
2. In the displayed settings file, select Language>Run in the left panel and make sure
that the Display relaxations and Display conflicts options are checked.
These options, which are turned on by default, tell the IDE to compute and display
suggested relaxations and conflicts, when they exist, in the Conflicts and Relaxations
tabs.
Relaxations and conflicts checked by default
3. Right-click on the nurses project and select Run>Basic configuration.
After a few seconds, the Conflicts and Relaxations tabs indicate where the relaxations
and conflicts are, as shown in the following screen shots.
When a conflict or relaxation is selected in either the Conflicts and Relaxations tabs,
the corresponding code is highlighted in the model.
I B M
I L O G
O P L
I D E
T U T O R I A L S
119