The OPTMODEL Procedure

Declaration Statements

The declaration statements define the parameters, variables, constraints, and objectives that describe a PROC OPTMODEL optimization model. Declarations in the PROC OPTMODEL input are saved for later use. Unlike programming statements, declarations cannot be nested in other statements. Declaration statements are terminated by a semicolon.

Many declaration attributes, such as variable bounds, are defined using expressions. Expressions in declarations are handled symbolically and are resolved as needed. In particular, expressions are generally reevaluated when one of the parameter values they use has been changed.


CONSTRAINT Declaration

MAX and MIN Objective Declarations

NUMBER, STRING, and SET Parameter Declarations

VAR Declaration

Previous Page | Next Page | Top of Page