Bonmin 1.8.8
|
A transformer class to build outer approximations i.e. More...
#include <BonTMINLP2OsiLP.hpp>
Public Member Functions | |
TMINLP2OsiLP () | |
Default constructor. More... | |
TMINLP2OsiLP (const TMINLP2OsiLP &other) | |
Copy constructor. More... | |
virtual TMINLP2OsiLP * | clone () const =0 |
virtual copy constructor More... | |
void | set_tols (double tiny, double very_tiny, double rhs_relax, double infty) |
void | set_model (Bonmin::TMINLP2TNLP *model) |
TMINLP2OsiLP & | operator= (const TMINLP2OsiLP &rhs) |
Assignment operator. More... | |
~TMINLP2OsiLP () | |
Destructor. More... | |
virtual void | extract (OsiSolverInterface *si, const double *x, bool getObj)=0 |
Build the Outer approximation of model_ in x and put it in si. More... | |
virtual void | get_refined_oa (OsiCuts &cs) const =0 |
Get OAs of nonlinear constraints in x. More... | |
virtual void | get_oas (OsiCuts &cs, const double *x, bool getObj, bool global) const =0 |
Get OAs of nonlinear constraints in x. More... | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Protected Member Functions | |
bool | cleanNnz (double &value, double colLower, double colUpper, double rowLower, double rowUpper, double colsol, double &lb, double &ub, double tiny, double veryTiny) const |
Facilitator to clean up coefficient. More... | |
void | initialize_jac_storage () |
Protected Attributes | |
double | tiny_ |
If constraint coefficient is below this, we try to remove it. More... | |
double | very_tiny_ |
If constraint coefficient is below this, we neglect it. More... | |
double | rhs_relax_ |
Amount by which to relax OA constraints RHSes. More... | |
double | infty_ |
infinity. More... | |
vector< int > | jCol_ |
Cache Jacobian matrix. More... | |
vector< int > | iRow_ |
Rows of jacobian. More... | |
vector< double > | value_ |
Values of jacobian. More... | |
vector< Ipopt::TNLP::LinearityType > | const_types_ |
Ipopt::SmartPtr< Bonmin::TMINLP2TNLP > | model_ |
Static Protected Attributes | |
static int | nTimesCalled |
Count the number of linear outer approximations taken. More... | |
A transformer class to build outer approximations i.e.
transfomrs nonlinear programs into linear programs.
Definition at line 26 of file BonTMINLP2OsiLP.hpp.
|
inline |
Default constructor.
Definition at line 31 of file BonTMINLP2OsiLP.hpp.
|
inline |
Copy constructor.
Definition at line 37 of file BonTMINLP2OsiLP.hpp.
|
inline |
Destructor.
Definition at line 69 of file BonTMINLP2OsiLP.hpp.
|
pure virtual |
virtual copy constructor
|
inline |
Definition at line 46 of file BonTMINLP2OsiLP.hpp.
|
inline |
Definition at line 53 of file BonTMINLP2OsiLP.hpp.
|
inline |
Assignment operator.
Definition at line 59 of file BonTMINLP2OsiLP.hpp.
|
pure virtual |
Build the Outer approximation of model_ in x and put it in si.
|
pure virtual |
Get OAs of nonlinear constraints in x.
|
pure virtual |
Get OAs of nonlinear constraints in x.
|
inlineprotected |
Facilitator to clean up coefficient.
Definition at line 120 of file BonTMINLP2OsiLP.hpp.
|
protected |
|
protected |
If constraint coefficient is below this, we try to remove it.
Definition at line 92 of file BonTMINLP2OsiLP.hpp.
|
protected |
If constraint coefficient is below this, we neglect it.
Definition at line 94 of file BonTMINLP2OsiLP.hpp.
|
protected |
Amount by which to relax OA constraints RHSes.
Definition at line 96 of file BonTMINLP2OsiLP.hpp.
|
protected |
infinity.
Definition at line 98 of file BonTMINLP2OsiLP.hpp.
|
staticprotected |
Count the number of linear outer approximations taken.
Definition at line 100 of file BonTMINLP2OsiLP.hpp.
|
mutableprotected |
|
mutableprotected |
Rows of jacobian.
Definition at line 106 of file BonTMINLP2OsiLP.hpp.
|
mutableprotected |
Values of jacobian.
Definition at line 108 of file BonTMINLP2OsiLP.hpp.
|
protected |
Definition at line 110 of file BonTMINLP2OsiLP.hpp.
|
protected |
Definition at line 114 of file BonTMINLP2OsiLP.hpp.