Storage for the data of a constraint. More...
#include <MINLPData.h>
Public Member Functions | |
Constraint (int index_, const Pointer< SepQcFunc > &func_, bool equality_, const string &name_=string()) | |
If this constraint is an equality and was split in two inequalities, then this is the index of the second inequality constraint. | |
Public Attributes | |
int | index |
Index of constraint in problem. | |
bool | equality |
Equality constraint or not. | |
Pointer< SepQcFunc > | polynomial_overestimator |
The quadratic underestimator of -func, if different from func. | |
map< int, double > | polynomial_approx_constants_upper |
Blockwise constants in the polynomial approximation functions. | |
map< int, double > | convexification_characteristica_upper |
Characteristica of concave alpha-overestimator. | |
Pointer< SepQcFunc > | concave_overestimator |
The convex underestimator of -func, if needed. | |
map< int, int > | reformulation_constraints_upper |
Friends | |
ostream & | operator<< (ostream &out, const Constraint &con) |
Storage for the data of a constraint.
Constraints are of the form g(x)<=0 or g(x)==0.
Definition at line 121 of file MINLPData.h.
MINLPData::Constraint::Constraint | ( | int | index_, | |
const Pointer< SepQcFunc > & | func_, | |||
bool | equality_, | |||
const string & | name_ = string() | |||
) | [inline] |
If this constraint is an equality and was split in two inequalities, then this is the index of the second inequality constraint.
Definition at line 150 of file MINLPData.h.
ostream& operator<< | ( | ostream & | out, | |
const Constraint & | con | |||
) | [friend] |
Reimplemented from MINLPData::ObjCon.
Index of constraint in problem.
Definition at line 125 of file MINLPData.h.
Equality constraint or not.
Definition at line 128 of file MINLPData.h.
The quadratic underestimator of -func, if different from func.
Definition at line 132 of file MINLPData.h.
map<int, double> MINLPData::Constraint::polynomial_approx_constants_upper |
Blockwise constants in the polynomial approximation functions.
Definition at line 135 of file MINLPData.h.
map<int, double> MINLPData::Constraint::convexification_characteristica_upper |
Characteristica of concave alpha-overestimator.
Definition at line 139 of file MINLPData.h.
The convex underestimator of -func, if needed.
Definition at line 142 of file MINLPData.h.
map<int, int> MINLPData::Constraint::reformulation_constraints_upper |
Definition at line 144 of file MINLPData.h.