public class NonNegativeConstraint extends Object implements OptimizationData
| 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.
|
public NonNegativeConstraint(boolean restricted)
restricted - If true, all the variables must be positive.public boolean isRestrictedToNonNegative()
true if all the variables must be positive.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.