| 
    Bonmin
    1.8.8
    
   | 
 
A class to build outer approximations. More...
#include <BonOuterApprox.hpp>
Public Member Functions | |
| OuterApprox () | |
| Default constructor.  More... | |
| OuterApprox (const OuterApprox &other) | |
| Copy constructor.  More... | |
| OuterApprox & | operator= (const OuterApprox &rhs) | 
| Assignment operator.  More... | |
| ~OuterApprox () | |
| Destructor.  More... | |
| void | initialize (Bonmin::BabSetupBase &b) | 
| Initialize using options.  More... | |
| void | extractLinearRelaxation (Bonmin::OsiTMINLPInterface &minlp, OsiSolverInterface *si, const double *x, bool getObj) | 
| Build the Outer approximation in minlp and put it in si.  More... | |
| void | operator() (Bonmin::OsiTMINLPInterface &minlp, OsiSolverInterface *si, const double *x, bool getObj) | 
| Operator() calls extractLinearRelaxation.  More... | |
Private Member Functions | |
| bool | cleanNnz (double &value, double colLower, double colUpper, double rowLower, double rowUpper, double colsol, double &lb, double &ub, double tiny, double veryTiny) | 
| Facilitator to clean up coefficient.  More... | |
Private Attributes | |
| double | tiny_ | 
| If constraint coefficient is below this, we try to remove it.  More... | |
| double | veryTiny_ | 
| If constraint coefficient is below this, we neglect it.  More... | |
Static Private Attributes | |
| static int | nTimesCalled | 
| Count the number of linear outer approximations taken.  More... | |
A class to build outer approximations.
Definition at line 21 of file BonOuterApprox.hpp.
      
  | 
  inline | 
Default constructor.
Definition at line 26 of file BonOuterApprox.hpp.
      
  | 
  inline | 
Copy constructor.
Definition at line 32 of file BonOuterApprox.hpp.
      
  | 
  inline | 
Destructor.
Definition at line 47 of file BonOuterApprox.hpp.
      
  | 
  inline | 
Assignment operator.
Definition at line 39 of file BonOuterApprox.hpp.
| void Bonmin::OuterApprox::initialize | ( | Bonmin::BabSetupBase & | b | ) | 
Initialize using options.
| void Bonmin::OuterApprox::extractLinearRelaxation | ( | Bonmin::OsiTMINLPInterface & | minlp, | 
| OsiSolverInterface * | si, | ||
| const double * | x, | ||
| bool | getObj | ||
| ) | 
Build the Outer approximation in minlp and put it in si.
Referenced by operator()().
      
  | 
  inline | 
Operator() calls extractLinearRelaxation.
Definition at line 57 of file BonOuterApprox.hpp.
References extractLinearRelaxation().
      
  | 
  inlineprivate | 
Facilitator to clean up coefficient.
Definition at line 78 of file BonOuterApprox.hpp.
      
  | 
  private | 
If constraint coefficient is below this, we try to remove it.
Definition at line 68 of file BonOuterApprox.hpp.
Referenced by operator=().
      
  | 
  private | 
If constraint coefficient is below this, we neglect it.
Definition at line 70 of file BonOuterApprox.hpp.
Referenced by operator=().
      
  | 
  staticprivate | 
Count the number of linear outer approximations taken.
Definition at line 72 of file BonOuterApprox.hpp.
 1.8.5