IBM ILOG Solver User's Manual > Local Search > Minimizing Talent Wait Cost Using LNS > Displaying the solution |
Displaying the solution |
INDEX
![]() |
Having terminated the LNS, it is now time to display the best solution found. To do this, you will first restore the best solution so that solver's variables are instantiated in line with them. Then, a simple loop displays the order of the scenes.
Step 11 - | Display the scene filming order |
Insert the following display code after the comment
// Display the order of scene filming
A more complicated display is provided for you which displays the time units at which each actor acts. The number of units of waiting time can be more clearly seen for each actor in this case. The code is given below:
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |