Previous Page | Next Page

The Interior Point NLP Solver

Example 9.2 Solving Unconstrained Optimization Problems

Although the IPNLP techniques are suited for solving constrained NLP problems, they can also be used to solve unconstrained problems efficiently. This example demonstrates this solution by considering the relatively large unconstrained NLP problem

     

where . To solve this problem, you can write the following statements:

proc optmodel;
   number N=5000;
   var x{1..N} init 1.0;
   
   minimize obj = sum {i in 1..N - 1} ( - 4 * x[i] + 3.0)  + 
                sum {i in 1..N - 1} (x[i]^2 + x[N]^2)^2;

   solve with ipnlp / tech=ipkrylov;
quit;

The problem and solution summaries are shown in Output 9.2.1. Since the problem contains several thousands of variables, the iterative trust region interior point technique is used (TECH=IPKRYLOV).

This example can also be solved by the quasi-Newton interior point solver (using TECH=IPQN). Since IPQN uses dense linear algebra, more memory than the default needs to be assigned. Additional memory can be assigned by using the MEMSIZE option.

Output 9.2.1 Problem Summary and Solution Summary
The OPTMODEL Procedure

Problem Summary
Objective Sense Minimization
Objective Function obj
Objective Type Nonlinear
   
Number of Variables 5000
Bounded Above 0
Bounded Below 0
Bounded Below and Above 0
Free 5000
Fixed 0
   
Number of Constraints 0

Solution Summary
Solver IPNLP/IPKRYLOV
Objective Function obj
Solution Status Optimal
Objective Value 0
Iterations 6
   
Optimality Error 1.049559E-12
Infeasibility 0

Previous Page | Next Page | Top of Page