|
EigenOpt 1.0.0
|
Auxiliay structure to store the domain of a variable. More...
#include <EigenOpt/simplex_internal.hpp>
Public Attributes | |
| bool | non_negative = false |
| If true, \(x\geq0\). | |
| bool | non_positive = false |
| If true, \(x\leq0\). | |
| int | idx = -1 |
| Which constraint (if any) implies the given domain. | |
Auxiliay structure to store the domain of a variable.
Stores information about the sign that a decision variable can have:
non_negative set to true are supposed to be parameterized as \(x=u\), \(u\geq 0\).non_positive set to true are supposed to be parameterized as \(x=-v\), \(v\geq0\).non_positive and non_negative set to false are supposed to be parameterized as \(x=u-v\), \(u\geq0\) and \(v\geq0\).non_positive and non_negative set to true are "degenerate".This structure is not meant to be used directly by the user.
Definition at line 27 of file simplex_internal.hpp.
| int EigenOpt::simplex::internal::VariableDomain::idx = -1 |
Which constraint (if any) implies the given domain.
Definition at line 30 of file simplex_internal.hpp.
If true, \(x\geq0\).
Definition at line 28 of file simplex_internal.hpp.
If true, \(x\leq0\).
Definition at line 29 of file simplex_internal.hpp.