The NETFLOW Procedure

Macro Variable _ORNETFL

The NETFLOW procedure creates and initializes a SAS macro variable called _ORNETFL. After exiting the procedure, you can use %put &_ORNETFL; to view details about the optimization.

When the network simplex method is used, the value of _ORNETFL consists of the following parts:

When the interior point algorithm is used, the value of _ORNETFL consists of the following parts:

Ideally, at the end of a PROC NETFLOW run in which the network simplex method is used, _ORNETFL has the following value:

  
    ERROR_STATUS=OK OPT_STATUS=OPTIMAL OBJECTIVE=x 
    SOLUTION=OPTIMAL
 
At the end of a PROC NETFLOW run in which the interior point algorithm is used, _ORNETFL should have the following value:
  
    ERROR_STATUS=OK SOLUTION=OPTIMAL OBJECTIVE=x 
    ITERATIONS=x ITERATING_TIME=x SOLUTION_TIME=x
 
Nontrailing blank characters that are unnecessary are removed.

If the preprocessor detects that a problem with a network component is infeasible, and you specify that the interior point algorithm should be used, _ORNETFL has the following value:

  
   ERROR_STATUS=OK SOLUTION=INFEASIBLE 
   ITERATIONS=0 ITERATING_TIME=0 SOLUTION_TIME=0
 
The same value is assigned to the _ORNETFL macro variable if the preprocessor detects that an LP problem is infeasible.

Table 5.6 lists alternate values for the _ORNETFL value parts.

Table 5.6: PROC NETFLOW _ORNETFL Macro Values

Keyword Value Meaning
ERROR_STATUSOKno errors
 MEMORYmemory request failed
 IOinput/output error
 DATAerror in the data
 BUGerror with PROC NETFLOW
 SEMANTICsemantic error
 SYNTAXsyntax error
 UNKNOWNunknown error
OPT_STATUSSTARTno optimization has been done
 STAGE_1performing stage 1 optimization
 UNCON_OPTreached unconstrained optimum, but there are side constraints
 STAGE_2performing stage 2 optimization
 OPTIMALreached the optimum
OBJECTIVEobjectivetotal cost or profit
MINFLOWminflowif MAXFLOW and MAXIMIZE are specified at the same time
MAXFLOWmaxflowif MAXFLOW is specified
SHORTEST_PATHshortpathif SHORTPATH is specified
LONGEST_PATHlongpathif SHORTPATH and MAXIMIZE are specified at the same time
SOLUTIONNONOPTIMALmore optimization is required
 STAGE_2_REQUIREDreached unconstrained optimum, stage 2 optimization is required
 OPTIMALhave determined the optimum
 INFEASIBLEinfeasible; no solution exists
 UNRESOLVED_OPTIMALITY _OR_FEASIBILITYthe optimization process stops before optimality or infeasibility can be proven.
 MAXITERB_OPTION _STOPPED_OPTIMIZATIONthe interior point algorithm stops after performing maximal number of iterations specified by the MAXITERB= option

Previous Page | Next Page | Top of Page