equality constraints are always active
parent
4f28eace7e
commit
6d68f5ffff
|
@ -120,6 +120,9 @@ public:
|
||||||
/// dual key
|
/// dual key
|
||||||
Key dualKey() const { return dualKey_; }
|
Key dualKey() const { return dualKey_; }
|
||||||
|
|
||||||
|
/// for active set method: equality constraints are always active
|
||||||
|
bool active() const { return true; }
|
||||||
|
|
||||||
/** Special error_vector for constraints (A*x-b) */
|
/** Special error_vector for constraints (A*x-b) */
|
||||||
Vector error_vector(const VectorValues& c) const {
|
Vector error_vector(const VectorValues& c) const {
|
||||||
return unweighted_error(c);
|
return unweighted_error(c);
|
||||||
|
|
Loading…
Reference in New Issue