The OPTGRAPH Procedure

CLIQUE Statement

  • CLIQUE < options >;

The CLIQUE statement invokes an algorithm that finds maximal cliques on the input graph. Maximal cliques are described in the section Clique.

You can specify the following options in the CLIQUE statement:

LOGLEVEL=number | string

controls the amount of information that is displayed in the SAS log. Table 21 describes the valid values for this option.

Table 21: Values for LOGLEVEL= Option

number string Description
0 NONE Turns off all algorithm-related messages in the SAS log
1 BASIC Displays a basic summary of the algorithmic processing
2 MODERATE Displays a summary of the algorithmic processing
3 AGGRESSIVE Displays a detailed summary of the algorithmic processing


The default is the value that is specified in the LOGLEVEL= option in the PROC OPTGRAPH statement (or BASIC if that option is not specified).

MAXCLIQUES=number

specifies the maximum number of cliques to return during clique calculations. The default is the positive number that has the largest absolute value that can be represented in your operating environment.

MAXTIME=number

specifies the maximum amount of time to spend calculating cliques. The type of time (either CPU time or real time) is determined by the value of the TIMETYPE= option. The value of number can be any positive number; the default value is the positive number that has the largest absolute value that can be represented in your operating environment.

OUT=SAS-data-set

specifies the output data set to contain the maximal cliques.

Last updated: August 06, 2020