public class SOCPGeneralConstraints extends Object implements Iterable<SOCPGeneralConstraint>
| Constructor and Description |
|---|
SOCPGeneralConstraints()
Constructs a set of SOCP general constraints.
|
SOCPGeneralConstraints(List<SOCPGeneralConstraint> constraints)
Constructs a set of SOCP general constraints.
|
SOCPGeneralConstraints(SOCPGeneralConstraint[] constraints)
Constructs a set of SOCP general constraints.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(SOCPGeneralConstraint constraint)
Add an SOCP constraint.
|
Iterator<SOCPGeneralConstraint> |
iterator() |
int |
size()
Gets the number of constraints.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SOCPGeneralConstraints()
public SOCPGeneralConstraints(List<SOCPGeneralConstraint> constraints)
constraints - a list of SOCP general constraintspublic SOCPGeneralConstraints(SOCPGeneralConstraint[] constraints)
constraints - an array of SOCP general constraintspublic void add(SOCPGeneralConstraint constraint)
constraint - an SOCP constraintpublic int size()
public Iterator<SOCPGeneralConstraint> iterator()
iterator in interface Iterable<SOCPGeneralConstraint>Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.