Changes between Version 16 and Version 17 of Documentation/Howto/OptimizeExternalApplications
- Timestamp:
- 06/08/10 16:15:25 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Howto/OptimizeExternalApplications
v16 v17 376 376 ==== Configure the client in the HeuristicLab problem ==== 377 377 378 Finally visit the Client parameter in our problem, you can see that it has a Channel parameter that is still null. We need to define the channel here. Because our java client listens for connections on a socket will be using an ''' !EvaluationTCPChannel'''. Click the Channel, create a new value using the pencil icon and select the TCP channel. Configure the TCP channel according to our java forwarding client.378 Finally visit the Client parameter in our problem, you can see that it has a Channel parameter that is still null. We need to define the channel here. Because our java client listens for connections on a socket will be using an '''EvaluationTCPChannel'''. Click the Channel, create a new value using the pencil icon and select the TCP channel. Configure the TCP channel according to our java forwarding client. 379 379 380 380 [[Image(Tutorial_NewTCPChannel.png)]] … … 390 390 2. Drag the problem from the clipboard into the empty Problem tab (note that this again creates a clone!) 391 391 3. Go to the Parameters tab and configure the GA as you like. Select among the crossovers and manipulators that you have added. Choose the Selection scheme (Proportional, Tournament, Linear Rank,...). Choose the number of Elites, the mutation probability and population size. 392 4. Start the TORCS simulator and select the race that you want to evaluate on (look in the manual to see how this is done) 392 4. Start the TORCS simulator and select the race that you want to evaluate on (look in the manual to see how this is done). I start the simulation using "wtorcs -nofuel -nodamage -nolaptime". To start a race I choose "Race > Practice > New Race". 393 393 5. Start the java forwarding client 394 394 6. Click the green arrow button at the bottom of the Genetic Algorithm and watch the optimization run. 395 396 [[Image(Tutorial_Results.png)]]