Ignore:
Timestamp:
Sep 29, 2006 4:48:36 PM (13 years ago)
Author:
pbonami
Message:

astyled the devel branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Bonmin/src/OaInterface/BonOAMessages.cpp

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