Bonmin 1.8.9
Loading...
Searching...
No Matches
Bonmin::OuterApprox Class Reference

A class to build outer approximations. More...

#include <BonOuterApprox.hpp>

Public Member Functions

 OuterApprox ()
 Default constructor.
 
 OuterApprox (const OuterApprox &other)
 Copy constructor.
 
OuterApproxoperator= (const OuterApprox &rhs)
 Assignment operator.
 
 ~OuterApprox ()
 Destructor.
 
void initialize (Bonmin::BabSetupBase &b)
 Initialize using options.
 
void extractLinearRelaxation (Bonmin::OsiTMINLPInterface &minlp, OsiSolverInterface *si, const double *x, bool getObj)
 Build the Outer approximation in minlp and put it in si.
 
void operator() (Bonmin::OsiTMINLPInterface &minlp, OsiSolverInterface *si, const double *x, bool getObj)
 Operator() calls extractLinearRelaxation.
 

Detailed Description

A class to build outer approximations.

Definition at line 21 of file BonOuterApprox.hpp.

Constructor & Destructor Documentation

◆ OuterApprox() [1/2]

Bonmin::OuterApprox::OuterApprox ( )
inline

Default constructor.

Definition at line 26 of file BonOuterApprox.hpp.

◆ OuterApprox() [2/2]

Bonmin::OuterApprox::OuterApprox ( const OuterApprox & other)
inline

Copy constructor.

Definition at line 32 of file BonOuterApprox.hpp.

◆ ~OuterApprox()

Bonmin::OuterApprox::~OuterApprox ( )
inline

Destructor.

Definition at line 47 of file BonOuterApprox.hpp.

Member Function Documentation

◆ operator=()

OuterApprox & Bonmin::OuterApprox::operator= ( const OuterApprox & rhs)
inline

Assignment operator.

Definition at line 39 of file BonOuterApprox.hpp.

◆ initialize()

void Bonmin::OuterApprox::initialize ( Bonmin::BabSetupBase & b)

Initialize using options.

◆ extractLinearRelaxation()

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.

◆ operator()()

void Bonmin::OuterApprox::operator() ( Bonmin::OsiTMINLPInterface & minlp,
OsiSolverInterface * si,
const double * x,
bool getObj )
inline

Operator() calls extractLinearRelaxation.

Definition at line 57 of file BonOuterApprox.hpp.


The documentation for this class was generated from the following file: