The OPTMODEL Procedure |
The assignment statement assigns a variable or parameter value. The type of the target identifier-expression must match the type of the right-hand-side expression.
For example, the following code sets the current value for variable x to 3:
proc optmodel; var x; x = 3;
Note: Parameters that were declared with the equal sign (=) initialization forms must not be reassigned a value with an assignment statement. If this occurs, PROC OPTMODEL reports an error.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.