| The NETFLOW Procedure |
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=0The 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_STATUS | OK | no errors |
| MEMORY | memory request failed | |
| IO | input/output error | |
| DATA | error in the data | |
| BUG | error with PROC NETFLOW | |
| SEMANTIC | semantic error | |
| SYNTAX | syntax error | |
| UNKNOWN | unknown error | |
| OPT_STATUS | START | no optimization has been done |
| STAGE_1 | performing stage 1 optimization | |
| UNCON_OPT | reached unconstrained optimum, but there are side constraints | |
| STAGE_2 | performing stage 2 optimization | |
| OPTIMAL | reached the optimum | |
| OBJECTIVE | objective | total cost or profit |
| MINFLOW | minflow | if MAXFLOW and MAXIMIZE are specified at the same time |
| MAXFLOW | maxflow | if MAXFLOW is specified |
| SHORTEST_PATH | shortpath | if SHORTPATH is specified |
| LONGEST_PATH | longpath | if SHORTPATH and MAXIMIZE are specified at the same time |
| SOLUTION | NONOPTIMAL | more optimization is required |
| STAGE_2_REQUIRED | reached unconstrained optimum, stage 2 optimization is required | |
| OPTIMAL | have determined the optimum | |
| INFEASIBLE | infeasible; no solution exists | |
| UNRESOLVED_OPTIMALITY _OR_FEASIBILITY | the optimization process stops before optimality or infeasibility can be proven. | |
| MAXITERB_OPTION _STOPPED_OPTIMIZATION | the interior point algorithm stops after performing maximal number of iterations specified by the MAXITERB= option |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.