The NLP Procedure

NLINCON Statement

NLINCON nlcon [ , nlcon ...] [ / option ] ;
NLC nlcon [ , nlcon ...] [ / option ] ;

where nlcon is given in one of the following formats:

and operator is \leq, \lt, \geq, \gt, or =. The value of option can be SUMOBS or EVERYOBS.

General nonlinear equality and inequality constraints are specified with the NLINCON statement. The syntax of the NLINCON statement is similar to that of the BOUNDS statement with two small additions:

One- or two-sided constraints can be specified in the NLINCON statement. However, equality constraints must be one-sided. The pairs of operators (<,\lt=) and (>,\gt=) are treated in the same way.

These three statements require the values of the three functions  v_1, v_2, v_3 to be between zero and ten, and they are equivalent:

  
    nlincon 0 <= v1-v3, 
            v1-v3 <= 10; 
  
    nlincon 0 <= v1-v3 <= 10; 
  
    nlincon 10 >= v1-v3 >= 0;
 


Also, consider the Rosen-Suzuki problem. It has three nonlinear inequality constraints:
8 - x_1^2 - x_2^2 - x_3^2 - x_4^2 - x_1 + x_2 - x_3 + x_4 &\geq& 0 \    10 - x_1^...   ...x_4 & \geq & 0 \    5 - 2 x_1^2 - x_2^2 - x_3^2 - 2 x_1 + x_2 + x_4 & \geq & 0
These are specified as
  
    nlincon c1-c3 >= 0; 
  
    c1 = 8 - x1 * x1 - x2 * x2 - x3 * x3 - x4 * x4 - 
             x1 + x2 - x3 + x4; 
    c2 = 10 - x1 * x1 - 2 * x2 * x2 - x3 * x3 - 2 * x4 * x4 + 
             x1 + x4; 
    c3 = 5 - 2 * x1 * x1 - x2 * x2 - x3 * x3 - 2 * x1 + x2 + x4;
 

Note: QUANEW and NMSIMP are the only optimization subroutines that support the NLINCON statement.

Previous Page | Next Page | Top of Page