PROC OPTNET
< options > ;
The PROC OPTNET statement invokes the OPTNET procedure. You can specify the following options to define the input and output data sets, the log levels, and various other processing controls:
specifies the input data set that contains the graph link information, where the links are defined as an adjacency matrix.
See the section Adjacency Matrix Input Data for more information.
specifies the input data set that contains the graph link information, where the links are defined as a list.
See the section Link Input Data for more information.
specifies the input data set that contains the matrix to be processed. This is a generic matrix (as opposed to an adjacency matrix, which defines an underlying graph).
See the section Matrix Input Data for more information.
specifies the input data set that contains the graph node information.
See the section Node Input Data for more information.
specifies the input data set that contains the graph node subset information.
See the section Node Subset Input Data for more information.
specifies whether the input graph should be considered directed or undirected.
Table 2.5: Values for the GRAPH_DIRECTION= Option
Option Value |
Description |
---|---|
DIRECTED |
Specifies the graph as directed. In a directed graph, each link has a direction that defines how something (for example, information) might flow over that link. In link , information flows from node to node (). The node is called the source (or tail) node, and is called the sink (or head) node. |
UNDIRECTED |
Specifies the graph as undirected. In an undirected graph, each link has no direction and information can flow in either direction. That is, . This is the default. |
See the section Graph Input Data for more information.
requests the internal graph format for the algorithms to use.
Table 2.6: Values for the GRAPH_INTERNAL_FORMAT= Option
Option Value |
Description |
---|---|
FULL |
Stores the graph in standard (full) format. This is the default. |
THIN (experimental) |
Stores the graph in thin format. This option can improve performance in some cases both by reducing memory and by simplifying the construction of the internal data structures. The thin format causes PROC OPTNET to skip the removal of duplicate links when it reads in the graph. So this option should be used with caution. For some algorithms, the thin format is not allowed and this option is ignored. The THIN option can often be helpful when you do calculations that are decomposed by subgraph. |
See the section Graph Input Data for more information.
includes self links—for example, —when an input graph is read. By default, when PROC OPTNET reads the DATA_LINKS= data set, it removes all self links.
controls the amount of information that is displayed in the SAS log. Each algorithm has its own specific log level. This setting sets the log level for all algorithms except those for which you specify the LOGLEVEL= option in the algorithm statement. Table 2.7 describes the valid values for this option.
Table 2.7: Values for LOGLEVEL= Option
number |
string |
Description |
---|---|---|
0 |
NONE |
Turns off all procedure-related messages in the SAS log |
1 |
BASIC |
Displays a basic summary of the input, output, and algorithmic processing |
2 |
MODERATE |
Displays a summary of the input, output, and algorithmic processing |
3 |
AGGRESSIVE |
Displays a detailed summary of the input, output, and algorithmic processing |
The default is BASIC.
specifies the output data set to contain the graph link information along with any results from the various algorithms that calculate metrics on links.
See the various algorithm sections for examples of the content of this output data set.
specifies the output data set to contain the graph node information along with any results from the various algorithms that calculate metrics on nodes.
See the various algorithm sections for examples of the content of this output data set.
specifies whether CPU time or real time is used for the MAXTIME= option for each applicable algorithm. Table 2.8 describes the valid values of the TIMETYPE= option.
Table 2.8: Values for TIMETYPE= Option
number |
string |
Description |
---|---|---|
0 |
CPU |
Specifies units of CPU time |
1 |
REAL |
Specifies units of real time |
The default is CPU.