The statements and options available with PROC OPTMODEL are summarized by purpose in Table 5.3.
Table 5.3: Functional Summary
Description |
Statement |
Option |
---|---|---|
Declares a constraint |
||
Declares optimization expressions |
||
Declares a maximization objective |
||
Declares a minimization objective |
||
Declares a number type parameter |
||
Declares a problem |
||
Declares a set type parameter |
||
Declares a string type parameter |
||
Declares optimization variables |
||
Assigns a value to a variable or parameter |
||
Invokes a library subroutine |
||
Closes the opened file |
||
Executes the statement repeatedly with support for concurrent solver invocations |
||
Terminates one iteration of a loop statement |
||
Creates a new SAS data set and copies data into it from PROC OPTMODEL parameters and variables |
||
Groups a sequence of statements together as a single statement |
||
Executes statements repeatedly |
DO (iterative) |
|
Executes statements repeatedly until some condition is satisfied |
||
Executes statements repeatedly as long as some condition is satisfied |
||
Ignores the specified constraint |
||
Prints the specified constraint, variable, or objective declaration expressions after expanding aggregation operators, and so on |
||
Selects a file for the PUT statement |
||
Treats a variable as fixed in value |
||
Executes the statement repeatedly |
||
Executes the statement conditionally |
||
Terminates the execution of the entire loop body |
||
Null statement |
||
Controls parallel execution |
||
Outputs string and numeric data |
||
Provides timing and execution count information for statements and declarations |
||
Writes text data to the current output file |
||
Terminates the PROC OPTMODEL session |
||
Reads data from a SAS data set into PROC OPTMODEL parameters and variables |
||
Sets PROC OPTMODEL option values or restores them to their defaults |
||
Adds a constraint that was previously dropped back into the model |
||
Saves the structure and coefficients for a linear programming model into a SAS data set |
||
Saves the structure and coefficients for a quadratic programming model into a SAS data set |
||
Invokes a PROC OPTMODEL solver |
||
Halts the execution of all statements that contain it |
||
Submits SAS code for execution |
||
Reverses the effect of FIX statement |
||
Selects the current problem |
||
Specifies the accuracy for nonlinear constraints |
||
Specifies the maximum number of error messages displayed |
||
Specifies the method used to approximate numeric derivatives |
||
Specifies the accuracy for the objective function |
||
Forces finite differences to be used for nonlinear equations |
||
Enables the OPTMODEL presolver for the CLP, LP, MILP, and QP solvers |
||
Passes initial values for variables to the solver |
||
Specifies the tolerance for rounding the bounds on integer and binary variables |
||
Specifies the maximum length for MPS row and column labels |
||
Checks missing values |
||
Specifies the maximum number of non-error messages displayed |
||
Specifies the number of digits to display |
||
Adjusts how two-dimensional array is displayed |
||
Specifies the type of presolve performed by the PROC OPTMODEL presolver |
||
Specifies the tolerance, enabling the PROC OPTMODEL presolver to remove slightly infeasible constraints |
||
Enables or disables printing summary |
||
Specifies the width to display numeric columns |
||
Specifies the smallest difference that is permitted by the PROC OPTMODEL presolver between the upper and lower bounds of an unfixed variable |