This example demonstrates how to tune the default set of tuning options for a single problem. The problem is the air05 problem
from the MIPLIB 2003 problem set, which is introduced in the section Getting Started: The OPTMILP Option Tuner. The SAS data set that defines the problem (in MPS format) is named air05
.
Because you are using only one problem to perform option tuning, you do not need to create a PROBLEMS= data set. Because you are tuning the default set of options, you do not need to create an OPTIONVALUES= data set. The following statements call the OPTMILP option tuner and determine the stopping criterion by specifying the MAXCONFIGS= option instead of the MAXTIME= option:
proc optmilp data=a.air05 maxtime=300; tuner maxconfigs=20 printfreq=2 tunerout=out; performance nthreads=4; run;
title "Tuner Output"; proc print data=out(obs=10); run;
The output data set is shown in Output 15.1.1.
Output 15.1.1: Single Problem with Default Tuning Options: Output
Tuner Output |
Obs | RANK | PROBLEM | OBJSENSE | PRESOLVER | PROBE | CONFLICTSEARCH | NODESEL | VARSEL | HEURISTICS | CUTSTRATEGY | CUTGOMORY | CUTMILIFTED | CUTZEROHALF | SYMMETRY | STATUS | SOLUTION_STATUS | OBJECTIVE | RELATIVE_GAP | ABSOLUTE_GAP | NODES | SOLUTION_TIME |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 | AIR05 | MIN | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | OK | OPTIMAL_RGAP | 26374 | .000090809 | 2.39478 | 288 | 73.39 |
2 | 1 | AIR05 | MIN | 0 | -1 | 0 | 0 | -1 | 1 | 2 | -1 | 0 | 0 | 1 | OK | OPTIMAL | 26374 | 0 | 0.00000 | 115 | 64.26 |
3 | 2 | AIR05 | MIN | 2 | -1 | -1 | 1 | -1 | 2 | 1 | 0 | -1 | -1 | 0 | OK | OPTIMAL | 26374 | 0 | 0.00000 | 217 | 71.06 |
4 | 3 | AIR05 | MIN | 3 | -1 | -1 | -1 | 3 | 0 | 1 | 0 | 0 | 0 | -1 | OK | OPTIMAL_RGAP | 26374 | .000062398 | 1.64557 | 294 | 74.56 |
5 | 4 | AIR05 | MIN | 2 | -1 | 0 | 0 | -1 | 2 | 1 | 0 | -1 | -1 | 0 | OK | OPTIMAL_RGAP | 26374 | .000082100 | 2.16514 | 225 | 77.95 |
6 | 5 | AIR05 | MIN | 2 | -1 | -1 | 2 | -1 | 2 | 1 | 0 | -1 | -1 | 0 | OK | OPTIMAL | 26374 | 0 | 0.00000 | 401 | 80.74 |
7 | 6 | AIR05 | MIN | 2 | -1 | -1 | 0 | -1 | 2 | 1 | 0 | -1 | -1 | -1 | OK | OPTIMAL_RGAP | 26374 | .000081826 | 2.15789 | 217 | 80.94 |
8 | 7 | AIR05 | MIN | 2 | -1 | -1 | 0 | -1 | 2 | 1 | 0 | -1 | 0 | 0 | OK | OPTIMAL_RGAP | 26374 | .000081826 | 2.15789 | 217 | 82.29 |
9 | 8 | AIR05 | MIN | 2 | -1 | -1 | 0 | -1 | 2 | 1 | 0 | -1 | -1 | 2 | OK | OPTIMAL_RGAP | 26374 | .000081826 | 2.15789 | 217 | 82.41 |
10 | 9 | AIR05 | MIN | 2 | -1 | -1 | 0 | -1 | 2 | 1 | 0 | -1 | -1 | 0 | OK | OPTIMAL_RGAP | 26374 | .000081826 | 2.15789 | 217 | 82.61 |