[Ipopt-tickets] [Ipopt] #127: How get the result of optimization in java?

Ipopt coin-trac at coin-or.org
Sun Jul 25 08:36:47 EDT 2010


#127: How get the result of optimization in java?
------------------------------+---------------------------------------------
Reporter:  ady1981            |       Owner:  ipopt-team
    Type:  clarification      |      Status:  new       
Priority:  normal             |   Component:  Ipopt     
 Version:  3.8 (C++ Version)  |    Severity:  normal    
Keywords:                     |  
------------------------------+---------------------------------------------
 Hello,

 I cannot get the result of optimization in java.

 The routine just exit after the solve(x) method.

 If add the code like this:
 ...

 {{{
        hs071.solve(x); // then try to get the result
         for (int i = 0; i < x.length; i++)
         {
             System.out.println("x[" + i + "] = " + x[i]);
         }
 }}}


 System.out.println will be reached 0 time (since the program exit just
 after the solve(x)).

 So, how to get the results?

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/127>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list