Go to the documentation of this file.
42 ActiveSet(
const std::vector<ActivationStatus> & as,
int nBnd);
49 void resize(
int nCstr,
int nBnd = 0);
57 bool isActive(
int cstrIdx)
const;
61 bool isActiveBnd(
int bndIdx)
const;
73 const std::vector<ActivationStatus> & activationStatus()
const;
78 return activeSet_[activeIdx];
95 void deactivate(
int activeIdx);
110 return nbCstr_ + nbBnd_;
115 return me_ + mi_ + mb_;
152 std::vector<ActivationStatus> status_;
157 std::vector<int> activeSet_;
172 std::ostream &
operator<<(std::ostream & os,
const ActiveSet & a);
int nbActiveBound() const
Definition: ActiveSet.h:133
int nbActiveEquality() const
Definition: ActiveSet.h:117
int nbActiveCstr() const
Definition: ActiveSet.h:113
int nbBnd() const
Definition: ActiveSet.h:103
int nbCstr() const
Definition: ActiveSet.h:98
int nbActiveUpperBound() const
Definition: ActiveSet.h:141
int nbActiveInequality() const
Definition: ActiveSet.h:121
Definition: ActiveSet.h:11
ActivationStatus
Definition: enums.h:14
int nbActiveUpperInequality() const
Definition: ActiveSet.h:129
int nbAll() const
Definition: ActiveSet.h:108
std::ostream & operator<<(std::ostream &os, const ActiveSet &a)
Definition: ActiveSet.cpp:170
#define JRLQP_DLLAPI
Definition: api.h:35
int nbActiveLowerBound() const
Definition: ActiveSet.h:137
int operator[](int activeIdx) const
Definition: ActiveSet.h:76
int nbFixedVariable() const
Definition: ActiveSet.h:145
int nbActiveLowerInequality() const
Definition: ActiveSet.h:125
Definition: ActiveSet.h:23