source: trunk/Bonmin/src/OaInterface/OaMessages.cpp @ 1

Last change on this file since 1 was 1, checked in by andreasw, 13 years ago

imported initial code

  • 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 "OaMessages.hpp"
12
13OaMessages::OaMessages():
14    CoinMessages(DUMMY_END)
15{
16  strcpy(source_,"OA");
17  addMessage(FEASIBLE_NLP,CoinOneMessage( 1, 2,"Solved NLP in %d iterations, found a feasible solution of value %f."));
18  addMessage(INFEASIBLE_NLP, CoinOneMessage(2,2,"Solved NLP in %d iterations, problem is infeasible in subspace."));
19  addMessage(UPDATE_UB, CoinOneMessage(3,1,"New best feasible of %g found after %g sec."));
20  addMessage(SOLVED_LOCAL_SEARCH, CoinOneMessage(4,2,"Local search solved to optimality in %d nodes and %d lp iterations."));
21  addMessage(LOCAL_SEARCH_ABORT, CoinOneMessage(5,2,"Local search aborted : %d nodes and %d lp iterations."));
22  addMessage(UPDATE_LB, CoinOneMessage(6,2,"Updating lower bound to %g elapsed time %g sec"));
23  addMessage(ABORT,CoinOneMessage(7,1,"Oa aborted on %s limit, time spent %g"));
24  addMessage(OASUCCESS, CoinOneMessage(8,1,"Oa converged in %g seconds"));
25  addMessage(LP_ERROR,CoinOneMessage(9,2,"Error of LP approximation %g"));
26  addMessage(PERIODIC_MSG, CoinOneMessage(10,1,"After %7.1f seconds, upper bound %10g, lower bound %10g"));
27}
Note: See TracBrowser for help on using the repository browser.