The OPTQP Procedure |
PROC OPTQP creates two ODS (Output Delivery System) tables by default unless you specify a value other than 1 for the PRINTLEVEL= option. The first table, "ProblemSummary," is a summary of the input QP problem. The second table, "SolutionSummary," is a brief summary of the solution status. PROC OPTQP 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. These names are listed in Table 17.2. For more information about ODS, see the 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. See the section "Problem Statistics" for more information.
Table 17.2: ODS Tables Produced by PROC OPTQPODS Table Name | Description | PRINTLEVEL= |
ProblemSummary | Summary of the input QP problem | 1 (default) |
SolutionSummary | Summary of the solution status | 1 (default) |
ProblemStatistics | Description of input problem data | 2 |
A typical output of PROC OPTQP is shown in Output 17.5.
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 OPTQP runs.
The output data sets corresponding to the preceding output are shown in
Output 17.6, where you can also find (in the row following the heading of each data set in the 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 OPTQP 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 17.7 demonstrates the contents of the ODS table "ProblemStatistics."
The OPTQP Procedure
|
The variable names in the ODS table "ProblemStatistics" are Label1, cValue1, and nValue1, similar to those shown in Figure 17.6 (but not shown in Figure 17.7).
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.