public class NonNegativeConstraint extends java.lang.Object implements OptimizationData
Modifier and Type | Field and Description |
---|---|
private boolean |
isRestricted
Whether the variables are all positive.
|
Constructor and Description |
---|
NonNegativeConstraint(boolean restricted) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRestrictedToNonNegative()
Indicates whether all the variables must be restricted to non-negative
values.
|
Copyright (c) 2003-2016 Apache Software Foundation