source: branches/devel/Bonmin/src/OaInterface/BonOAMessages.cpp @ 58

Last change on this file since 58 was 58, checked in by pbonami, 13 years ago

Finish renaming

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 1.3 KB
Line 
1// (C) Copyright Carnegie Mellon University 2005
2// All Rights Reserved.
3// This code is published under the Common Public License.
4//
5// Authors :
6// P. Bonami, Carnegie Mellon University
7//
8// Date :  05/26/2005
9
10
11#include "BonOAMessages.hpp"
12
13namespace Bonmin{
14
15OaMessages::OaMessages():
16    CoinMessages(DUMMY_END)
17{
18  strcpy(source_,"OA");
19  addMessage(FEASIBLE_NLP,CoinOneMessage( 1, 2,"Solved NLP in %d iterations, found a feasible solution of value %f."));
20  addMessage(INFEASIBLE_NLP, CoinOneMessage(2,2,"Solved NLP in %d iterations, problem is infeasible in subspace."));
21  addMessage(UPDATE_UB, CoinOneMessage(3,1,"New best feasible of %g found after %g sec."));
22  addMessage(SOLVED_LOCAL_SEARCH, CoinOneMessage(4,2,"Local search solved to optimality in %d nodes and %d lp iterations."));
23  addMessage(LOCAL_SEARCH_ABORT, CoinOneMessage(5,2,"Local search aborted : %d nodes and %d lp iterations."));
24  addMessage(UPDATE_LB, CoinOneMessage(6,2,"Updating lower bound to %g elapsed time %g sec"));
25  addMessage(ABORT,CoinOneMessage(7,1,"Oa aborted on %s limit, time spent %g"));
26  addMessage(OASUCCESS, CoinOneMessage(8,1,"Oa converged in %g seconds"));
27  addMessage(LP_ERROR,CoinOneMessage(9,2,"Error of LP approximation %g"));
28  addMessage(PERIODIC_MSG, CoinOneMessage(10,1,"After %7.1f seconds, upper bound %10g, lower bound %10g"));
29}
30
31}//end namespace Bonmin
Note: See TracBrowser for help on using the repository browser.