#include <ConstrainedOptPack_QPSchur.hpp>
Inheritance diagram for ConstrainedOptPack::QPSchurPack::Constraints:
Public Types | |
| enum | EPickPolicy |
| More... | |
Public Member Functions | |
| virtual | ~Constraints () |
| | |
| virtual size_type | n () const =0 |
| | |
| virtual size_type | m_breve () const =0 |
| | |
| virtual const MatrixOp & | A_bar () const =0 |
| | |
| virtual void | pick_violated_policy (EPickPolicy pick_policy)=0 |
| Set the policy used to pick a violated constraint. | |
| virtual EPickPolicy | pick_violated_policy () const =0 |
| | |
| virtual void | pick_violated (const DVectorSlice &x, size_type *j_viol, value_type *constr_val, value_type *viol_bnd_val, value_type *norm_2_constr, EBounds *bnd, bool *can_ignore) const =0 |
| Pick a violated constraint. | |
| virtual void | ignore (size_type j)=0 |
| Inform to ignore the jth constraint the next time pick_violated(...) is called. | |
| virtual value_type | get_bnd (size_type j, EBounds bnd) const =0 |
| Return the bound for a constraint. | |
This class is only ment to be used in conjunction with the class QP and QPSchur. Its interface is designed to be minimal with respect to the needs of the QPSchur solver. However, this interface may be useful for any primal-dual QP solver.
These constraints are:
(1.c) cl_bar <= A_bar'*x <= cu_bar
where:
A_bar <: R^(n x m_bar)
cl_bar, cu_bar <: R^m_bar
These constraints are also partitioned as:
s.t.
[ xl ] [ I ] [ xu ]
[ cl_breve ] <= [ A_breve' ]*x <= [ cu_breve ]
where:
I <: R^(n x n)
xl, xu <: R^n, are the variable bounds for variables that have bounds (sparse)
A_breve <: R^(n x m_breve), is the Jacobian for the general constraints
cl_breve, cu_breve <: R^m_breve, are bounds for general constraints
Here m_bar = n + m_breve
Above, some of the bounds in xl, xu, cl_breve, and cu_breve may be -inf or +inf and will therefore never be violated and never be added to the active set. Also, some of the lower and upper bounds may be equal which turns those inequality constraints into equality constraints (or fixed variables).
Definition at line 315 of file ConstrainedOptPack_QPSchur.hpp.
|
|
Definition at line 319 of file ConstrainedOptPack_QPSchur.hpp. |
|
|
Definition at line 322 of file ConstrainedOptPack_QPSchur.hpp. |
|
|
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
|
|
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
|
|
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
|
|
Set the policy used to pick a violated constraint.
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
|
|
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
|
||||||||||||||||||||||||||||||||
|
Pick a violated constraint.
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
|
|
Inform to ignore the jth constraint the next time pick_violated(...) is called.
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
|
||||||||||||
|
Return the bound for a constraint.
Implemented in ConstrainedOptPack::QPSchurPack::ConstraintsRelaxedStd. |
1.3.9.1