Resources

Getting Started Examples (tunerg01)

/***************************************************************/
/*                                                             */
/*          S A S   S A M P L E   L I B R A R Y                */
/*                                                             */
/*    NAME: tunerg01                                           */
/*   TITLE: Getting Started Examples (tunerg01)                */
/* PRODUCT: OR                                                 */
/*  SYSTEM: ALL                                                */
/*    KEYS:                                                    */
/*   PROCS: OPTMILP                                            */
/*    DATA:                                                    */
/*                                                             */
/* SUPPORT:                             UPDATE:                */
/*     REF:                                                    */
/*    MISC: Example from the Getting Started section of the    */
/*          Option Tuner documentation.                        */
/*                                                             */
/***************************************************************/

/* define libname that locates problems to be tuned */
libname a '.';

/*
filename air04 "path-to-air04.mps file";
%mps2sasd(mpsfile=air04, outdata=a.air04);

filename air05 "path-to-air05.mps file";
%mps2sasd(mpsfile=air05, outdata=a.air05);
*/

data probs;
   input name $1-8;
   datalines;
a.air04
a.air05
;

data optvals;
   input option $1-10;
   datalines;
cutclique
cutgomory
heuristics
;

proc optmilp maxtime=300;
   tuner maxtime=1200 problems=probs optionvalues=optvals tunerout=out
         logfreq=10;
   performance nthreads=4 details;
run;