The OPTLP Procedure |
PROC OPTLP creates two ODS (Output Delivery System) tables by default unless you specify a value other than 1 for the PRINTLEVEL= option. One table is a summary of the input LP problem. The other is a brief summary of the solution status. PROC OPTLP assigns a name to each table it creates. You can use these names to reference the table when using the ODS to select tables and create output data sets. For more information about ODS, see SAS Output Delivery System: User's Guide.
If you specify a value of 2 for the PRINTLEVEL= option, then a third table, "ProblemStatistics," is produced. This table contains information about the problem data. For more information, see the section "Problem Statistics".
Table 15.2: ODS Tables Produced by PROC OPTLPODS Table Name | Description | PRINTLEVEL= |
ProblemSummary | Summary of the input LP problem | 1 (default) |
SolutionSummary | Summary of the solution status | 1 (default) |
ProblemStatistics | Description of input problem data | 2 |
A typical output of PROC OPTLP is shown in Output 15.2.
You can create output data sets from these tables by using the ODS OUTPUT statement.
This can be useful, for example, when you want to create a report
to summarize multiple PROC OPTLP runs.
The output data sets corresponding to the preceding output are shown in
Output 15.3, where you can also find (at the row following the heading of each data set in display)
the variable names that are used in the table definition (template) of each table.
|
Optimizers can encounter difficulty when solving poorly formulated models. Information about data magnitude provides a simple gauge to determine how well a model is formulated. For example, a model whose constraint matrix contains one very large entry (on the order of ) can cause difficulty when the remaining entries are single-digit numbers. The PRINTLEVEL=2 option in the OPTLP procedure causes the ODS table "ProblemStatistics" to be generated. This table provides basic data magnitude information that enables you to improve the formulation of your models.
The example output in Output 15.4 demonstrates the contents of the ODS table
"ProblemStatistics."
The OPTLP Procedure
|
The variable names in the ODS table "ProblemStatistics" are Label1, cValue1, and nValue1.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.