| 
    Bonmin
    1.8.8
    
   | 
 
Generate cuts for the nlp corresponding to continuous relaxation at a node. More...
#include <BonOaNlpOptim.hpp>
  
 Public Member Functions | |
| OaNlpOptim (OsiTMINLPInterface *si=NULL, int maxDepth=10, bool addOnlyViolated=false, bool globalCuts=true) | |
| Default constructor.  More... | |
| OaNlpOptim (BabSetupBase &b) | |
| Constructor with basic setup.  More... | |
| OaNlpOptim (const OaNlpOptim ©) | |
| Copy constructor.  More... | |
| void | passInMessageHandler (const CoinMessageHandler *handler) | 
| virtual CglCutGenerator * | clone () const | 
| Abstract constructor.  More... | |
| virtual | ~OaNlpOptim () | 
| Desctructor.  More... | |
| void | assignInterface (OsiTMINLPInterface *si) | 
| Assign an OsiTMINLPInterface.  More... | |
| virtual void | generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info) | 
| cut generation method  More... | |
| void | setMaxDepth (int value) | 
| void | setAddOnlyViolated (bool yesno) | 
| void | setGlobalCuts (bool yesno) | 
| int | getNSolve () | 
| void | setLogLevel (int value) | 
| set log level  More... | |
Static Public Member Functions | |
| static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) | 
| Register OaNlpOptim options.  More... | |
Private Attributes | |
| OsiTMINLPInterface * | nlp_ | 
| Pointer to the Ipopt interface.  More... | |
| int | maxDepth_ | 
| maximum depth at which generate cuts  More... | |
| int | nSolve_ | 
| Number of NLP resolution done.  More... | |
| CoinMessageHandler * | handler_ | 
| messages handler.  More... | |
| CoinMessages | messages_ | 
| handler  More... | |
| bool | addOnlyViolated_ | 
| Add only violated cuts?  More... | |
| bool | global_ | 
| Add cuts as global?  More... | |
| double | solves_per_level_ | 
| Average number of nodes per level in tree.  More... | |
Generate cuts for the nlp corresponding to continuous relaxation at a node.
Definition at line 19 of file BonOaNlpOptim.hpp.
| Bonmin::OaNlpOptim::OaNlpOptim | ( | OsiTMINLPInterface * | si = NULL,  | 
        
| int | maxDepth = 10,  | 
        ||
| bool | addOnlyViolated = false,  | 
        ||
| bool | globalCuts = true  | 
        ||
| ) | 
Default constructor.
Referenced by clone().
| Bonmin::OaNlpOptim::OaNlpOptim | ( | BabSetupBase & | b | ) | 
Constructor with basic setup.
      
  | 
  inline | 
Copy constructor.
Definition at line 30 of file BonOaNlpOptim.hpp.
References handler_, messages_, and setLogLevel().
      
  | 
  inlinevirtual | 
      
  | 
  inline | 
Definition at line 44 of file BonOaNlpOptim.hpp.
References handler_.
      
  | 
  inlinevirtual | 
| void Bonmin::OaNlpOptim::assignInterface | ( | OsiTMINLPInterface * | si | ) | 
Assign an OsiTMINLPInterface.
      
  | 
  virtual | 
cut generation method
      
  | 
  inline | 
Definition at line 70 of file BonOaNlpOptim.hpp.
References maxDepth_.
      
  | 
  inline | 
Definition at line 74 of file BonOaNlpOptim.hpp.
References addOnlyViolated_.
      
  | 
  inline | 
Definition at line 78 of file BonOaNlpOptim.hpp.
References global_.
      
  | 
  inline | 
Definition at line 82 of file BonOaNlpOptim.hpp.
References nSolve_.
      
  | 
  inline | 
set log level
Definition at line 87 of file BonOaNlpOptim.hpp.
References handler_.
Referenced by OaNlpOptim().
      
  | 
  static | 
Register OaNlpOptim options.
      
  | 
  private | 
Pointer to the Ipopt interface.
Definition at line 97 of file BonOaNlpOptim.hpp.
      
  | 
  private | 
maximum depth at which generate cuts
Definition at line 100 of file BonOaNlpOptim.hpp.
Referenced by setMaxDepth().
      
  | 
  mutableprivate | 
Number of NLP resolution done.
Definition at line 103 of file BonOaNlpOptim.hpp.
Referenced by getNSolve().
      
  | 
  private | 
messages handler.
Definition at line 105 of file BonOaNlpOptim.hpp.
Referenced by OaNlpOptim(), passInMessageHandler(), setLogLevel(), and ~OaNlpOptim().
      
  | 
  private | 
      
  | 
  private | 
Add only violated cuts?
Definition at line 109 of file BonOaNlpOptim.hpp.
Referenced by setAddOnlyViolated().
      
  | 
  private | 
Add cuts as global?
Definition at line 111 of file BonOaNlpOptim.hpp.
Referenced by setGlobalCuts().
      
  | 
  private | 
Average number of nodes per level in tree.
Definition at line 113 of file BonOaNlpOptim.hpp.
 1.8.5