[Bonmin-tickets] [Bonmin] #30: Bonmin stops AMPL if errors are encountered

Bonmin coin-trac at coin-or.org
Thu Aug 21 00:26:24 EDT 2008


#30: Bonmin stops AMPL if errors are encountered
----------------------+-----------------------------------------------------
Reporter:  giacomo.n  |        Owner:  pbonami 
    Type:  defect     |       Status:  assigned
Priority:  minor      |    Component:  Bonmin  
 Version:  trunk      |   Resolution:          
Keywords:             |  
----------------------+-----------------------------------------------------
Comment (by giacomo.n):

 Hi,
 yes, now it's not making ampl crash anymore, so that's a lot better -
 thanks for the fast reply!

 About your question: most solvers that work on ampl use two built-in
 parameters (solve_result and solve_result_num) to report the status of the
 optimization (solve_result is a symbolic parameter which is '?' by default
 but should be 'solved' when the problem is successfully solved; I've seen
 the use of 'solved?' for MINLPs when the solver is not sure that the
 problem is really solved).
 I think that this is the standard way to do it in ampl: the solver never
 returns an error code, so that ampl can go on, and the status of the
 optimization is set using those parameters.

 Thanks again!

 Best,
 Giacomo

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



More information about the Bonmin-tickets mailing list