Changeset 1591


Ignore:
Timestamp:
Jan 24, 2010 8:15:14 AM (9 years ago)
Author:
pbonami
Message:

Add an initialize function without prefix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.3/Bonmin/src/Interfaces/BonOsiTMINLPInterface.hpp

    r1536 r1591  
    135135  void initialize(Ipopt::SmartPtr<Bonmin::RegisteredOptions> roptions,
    136136                  Ipopt::SmartPtr<Ipopt::OptionsList> options,
    137                   Ipopt::SmartPtr<Ipopt::Journalist> journalist_,
     137                  Ipopt::SmartPtr<Ipopt::Journalist> journalist,
    138138                  const std::string & prefix,
    139139                  Ipopt::SmartPtr<TMINLP> tminlp);
     140
     141  /** Facilitator to initialize interface. */
     142  void initialize(Ipopt::SmartPtr<Bonmin::RegisteredOptions> roptions,
     143                  Ipopt::SmartPtr<Ipopt::OptionsList> options,
     144                  Ipopt::SmartPtr<Ipopt::Journalist> journalist,
     145                  Ipopt::SmartPtr<TMINLP> tminlp){
     146     initialize(roptions, options, journalist, "bonmin.", tminlp);
     147  }
    140148
    141149  /** Set the model to be solved by interface.*/
Note: See TracChangeset for help on using the changeset viewer.