| Modifier and Type | Field and Description |
|---|---|
| private final boolean | isRestricted
Whether the variables are all positive. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if all the variables must be positive.Indicates whether all the variables must be restricted to non-negative values. |
| isRestricted | back to summary |
|---|---|
| private final boolean isRestricted Whether the variables are all positive. | |
| NonNegativeConstraint | back to summary |
|---|---|
public NonNegativeConstraint(boolean restricted)
| |
| isRestrictedToNonNegative | back to summary |
|---|---|
| public boolean isRestrictedToNonNegative() Indicates whether all the variables must be restricted to non-negative values.
| |