[Bonmin-tickets] Re: [Bonmin] #11: Bub and fix in the Ipopt's ma57 solver interface

Bonmin coin-trac at coin-or.org
Wed May 9 14:20:31 EDT 2007


#11: Bub and fix in the Ipopt's ma57 solver interface
-----------------------+----------------------------------------------------
Reporter:  rodrigo     |        Owner:  pbonami
    Type:  defect      |       Status:  new    
Priority:  blocker     |    Component:  Bonmin 
 Version:  stable/0.1  |   Resolution:         
Keywords:              |  
-----------------------+----------------------------------------------------
Comment (by andreasw):

 Hi Rodrigo,

 You are right, there was something wrong.  But the fix is the following:

 {{{
     if (!warm_start_same_structure_) {
       dim_=0;
       nonzeros_=0;
       delete [] a_;
       a_ = NULL;
       delete [] wd_fact_;
       wd_fact_ = NULL;
       delete [] wd_ifact_;
       wd_ifact_ = NULL;
       delete [] wd_iwork_;
       wd_iwork_ = NULL;
       delete [] wd_keep_;
       wd_keep_ = NULL;
     }
     else {
       ASSERT_EXCEPTION(dim_>0 && nonzeros_>0, INVALID_WARMSTART,
                        "Ma57TSolverInterface called with
 warm_start_same_structure, "
                        "but the problem is solved for the first time.");
     }

 }}}

 This is already corrected in the current {{{trhnk}}} version of Ipopt.
 So, once I finally get around to making a new release, it will be also
 fixed in the official release of Ipopt.

 Thanks for letting us know,

 Andreas

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



More information about the Bonmin-tickets mailing list