[Ipopt] Some error messages

Krish Krishnan rkrishnan8216 at yahoo.com
Fri Aug 15 04:11:03 EDT 2008


Hi All:

Thanks to you (especially Stefan) I have made great progress. I still have a couple of issues to resolve.  In my maximization problem I have 102 choice variables.  I provide the derivative of the objective and the bounds and the hessian too.  I seem to have a problem only with the jacobian.  I am providing a part of the output.  Please note that the only problem is that the value of my derivative and that computed by the derivatives checker is off by one  -e.g., my jac_g(3,0) is the checkers jac_g(2,1)., my jag_g(2,1) is the checkers jac_g(3,1)  etc.  There seem to be no other problems  I am using C-style indexing.  Any insights would be welcome.  Thank you.

Krish



List of user-set options:

                                    Name   Value                used
                         derivative_test = second-order          yes
                             output_file = krish.txt             yes
                      print_user_options = yes                   yes

******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
 Ipopt is released as open source code under the Common Public License (CPL).
         For more information visit http://projects.coin-or.org/Ipopt
******************************************************************************

NOTE: You are using Ipopt by default with the MUMPS linear solver.
      Other linear solvers might be more efficient (see Ipopt documentation).



Starting derivative checker.

* jac_g [    2,    0] = 0.0000000000000000e+000 v  ~ 1.0000000000000000e+000  [1.000e+000]
* jac_g [    3,    0] = 1.0000000000000000e+000 v  ~ 0.0000000000000000e+000  [1.000e+000]
* jac_g [    2,    1] = -1.2653525307998922e-002 v  ~ 1.0000000000000000e+000  [1.013e+000]
* jac_g [    3,    1] = 1.0000000000000000e+000 v  ~ -1.2653525189448844e-002  [1.013e+000]
* jac_g [    2,    2] = -1.3398148523156232e-002 v  ~ 1.0000000000000000e+000  [1.013e+000]
* jac_g [    3,    2] = 1.0000000000000000e+000 v  ~ -1.3398148302617985e-002  [1.013e+000]
* jac_g [    2,    3] = -1.4125931249430622e-002 v  ~ 1.0000000000000000e+000  [1.014e+000]
* jac_g [    3,    3] = 1.0000000000000000e+000 v  ~ -1.4125930980490864e-002  [1.014e+000]
* jac_g [    2,    4] = -1.2426902681357370e-002 v  ~ 1.0000000000000000e+000  [1.012e+000]
----------------deleted as repetitive--------------------------------------------------------------
* jac_g [    3,  100] = 0.0000000000000000e+000    ~ 1.1953086350574571e-002  [1.195e-002]
* jac_g [    2,  101] = 1.1310855712182842e-002 v  ~ 0.0000000000000000e+000  [1.131e-002]
* jac_g [    3,  101] = 0.0000000000000000e+000    ~ 1.1310855984464352e-002  [1.131e-002]

Derivative checker detected 202 error(s).

Too few degrees of freedom (n_x = 0, n_c = 1).
  Trying fixed_variable_treatment = RELAX_BOUNDS

Number of nonzeros in equality constraint Jacobian...:      102
Number of nonzeros in inequality constraint Jacobian.:     2499
Number of nonzeros in Lagrangian Hessian.............:     5253

Total number of variables............................:      102
                     variables with only lower bounds:        0
                variables with lower and upper bounds:      102
                     variables with only upper bounds:        0
Total number of equality constraints.................:        1
Total number of inequality constraints...............:       25
        inequality constraints with only lower bounds:        0
   inequality constraints with lower and upper bounds:       25
        inequality constraints with only upper bounds:        0


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20080815/5a63456b/attachment.html 


More information about the Ipopt mailing list