Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The LP Procedure

Syntax

The following statements are used in PROC LP:
PROC LP options ;
COEF variables ;
COL variable ;
ID variable(s) ;
IPIVOT;
PIVOT;
PRINT options ;
QUIT options ;
RANGE variable ;
RESET options ;
RHS variables ;
RHSSEN variables ;
ROW variable(s) ;
RUN;
SHOW options ;
TYPE variable ;
VAR variables ;

The TYPE, ID (or ROW), VAR, RHS, RHSSEN, and RANGE statements are used for identifying variables in the problem data set when the model is in the dense input format. In the dense input format, a model's columns appear as variables in the problem data set. The TYPE, ID (or ROW), and RHS statements can be omitted if the input data set contains variables _TYPE_, _ID_ (or _ROW_), and _RHS_; otherwise, they must be used. The VAR statement is optional. When it is omitted, PROC LP treats all numeric variables, which are not explicitly or implicitly included in RHS, RHSSEN, and RANGE statements, as structural variables. The RHSSEN and RANGE statements are optional statements for sensitivity and range analyses. They can be omitted if the input data set contains the _RHSSEN_ and _RANGE_ variables.

The TYPE, COL, ROW (or ID), COEF, RHS, RHSSEN, and RANGE statements are used for identifying variables in the problem data set when the model is in the sparse input format. In the sparse input format, a model's rows and columns appear as observations in the problem data set. The TYPE, COL, ROW (or ID), and COEF statements can be omitted if the input data set contains the _TYPE_ and _COL_ variables, as well as variables beginning with the prefixes _ROW (or _ID) and _COEF. Otherwise, they must be used. The RHS, RHSSEN, and RANGE statements identify the corresponding columns in the model. These statements can be omitted if there are observations that contain the RHS, RHSSEN, and RANGE types or the _RHS_, _RHSSEN_, and _RANGE_ names.

The SHOW, RESET, PRINT, QUIT, PIVOT, IPIVOT, and RUN statements are especially useful when executing PROC LP interactively. However, they can also be used in batch mode.


Functional Summary

PROC LP Statement

COEF Statement

COL Statement

ID Statement

IPIVOT Statement

PIVOT Statement

PRINT Statement

QUIT Statement

RANGE Statement

RESET Statement

RHS Statement

RHSSEN Statement

ROW Statement

RUN Statement

SHOW Statement

TYPE Statement

VAR Statement

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.