Tuning a Defined Set of Options on Multiple Problems (tunere02)
/****************************************************************************/
/* */
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: tunere02 */
/* TITLE: Tuning a Defined Set of Options on Multiple Problems (tunere02) */
/* PRODUCT: OR */
/* SYSTEM: ALL */
/* KEYS: */
/* PROCS: OPTMILP, PRINT */
/* DATA: */
/* */
/* SUPPORT: UPDATE: */
/* REF: */
/* MISC: Example 2 from the Option Tuner documentation. */
/* */
/****************************************************************************/
/* filename air04 "path-to-correct file";
%mps2sasd(mpsfile="air04.mps", outdata=a.air04);
filename air05 "path-to-correct file";
%mps2sasd(mpsfile="air05.mps", outdata=a.air05);
*/
data probs;
input name $1-8;
datalines;
air04
air05
;
data probs;
input name $1-8;
datalines;
a.air04
a.air05
;
data optvals;
input option $1-10 values $12-28 initial $30-31;
datalines;
cutclique -1, 0, 2 -1
cutgomory 1
heuristics
;
proc optmilp maxtime=60;
tuner problems=probs optionvalues=optvals optionmode=user
maxtime=120 tunerout=tout;
performance nthreads=4;
run;
title "Tuner Output";
proc print data=tout;
run;