| The OPTMODEL Procedure | 
The RESTORE statement adds a constraint, constraint array, or constraint array location that was dropped by the DROP statement back into the solver model. Identifier-expression specifies the constraint. An entire constraint array is restored if the identifier-expression omits the index from an array name. For example, the following code declares a constraint array and then drops it:
  
    con c{i in 1..4}: x[i] + y[i] <=1; 
    drop c;
  
 The following statement restores the first constraint: 
 
  
    restore c[1];
  
 Multiple names can be specified in a single RESTORE statement. The 
 following statement restores the second and third constraints: 
 
  
    restore c[2] c[3];
  
 If you want to restore all of them, you can submit the following statement: 
 
  
    restore c;
 
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.