MINLPData::Constraint Class Reference

Storage for the data of a constraint. More...

#include <MINLPData.h>

Inheritance diagram for MINLPData::Constraint:

Inheritance graph
[legend]
Collaboration diagram for MINLPData::Constraint:

Collaboration graph
[legend]
List of all members.

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< SepQcFuncpolynomial_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< SepQcFuncconcave_overestimator
 The convex underestimator of -func, if needed.
map< int, int > reformulation_constraints_upper

Friends

ostream & operator<< (ostream &out, const Constraint &con)

Detailed Description

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.


Constructor & Destructor Documentation

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.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const Constraint con 
) [friend]


Member Data Documentation

int MINLPData::Constraint::index

Index of constraint in problem.

Definition at line 125 of file MINLPData.h.

Referenced by MINLP::ConstraintView::index().

bool MINLPData::Constraint::equality

Equality constraint or not.

Definition at line 128 of file MINLPData.h.

Referenced by MINLP::ConstraintView::equality().

Pointer<SepQcFunc> MINLPData::Constraint::polynomial_overestimator

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.

Pointer<SepQcFunc> MINLPData::Constraint::concave_overestimator

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.


The documentation for this class was generated from the following file:
Generated on Mon Oct 20 03:12:42 2008 for LaGO by  doxygen 1.4.7