equality constraints are always active

release/4.3a0
thduynguyen 2014-12-12 12:02:06 -05:00
parent 4f28eace7e
commit 6d68f5ffff
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ public:
/// dual key
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) */
Vector error_vector(const VectorValues& c) const {
return unweighted_error(c);