Defines simple bounds associated with variables.
More...
#include <qp_as.h>
List of all members.
Public Member Functions |
void | set (const int, const double, const double, const bool) |
| Set parameters of the bound.
|
Public Attributes |
int | var_num |
double | lb |
double | ub |
bool | isActive |
Detailed Description
Defines simple bounds associated with variables.
Definition at line 33 of file qp_as.h.
Member Function Documentation
void bound::set |
( |
const int |
var_num_, |
|
|
const double |
lb_, |
|
|
const double |
ub_, |
|
|
const bool |
active |
|
) |
| |
Set parameters of the bound.
- Parameters:
-
[in] | var_num_ | index of variable in the vector of states |
[in] | lb_ | lower bound |
[in] | ub_ | upper bound |
[in] | active | activity of the bound |
Definition at line 28 of file qp_as.cpp.
Member Data Documentation
If isActive then one of the bounds is in the working set.
Definition at line 52 of file qp_as.h.
Lower bound.
Definition at line 43 of file qp_as.h.
Upper bound.
Definition at line 46 of file qp_as.h.
Variable number (on which to impose the bounds).
Definition at line 40 of file qp_as.h.
The documentation for this class was generated from the following files: