|
|
| ComplCnt (ConstraintType type, VectorOfVectorPtr f, VectorOfVectorPtr g, const VarVector &fvars, const VarVector &gvars, double epsilon) |
| |
|
| ComplCnt (ConstraintType type, VectorOfVectorPtr f, VectorOfVectorPtr g, MatrixOfVectorPtr fgrad, MatrixOfVectorPtr ggrad, const VarVector &fvars, const VarVector &gvars) |
| |
|
DblVec | value (const DblVec &x) |
| | Evaluate at solution vector x.
|
| |
|
ConvexConstraintsPtr | convex (const DblVec &x, Model *model) |
| | Convexify at solution vector x.
|
| |
|
ConstraintType | type () |
| | inequality vs equality
|
| |
|
vector< double > | violations (const vector< double > &x) |
| | Calculate constraint violations (positive part for inequality constraint, absolute value for inequality constraint)
|
| |
|
double | violation (const vector< double > &x) |
| | Sum of violations.
|
| |
|
string | name () |
| |
|
void | setName (const string &name) |
| |
|
| Constraint (const string &name) |
| |
|
|
ConstraintType | type_ |
| |
|
VectorOfVectorPtr | f_ |
| |
|
VectorOfVectorPtr | g_ |
| |
|
MatrixOfVectorPtr | fgrad_ |
| |
|
MatrixOfVectorPtr | ggrad_ |
| |
|
VarVector | fvars_ |
| |
|
VarVector | gvars_ |
| |
The documentation for this struct was generated from the following file: