|
Main Program
Displaying the Solution
By this point the Tabu Search has finished all its iterations, and we're ready to display the answer. We'll create a few handy methods for printing the solution to System.out in a way that we can plot the answer in a spreadsheet program. import org.coinor.opents.*; public class Main { public static void main( String[] args ) { ... // Show solution There's not too much code here in the Main program, suggesting how nice it can be to integrate a tabu search into a larger program. In the next section we'll actually look at the Tabu Search objects that we created in support of this main program. |
||