Ignore:
Timestamp:
Sep 28, 2006 2:19:58 PM (13 years ago)
Author:
pbonami
Message:

Did some space for other NLP solver
1 - Created new OsiTMINLPInterface as base class for interfaces
2 - Created new TNLPSolver as base class for the interface to a solver capable of solving a TNLP
3 - derived the classes for Ipopt
4 - Start putting some namespace Bonmin around

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Bonmin/src/BonminAmplInterface/AmplTMINLP.cpp

    r26 r53  
    2424  void sos_kludge(int nsos, int *sosbeg, double *sosref);
    2525}
    26 namespace Ipopt
     26namespace Bonmin
    2727{
    2828
     
    6363
    6464    if(suffix_handler==NULL)
    65       suffix_handler_ = suffix_handler = new AmplSuffixHandler();
     65      suffix_handler_ = suffix_handler = new Ipopt::AmplSuffixHandler();
    6666
    6767    // Add the suffix handler for scaling
     
    101101
    102102  AmplTMINLP::~AmplTMINLP()
    103   {}
     103  {delete ampl_tnlp_;}
    104104
    105105  void
Note: See TracChangeset for help on using the changeset viewer.