The OPTMODEL Procedure

Functional Summary

The statements and options available with PROC OPTMODEL are summarized by purpose in Table 6.5.

Table 6.5: Functional Summary

Description Statement Option
Declaration Statements: 
declare constraintCONSTRAINT 
declare maximization objectiveMAX 
declare minimization objectiveMIN 
declare number type parameterNUMBER 
declare set type parameterSET 
declare string type parameterSTRING 
declare optimization variablesVAR 
   
Programming Statements: 
assign value to a variable or parameter= 
invoke a library subroutineCALL 
close opened fileCLOSEFILE 
terminate one iteration of a loop statementCONTINUE 
create a new SAS data set and copy data into it from PROC OPTMODEL parameters and variablesCREATE DATA 
group a sequence of statements together as a single statementDO 
execute statements repeatedlyDO (iterative) 
execute statements repeatedly until some condition is satisfiedDO UNTIL 
execute statements repeatedly while some condition is satisfiedDO WHILE 
ignore the specified constraintDROP 
print the specified constraint, variable, or objective declaration expressions after expanding aggregation operators, etc.EXPAND 
select a file for the PUT statementFILE 
treat a variable as fixed in valueFIX 
execute statement repeatedlyFOR 
execute statement conditionallyIF 
terminate the execution of the entire loop bodyLEAVE 
null statement; 
output string and numeric dataPRINT 
write text data to the current output filePUT 
read data from a SAS data set into PROC OPTMODEL parameters and variablesREAD DATA 
set PROC OPTMODEL option values or restore them to their defaultsRESET OPTIONS 
add constraint that was previously dropped back into the modelRESTORE 
save the structure and coefficients for a linear programming model into a SAS data setSAVE MPS 
save the structure and coefficients for a quadratic programming model into a SAS data set SAVE QPS 
invoke an OPTMODEL solverSOLVE 
halt the execution of all statements that contain itSTOP 
reverse the effect of FIX statementUNFIX 
   
PROC OPTMODEL Options: 
accuracy for nonlinear constraintsPROC OPTMODELCDIGITS=
the method used to approximate numeric derivativesPROC OPTMODELFD=
accuracy for the objective functionPROC OPTMODELFDIGITS=
pass initial values for variables to solverPROC OPTMODELINITVAR/NOINITVAR
tolerance for rounding the bounds on integer and binary variablesPROC OPTMODELINTFUZZ=
maximum length for MPS row and column labelsPROC OPTMODELMAXLABLEN=
check missing valuesPROC OPTMODELMISSCHECK/NOMISSCHECK
number of digits to displayPROC OPTMODELPDIGITS=
adjust how two-dimensional array is displayedPROC OPTMODELPMATRIX=
type of presolve performed by OPTMODEL presolverPROC OPTMODELPRESOLVER=
tolerance enabling OPTMODEL presolver to remove slightly infeasible constraintsPROC OPTMODELPRESTOL=
width to display numeric columnsPROC OPTMODELPWIDTH=
the smallest difference that is permitted by the OPTMODEL presolver between the upper and lower bounds of an unfixed variablePROC OPTMODELVARFUZZ=
   


Previous Page | Next Page | Top of Page