Converting to an MPS-Format SAS Data Set (int7)
/****************************************************************/
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: int7 */
/* TITLE: Converting to an MPS-Format SAS Data Set (int7) */
/* PRODUCT: OR */
/* SYSTEM: ALL */
/* KEYS: OR */
/* PROCS: INTPOINT */
/* DATA: */
/* */
/* SUPPORT: UPDATE: */
/* REF: */
/* MISC: Example 7 from the INTPOINT chapter of Mathematical */
/* Programming Legacy Procedures. */
/* */
/****************************************************************/
data exdata;
input x1 x2 x3 _type_ $ _rhs_;
datalines;
2 -3 -4 min .
. -2 -3 >= -5
1 1 2 <= 6
1 2 3 >= 7
10 15 20 upperbd .
;
proc intpoint condata=exdata mpsout=mpsdata bytes=100000;
run;
proc print data=mpsdata;
run;