[Bonmin-tickets] [Bonmin] #10: bonmin and ipopt

Bonmin coin-trac at coin-or.org
Mon Mar 12 11:58:20 EDT 2007


#10: bonmin and ipopt
-----------------------+----------------------------------------------------
Reporter:  ytboy0208   |       Owner:  pbonami                 
    Type:  defect      |      Status:  new                     
Priority:  major       |   Component:  Bonmin                  
 Version:  stable/0.1  |    Keywords:  bonmin ipopt restoration
-----------------------+----------------------------------------------------
 Hello everyone

 I tried the following problem in bonmin:

 function Integral1(Reals,Reals,Reals);
 var x ;
 var y ;
 minimize Z:tan(x)+y*Integral1(x,0,1);
 subject to constrain:x+y>=5;
 subject to constraint:2*x+3*y<=27;
 option solver ipopt;
 solve;
 display x;
 display y;
 display Z;

 When the solver option was chosen "ipopt" as above, I got the following
 solution:
 EXIT: Optimal Solution Found.
 Ipopt 3.2.2: Optimal Solution Found
 x = -12
 y = 17
 Z = 7.41788
 When the solver option was chosen "bonmin" and every parameter in bonmin
 remains default, I got the following:
 bonmin:
 ******************************************************************************
 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
 ******************************************************************************

 Ipopt exited with error code -2 Restoration Failed
 Error in opening Names file (probably does not exists)can't open
 /tmp/at2970.sol

 Note: Integral1() is the external function I defined by myself. Actually I
 tried all of the four algorithms in bonmin, none of them works.

 Why the two outputs are so different? Anyone has some idea?

 Thanks

 Roy

-- 
Ticket URL: <https://projects.coin-or.org/Bonmin/ticket/10>
Bonmin <http://projects.coin-or.org/Bonmin>
Basic Open-source Nonlinear Mixed INteger programming



More information about the Bonmin-tickets mailing list